stylus/install-usercss/install-usercss.css

122 lines
1.4 KiB
CSS
Raw Permalink Normal View History

2017-09-01 10:23:50 +00:00
body {
margin: 0;
font: 12px arial, sans-serif;
2017-09-24 03:39:04 +00:00
background: white;
2017-09-01 10:23:50 +00:00
}
* {
box-sizing: border-box;
}
2017-11-11 05:13:34 +00:00
a {
color: #000;
transition: color .5s;
text-decoration-skip: ink;
}
a:hover {
color: #666;
}
2017-11-09 00:01:45 +00:00
img.icon,
svg.icon {
2017-10-06 07:25:37 +00:00
height: 1.4em;
vertical-align: middle;
}
2017-09-01 10:23:50 +00:00
.container {
display: flex;
2017-09-24 08:54:21 +00:00
height: 100vh;
2017-09-01 10:23:50 +00:00
align-items: stretch;
}
.header {
2017-09-24 08:54:21 +00:00
flex: 0 0 280px;
2017-09-01 10:23:50 +00:00
padding: 15px;
border-right: 1px dashed #aaa;
box-shadow: 0 0 50px -18px black;
2017-09-15 05:40:04 +00:00
overflow-wrap: break-word;
2017-09-24 08:54:21 +00:00
overflow: auto;
2017-09-01 10:23:50 +00:00
}
2017-09-24 03:39:04 +00:00
.header > :first-child {
2017-09-01 10:23:50 +00:00
margin-top: 0;
}
2017-09-05 02:32:30 +00:00
h1 small {
font-size: 0.6em;
2017-09-01 10:23:50 +00:00
}
2017-09-13 08:54:09 +00:00
.meta-version::before {
content: " v";
}
2017-09-01 10:23:50 +00:00
.warning {
padding: 3px 6px;
border: 1px dashed black;
border-color: #ef6969;
background: #ffe2e2;
}
.header .warning {
margin: 3px 0;
}
.actions {
margin: 15px 0;
}
2017-09-19 00:23:47 +00:00
.actions label {
2017-09-24 08:54:21 +00:00
max-width: fit-content;
max-width: -moz-fit-content;
2017-09-10 14:05:44 +00:00
display: flex;
align-items: center;
2017-09-18 21:10:45 +00:00
margin: 0.5em 0;
2017-09-10 14:05:44 +00:00
}
2017-09-19 00:23:47 +00:00
.actions label input {
2017-09-10 14:05:44 +00:00
margin: 0 0.5em 0 0;
2017-09-24 08:54:21 +00:00
flex: 0 0 auto;
}
.actions label span {
min-width: 0;
2017-09-01 10:23:50 +00:00
}
2017-09-05 02:32:30 +00:00
.external {
text-align: center;
}
.external > * {
margin: 0 7.5px;
}
2017-09-01 10:23:50 +00:00
.code {
padding: 2em;
}
2017-09-10 14:05:44 +00:00
.main {
2017-09-24 08:54:21 +00:00
flex: 1 1 auto;
2017-09-15 05:40:04 +00:00
overflow: hidden;
2017-09-15 00:11:18 +00:00
overflow-wrap: break-word;
2017-09-24 08:54:21 +00:00
min-width: 0;
2017-09-25 12:01:50 +00:00
display: flex;
flex-direction: column;
}
.main > :first-child {
flex: 0 0 auto;
}
.main > :last-child {
flex: 1 1 auto;
min-height: 0;
2017-09-24 08:54:21 +00:00
}
.main .code,
.main .CodeMirror {
height: 100%;
2017-09-10 14:05:44 +00:00
}