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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
body {
font-family: sans-serif;
padding: 0;
margin: 0;
font-size: 16px;
}
pre, code {
margin: 0;
font-size: 100%;
}
pre {
padding: 1ch;
overflow-x: auto;
}
a {
color: #069;
}
#nav a, #menu a {
text-decoration: none;
}
#nav a:hover {
background-color: #ddd;
}
blockquote::before {
float: left;
width: 1ch;
margin-right: 1ch;
content: ">";
}
#menu {
clear: both;
color: #069;
overflow: hidden;
background-color: #17a;
padding: 0.7ex;
border-top: 1px solid #ccc;
border-bottom: 1px solid #069;
}
#menu a {
padding: 0.5ex 1ex;
color: #fff;
}
#menu a:hover {
background-color: #069;
}
h1, h2, h3, h4 {
margin: 1em 1ex 0.5ex 0;
}
h2 ~ *:not(h2) {
margin-left: 1ch;
}
#content {
clear: both;
margin: 0;
padding: 0;
}
#nav {
float: left;
margin: 0 1px 0 0;
padding: 1em 0;
border-right: 1px dotted #ccc;
width: 200px;
}
#nav ul {
margin: 0;
padding: 0;
}
#nav li {
list-style: none;
padding: 0;
margin: 0;
}
#nav li ul {
padding-left: 0.6em !important;
}
#nav li a {
display: block;
margin: 0;
padding: 0.8ex 2em 0.8ex 1em;
}
#main {
margin: 0 0 0 200px;
max-width: 50em;
padding: 1.5em;
}
.left {
float: left;
margin: 0;
padding: 0;
}
.right {
float: right;
margin: 0;
padding: 0;
}
img {
max-width: 100%;
}
@media (max-width: 999px) {
#nav {
float: none;
margin: 0;
width: 100%;
border: none;
}
#main {
margin: 0;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #000;
color: #fff;
}
#menu {
border-top: 1px solid #222;
}
#nav a:hover {
background-color: #222;
}
blockquote, pre, code {
background-color: #111;
border-color: #aaa;
}
a {
color: #6cf;
}
#main img[src$=svg] {
filter: invert(1);
}
}
|