blob: e81f21794955facdaddf65956f3473543cc09527 (
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
|
*, *::before, *::after {
box-sizing: border-box;
}
body {
width: max-content;
max-width: 100%;
margin: 0;
padding: .25rem 1rem;
}
header {
display: flex;
align-items: baseline;
gap: 0 1rem;
flex-wrap: wrap;
align-content: flex-start;
margin: 1rem 0;
* {
margin: 0;
padding: 0;
}
}
p {
max-width: 40em;
overflow-wrap: break-word;
hyphens: auto;
-webkit-hyphens: auto; /* for Safari */
}
code {
// Make sure we never wrap text in code blocks
hyphens: none;
overflow-wrap: normal;
word-break: keep-all;
}
pre {
padding: 1rem;
font-size: 1rem;
overflow: auto;
// The line numbers already provide some kind of left/right padding
[data-lineos] {
padding: 1rem 0;
}
table {
width: 100%;
border-collapse: collapse;
td {
padding: 0;
// The line number cells
:nth-of-type(1) {
text-align: center;
user-select: none;
}
}
}
mark {
// If you want your highlights to take the full width.
display: block;
// The default background colour of a mark is bright yellow
background-color: rgba(254, 252, 232, 0.9);
}
}
ul > li {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
align-items: baseline;
gap: 0 1rem;
}
nav {
p, ul, li {
margin: 0;
padding: 0;
}
display: flex;
flex-direction: column;
align-content: flex-start;
gap: .25rem;
}
|