summaryrefslogtreecommitdiff
path: root/static/css/style.css
blob: 7404523783406f3228de0e21d935378a78ad6548 (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
body {
	margin: auto;
	padding: 0 2%;
	max-width: 60em;
	font-family: Arial, sans-serif;
}

a {
	color: #1f15aa;
}

a:visited {
	color: #752d77;
}

#banner a:link,
#banner a:visited,
#banner a:hover,
#menu a:link,
#menu a:visited,
#menu a:hover,
header a,
header a:visited,
header a:hover {
	color: black;
	text-decoration: none;
}

footer.post-info,
footer.copyright {
	font-size: 0.8em;
	color: #595959;
}

footer.copyright {
	text-align: center;
}

#menu ul {
	list-style: none;
	padding-left: 0;
}

#menu li {
	display: inline;
}

#menu li + li::before {
	content: " | ";
}

pre {
	border: 2px solid gray;
	padding: 0.5em;
	background: white;
}

@media(prefers-color-scheme: light) {
	html {
		background: #efeee3;
	}
}

@media(prefers-color-scheme: dark) {
	html {
		background: #232323;
		color: lightgrey;
	}
	a {
		color: #7d74ff;
	}
	a:visited {
		color: #b369b5;
	}
	#banner a:link,
	#banner a:visited,
	#banner a:hover,
	#menu a:link,
	#menu a:visited,
	#menu a:hover,
	header a,
	header a:visited,
	header a:hover {
		color: lightgrey;
	}
	footer.post-info,
	footer.copyright {
		color: #b0b0b0;
	}

	pre {
		background: black;
	}
}