about summary refs log tree commit diff
path: root/served/styles/common.css
blob: f798e3a0737122943ded839ef52b5e058d287098 (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
* {
	box-sizing: border-box;
}

@font-face {
	font-family: Recursive;
	font-style: oblique 0deg 15deg;
	font-weight: 300 1000;
	font-display: swap;
	src: url(Recursive.woff2);
}

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url(Atkinson-Hyperlegible-Regular-102a.woff2);
	font-weight: normal;
}

:root {
	/* "-dim" to mean: secondary; alternate; deemphasized  */
	--text: #222;
	--text-dim: #456;
	--background: #FFF;
	--background-dim: #F8F0FF;

	--link: #a41;
	--visited: #439;

	--pwidth: 35rem;
	--left-pad: 5rem;
	/* ^ lmao */
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

body {
	padding: 2rem 1rem 2rem var(--left-pad);

	font-family: 'Atkinson Hyperlegible', sans-serif;
	color: var(--text);
	font-size: 1.15rem;

	background-color: var(--background);
}

@media (max-width: 35rem) {
	body {
		padding-left: 2vw;
		padding-right: 4vw;
	}
}

h1,
h2 {
	margin: 1rem 0;
	padding: 0;

	font-family: Recursive, sans-serif;
	font-variation-settings:
		"MONO" 0,
		"CASL" 0,
		"wght" 500,
		"slnt" 0,
		"CRSV" 0;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.5rem;
}

p {
	line-height: 1.3;
	max-width: var(--pwidth);
	margin: 1rem 0;
}

ul {
	padding: 0;
	list-style-position: inside;
	list-style-type: decimal;
}

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

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

a.dead {
	text-decoration: line-through;
}

#nav-access {
	/* shove it above the page and make sure it's always on top*/
	position: absolute;
	top: -20rem;
	left: 0;
	width: 100%;
	z-index: 1000000;

	text-align: center;
	font-size: 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
}