blob: 299b98bb303d639a172ef2ac2055f52262f2867b (
plain)
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
|
body {
font-size: 14pt;
line-spacing: 1.4;
}
img {
max-width: 100%;
}
pre,
code {
overflow: scroll;
}
details {
margin: 1ch;
max-width: 78ch;
margin: auto;
padding: 1ch;
position: relative;
}
details[open] {
border: 1px solid;
border-radius: 1ch;
min-height: 4.2em;
}
summary {
display: block;
padding: 1ch;
margin: -1ch;
font: 12pt monospace;
}
.info {
font: 10pt monospace;
position: absolute;
right: 0;
bottom: 1px;
border-radius: 1ch;
}
.info summary {
font: inherit;
text-align: right;
}
summary:hover {
text-transform: uppercase;
border-radius: 1ch;
}
.links {
float: right;
}
.content {
margin: 2ch;
}
a {
text-decoration: none;
padding: 2px;
}
a:link,
a:visited {
color: inherit;
}
@media screen and (prefers-color-scheme: light) {
body {
background: white;
color: black;
}
details {
background: #ddd;
}
details[open] {
background: #bbb;
}
a:link {
background: cyan;
}
a:hover,
summary:hover {
background: yellow;
}
pre,
code {
background: #eee;
}
}
@media screen and (prefers-color-scheme: dark) {
body {
background: #002222;
color: #dee;
}
details {
background: #220000;
}
details[open] {
background: #333;
}
a:link {
background: #002244;
}
a:hover,
summary:hover {
background: brown;
}
pre,
code {
background: #111;
}
}
|