87 lines
1.4 KiB
CSS
87 lines
1.4 KiB
CSS
body {
|
|
color: #111;
|
|
background: #fff;
|
|
line-height: 1.5;
|
|
font-size: 1rem;
|
|
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
|
|
margin: 0;
|
|
}
|
|
|
|
hr {
|
|
display: none;
|
|
}
|
|
|
|
a {
|
|
color: #00f;
|
|
}
|
|
|
|
header {
|
|
background: #77f;
|
|
}
|
|
header > nav {
|
|
padding: .75rem;
|
|
margin: auto;
|
|
max-width: 36rem;
|
|
}
|
|
header > nav > a {
|
|
text-decoration: none;
|
|
color: #fff;
|
|
}
|
|
|
|
main {
|
|
padding: 0 .75rem 0 .75rem;
|
|
margin: auto;
|
|
max-width: 36rem;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
table {
|
|
display: block;
|
|
border-collapse: collapse;
|
|
overflow: auto;
|
|
}
|
|
tbody {
|
|
display: table;
|
|
width: 100%;
|
|
}
|
|
td, th {
|
|
text-align: left;
|
|
padding: .75rem;
|
|
}
|
|
tr:nth-child(even) {
|
|
background: #eee;
|
|
}
|
|
|
|
pre, code {
|
|
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
|
|
background: #eee;
|
|
padding: .75rem;
|
|
max-width: 100%;
|
|
display: block;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
color: #fff;
|
|
background: #000;
|
|
}
|
|
header {
|
|
background: #111;
|
|
}
|
|
a {
|
|
color: #aaf;
|
|
}
|
|
tr:nth-child(even) {
|
|
background: #111;
|
|
}
|
|
pre, code {
|
|
background: #111;
|
|
}
|
|
} |