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

h1 a:link,
h1 a:visited,
h1 a:hover,
h2 a:link,
h2 a:visited,
h2 a:hover,
h3 a:link,
h3 a:visited,
h3 a:hover {
	color: inherit;
	text-decoration: none;
}

h2.entry-title {
	margin-bottom: 0;
}

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

footer.copyright {
	text-align: center;
	margin-bottom: 1em;
}

#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-color: snow;
}

@media(prefers-color-scheme: dark) {
	html {
		background-color: black;
		color: lightgrey;
	}
	
	a {
		color: cornflowerblue;
	}
	
	a:visited {
		color: orchid;
	}
	
	footer.post-info,
	footer.copyright,
	#content .translations {
		color: #b0b0b0;
	}

	pre {
		background-color: darkgrey;
		color: black;	
	}
}