2017-01-20 17:59:59 +01:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
2017-02-08 23:30:59 +01:00
|
|
|
background: #f5f0e6;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
|
|
|
body {
|
|
|
|
color: #fff;
|
2017-07-28 23:07:09 +02:00
|
|
|
color: var(--foreground);
|
2017-01-20 17:59:59 +01:00
|
|
|
background: #222;
|
2017-07-28 23:07:09 +02:00
|
|
|
background: var(--background);
|
2017-07-24 22:39:27 +02:00
|
|
|
font-family: "Input Mono", sans-serif;
|
|
|
|
font-size: 12px;
|
2017-01-20 17:59:59 +01:00
|
|
|
line-height: 1.6;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
h1 {
|
2017-07-24 22:39:27 +02:00
|
|
|
text-align: center;
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 1.618em;
|
2017-01-20 17:59:59 +01:00
|
|
|
margin: 0;
|
2017-01-20 20:31:15 +01:00
|
|
|
padding: .25em 0 0 0;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
|
|
|
p {
|
2017-07-28 23:07:09 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
a,
|
|
|
|
a:link,
|
|
|
|
a:visited,
|
|
|
|
a:hover,
|
|
|
|
a:active {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.octicon {
|
|
|
|
fill: currentcolor;
|
|
|
|
vertical-align: middle;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
|
|
|
article {
|
|
|
|
float: left;
|
2017-07-24 22:39:27 +02:00
|
|
|
margin: 1em;
|
|
|
|
border-radius: 1ex;
|
|
|
|
border: 1px solid rgba(0,0,0,.2);
|
2017-07-28 23:07:09 +02:00
|
|
|
height: calc(100% - 3em);
|
2017-07-28 21:27:31 +02:00
|
|
|
width: 34em;
|
2017-07-24 22:39:27 +02:00
|
|
|
background: rgba(255,255,255,.05);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
section {
|
|
|
|
flex: 1;
|
2017-07-28 23:07:09 +02:00
|
|
|
flex-shrink: 0;
|
|
|
|
min-height: 1.6em;
|
|
|
|
padding: .5em 1em;
|
2017-07-28 21:27:31 +02:00
|
|
|
border-bottom: 1px solid rgba(0,0,0,.05);
|
|
|
|
}
|
|
|
|
section.config {
|
|
|
|
border-top: 1px solid rgba(255,255,255,.05);
|
|
|
|
flex: 0;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
section.config > * {
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
2017-07-28 23:07:09 +02:00
|
|
|
section.select-list {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
section.select-list .entry {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
section.select-list a[data-value] {
|
|
|
|
flex: 1;
|
|
|
|
display: block;
|
|
|
|
padding-bottom: .5em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
section.select-list a:hover .name,
|
|
|
|
section.select-list a:active .name {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
section.select-list a[rel="external"] {
|
|
|
|
opacity: 0;
|
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
}
|
|
|
|
section.select-list .entry:hover a[rel="external"] {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
section.select-list .details {
|
|
|
|
opacity: .6;
|
|
|
|
font-style: italic;
|
|
|
|
display: block;
|
|
|
|
font-size: .8em;
|
|
|
|
text-indent: 2em;
|
|
|
|
}
|
|
|
|
section.select-list .style {
|
|
|
|
position: absolute;
|
|
|
|
right: .5em;
|
|
|
|
top: .5em;
|
|
|
|
font-size: .7em;
|
|
|
|
opacity: .6;
|
|
|
|
}
|
2017-01-20 17:59:59 +01:00
|
|
|
footer {
|
2017-07-24 22:39:27 +02:00
|
|
|
flex: 0;
|
|
|
|
padding: 0.5em 1em 1em 1em;
|
|
|
|
text-align: center;
|
2017-01-20 17:59:59 +01:00
|
|
|
font-size: .8em;
|
2017-07-24 22:39:27 +02:00
|
|
|
border-top: 1px solid rgba(255,255,255,.05);
|
2017-07-28 21:27:31 +02:00
|
|
|
opacity: .6;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
2017-07-28 23:07:09 +02:00
|
|
|
footer a:hover,
|
|
|
|
footer a:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2017-01-20 17:59:59 +01:00
|
|
|
#font-info p {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-07-28 23:07:09 +02:00
|
|
|
#font-info a,
|
|
|
|
#font-info a:link,
|
|
|
|
#font-info a:visited {
|
|
|
|
position: relative;
|
|
|
|
background: var(--foreground);
|
|
|
|
color: var(--background);
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 1em;
|
|
|
|
border-radius: 3px;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
2017-07-28 23:07:09 +02:00
|
|
|
#font-info a:active {
|
|
|
|
top: 1px;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
2017-07-24 22:39:27 +02:00
|
|
|
label {
|
|
|
|
margin-right: .5ex;
|
2017-07-28 21:27:31 +02:00
|
|
|
font-style: italic;
|
|
|
|
opacity: .6;
|
2017-07-24 22:39:27 +02:00
|
|
|
}
|
2017-01-20 17:59:59 +01:00
|
|
|
select {
|
|
|
|
all: unset;
|
|
|
|
width: 9em;
|
|
|
|
padding: 0 .5ex;
|
2017-07-28 21:27:31 +02:00
|
|
|
border: 1px solid transparent;
|
2017-01-20 17:59:59 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-02-08 23:16:07 +01:00
|
|
|
select option {
|
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
|
|
|
}
|
2017-07-28 21:27:31 +02:00
|
|
|
input[type="number"] {
|
2017-01-20 17:59:59 +01:00
|
|
|
all: unset;
|
|
|
|
width: 4em;
|
|
|
|
margin-left: .5ex;
|
|
|
|
padding: 0 .5ex;
|
2017-07-28 21:27:31 +02:00
|
|
|
border: 1px solid transparent;
|
2017-01-20 17:59:59 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2017-07-28 21:27:31 +02:00
|
|
|
input[type="number"]:hover,
|
|
|
|
input[type="number"]:focus,
|
|
|
|
select:hover,
|
|
|
|
select:focus {
|
|
|
|
border-color: rgba(100,100,100,.5);
|
|
|
|
}
|
2017-01-20 17:59:59 +01:00
|
|
|
pre,
|
|
|
|
textarea,
|
|
|
|
.CodeMirror {
|
|
|
|
font-family: "Input Mono", monospace;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
form {
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
.nav-button {
|
|
|
|
all: unset;
|
|
|
|
font-family: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
label + .nav-button {
|
|
|
|
margin-left: .5ex;
|
|
|
|
}
|
2017-07-24 22:39:27 +02:00
|
|
|
label[for="select-language"],
|
|
|
|
label[for="select-theme"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-01-20 17:59:59 +01:00
|
|
|
.CodeMirror {
|
|
|
|
border: none;
|
|
|
|
font-size: 100%;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none !important;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
}
|
|
|
|
.CodeMirror.no-smooth {
|
|
|
|
font-smooth: never;
|
2017-02-08 23:30:59 +01:00
|
|
|
-webkit-font-smoothing: none;
|
|
|
|
}
|
|
|
|
.CodeMirror .cm-atom {
|
|
|
|
font-style: italic;
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|
|
|
|
.CodeMirror-gutters {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
2017-02-08 23:30:59 +01:00
|
|
|
article,
|
|
|
|
form,
|
|
|
|
.CodeMirror {
|
|
|
|
height: auto;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
article {
|
|
|
|
float: none;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2017-01-20 17:59:59 +01:00
|
|
|
h1 + p,
|
2017-02-08 23:30:59 +01:00
|
|
|
footer {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-01-20 17:59:59 +01:00
|
|
|
}
|