blob: e7b4aee18259f83ed2b5b4897299f25c2112b76a (
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
|
// no floating toc when screen too narrow
@media only screen and (max-width: 450px) {
aside {
float: none;
width: unset;
border-left: none;
border-bottom: 1px dashed;
margin-left: 0px;
}
}
@media only screen and (prefers-color-scheme: dark) {
:root, html {
background-color: black;
color: white;
}
.invert {
background-color: #222;
color: inherit;
}
nav .item.active {
color: inherit !important;
background-color: black !important;
text-decoration: underline;
font-weight: bold;
}
a { color: #9aa9f9; }
a:visited { color: #bb87f2; }
}
@media print {
nav { display: none; }
.invert {
background-color: unset;
color: unset;
}
.limitwidth { max-width: 35em; }
}
|