-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
85 lines (70 loc) · 1.05 KB
/
style.css
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
:focus {
box-shadow: 0 0 1ch 1ch var(--yffi, currentColor);
outline: thick dotted var(--iffy, currentColor);
}
:any-link:hover {
text-decoration-style: double;
}
* {
box-sizing: border-box;
}
html {
font-family: sans-serif;
font-size: max(3ch, 2vw + 1vh);
line-height: 1.618;
}
pre {
font-family: monospace;
font-size: 0.666rem;
margin: 0;
white-space: pre-line;
}
body {
display: flex;
flex-flow: column;
margin: auto;
overflow-wrap: anywhere;
}
body > * {
contain: layout;
padding: 1em;
padding-block: calc(1em + 1vh);
padding-inline: calc(1em + 1vw);
}
a:only-child,
nav a {
padding: .5ch;
}
q {
font-family: monospace;
quotes: '"' '"';
}
p {
max-width: 26em;
margin-block: 3ch;
margin-inline: auto;
}
dt {
font-size: 1.146rem;
margin-block: 3ch 0;
}
dd {
margin-block: 0;
}
@media (orientation: portrait) {
dd {
margin-block: 1ch;
}
}
h1 {
font-size: 1.618em;
font-weight: unset;
margin-bottom: 1ch;
}
h2 {
font-size: 1.382em;
}
cite {
font-style: unset;
font-weight: bold;
}