summaryrefslogtreecommitdiff
path: root/static/style.css
blob: f63fd6efc4279e67b0c1a6746f312ed05eff2355 (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
118
119
120
121
122
:root {
	--fg: #bac2e7;
	--bg: #1a1b26;
	--sbg: #39405e;
	--link: #7aa2f7;
	--regularfont: system-ui;
	--titlecodefont: 'Courier New', Courier, monospace;
}

body {
	width: 90%;
	max-width: 42em;
	margin: 1.5em auto;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--regularfont);
	font-size: larger;
}

pre {
	padding: 1em 1em;
	line-break: auto;
	text-align: left;
	border: solid 1px var(--sbg);
	line-break: anywhere;
	white-space: pre-wrap !important;
}

code {
	font-family: var(--titlecodefont);
	background: var(--sbg);
	border-radius: 3px;
	font-size: 85%;
}

blockquote {
	background: rgba(219, 75, 77, 0.2);
	padding: 0.3em 0.9em;
	margin: auto;
	border-left: 4px solid #db4b4d;
	color: #fff;
}

a {
	color: var(--link);
}

.highlight {
	font-family: var(--titlecodefont);
}

h1,
h2,
h3,
h4,
h5,
h6,
pre {
	font-family: var(--titlecodefont);
}

h1 {
	text-align: center;
}

h1 {
	color: #bb9af7;
}

h2 {
	color: #2ac3de;
}

h3,
h4,
h5,
h6 {
	color: #DDD;
}

hr {
	color: var(--fg);
}

.columns {
	columns: 1;
}

.columns ul {
	margin-top: 0em;
}

.block {
	break-inside: avoid;
}

ul {
	padding: 0 0 0 1em;
}

li {
	margin: 0 0 0.1em 0;
}

@media print {
	.address {
		overflow: visible;
		white-space: wrap;
		word-break: break-all;
	}
}

@media only screen and (max-width: 768px) {
	body {
		width: 90%;
		font-size: 1.1em;
	}

	.columns {
		columns: 1;
	}
}