summaryrefslogtreecommitdiff
path: root/static/main.css
blob: f3778e549f790ef6d91dbc7afb64dffa3edfa285 (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
body {
	background:#ddd;
	color:#222;
	max-width:80ch;
	margin:auto;
	padding:1em 0;
	font-family:sans-serif;
}
h1,h2,h3 {text-align:center}
h1 {font-size:200%;}
h2 {font-size:160%;}
h3 {font-size:120%;}
a {text-decoration:none;color:#00f;}
.noha a:link, .noha a:visited {color:#222;}
.nav {height:3rem;font-size:250%;}
.navl {float:left;text-align:left;}
.navr {float:right;text-align:right;}
.footl {float:left;text-align:left;}
.footr {float:right;text-align:right;}
pre {filter:invert(100%);}
@media (prefers-color-scheme: dark) {
	body {background:#222;filter:invert(100%);}
}
.accordion {
	display:block;
	padding:0ch 1ch;
	border-style:dotted;
}
input {display:none;}
label {color:#00f;cursor:pointer;}
input + label + .hidden {display:none;}
input:checked + label {display:none;}
input:checked + label + .hidden {display:block;}