themes/xmin/static/css/style.css (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | body {
font-family: sans-serif;
line-height: 1.5em;
margin: auto;
max-width: 800px;
padding: 1em;
}
/* header and footer areas */
nav > ul { padding: 0; }
nav > ul > li { display: inline-block; }
article > header, nav > ul a {
background: #eee;
border-radius: 5px;
padding: 5px;
text-decoration: none;
}
.terms { font-size: .9em; }
nav > ul, article > header, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
border-style: dashed;
color: #ddd;
}
body > nav {
border-bottom: 1px solid #ddd;
}
body > footer {
border-top: 1px solid #ddd;
}
/* code */
pre {
border: 1px solid #ddd;
overflow-x: auto;
padding: 1em;
}
code { background: #f9f9f9; }
pre code { background: none; }
/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
background: #f9f9f9;
border-left: 5px solid #ccc;
padding: 3px 1em 3px;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }
.hl { background-color: #ffc; }
@media (prefers-color-scheme: dark) {
body {
background-color: #111;
color: white;
}
article > header, nav > ul a {
background: #222;
}
a {
color: #C4D4EE;
}
a:visited {
color: #CEDEE0;
}
code { background-color: #444; }
thead, tfoot, tr:nth-child(even) { background: #222; }
.hl {
background-color: #555;
}
}
|