summaryrefslogtreecommitdiffhomepage
path: root/src/man/style.css
blob: f1367e2ef31beefec884715d2329e08d25ebe3af (plain) (blame)
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
:root {
	--serif: serif;
	--mono: 'Iosevka Smooth';
	--bg: #1D1F21;
	--fg: #C5C8C6;
	--accent: #DE935F;
}

@font-face {
	font-family: 'Iosevka Smooth';
	src: url('/fonts/iosevka-regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Iosevka Smooth';
	src: url('/fonts/iosevka-italic.woff2') format('woff2');
	font-weight: normal;
	font-style: italic;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	margin: 0 auto;
	max-width: min(800px, 90%);
}

body {
	font-family: var(--serif);
	font-variant-numeric: lining-nums;
	text-align: justify;
	color: var(--fg);
	background-color: var(--bg);
	tab-size: 4;
}

header > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header > div menu {
	display: flex;
	gap: 2ch;
}

header > div li {
	list-style: none;
}

hr {
	margin-block: 4ch;
}

h1 {
	font-size: 1.8rem;
	margin-bottom: 0;
}

h2 {
	font-size: 1.2em;
}

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

a:hover {
	text-decoration: none;
}

pre, code, kbd, samp {
	font-family: var(--mono);
	font-size: 0.9em;
}

code {
	white-space: nowrap;
}

.head, .foot {
	display: flex;
	justify-content: space-between;
}

.tbl {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	border-width: 1px;
}

.tbl :is(tr, td) {
	border-width: 1px;
}

.tbl + .tbl {
	margin-block: 1em;
}

.tbl td {
	padding-inline: 8px;
}

@media (min-width: 800px) {
	body {
		font-size: 1.3rem;
		line-height: 1.5;
	}
}