blob: 82ce4cc65099ecb1eaf1c7ac439cdc73772dbec6 (
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
116
117
118
119
120
121
122
123
124
125
126
127
|
#page {
margin: auto;
max-width: 72rem;
padding: 1rem;
padding-top: calc($headerHeight + 1rem);
p:not(.heading, #pageHeading, #footer p) {
line-height: 2em;
}
a, a:visited {
color: var(--textColour);
}
em {
font-style: normal;
font-weight: bold;
}
span {
&.code {
background-color: var(--foregroundColour);
border-radius: 0.25rem;
font-family: "Fira Mono", "monospace";
padding: 0.25rem;
a {
font-weight: normal;
}
}
&.small {
font-size: 0.75em;
}
}
p.heading, #pageHeading {
font-family: "Martian Mono", "monospace";
}
#pageHeading {
background-color: var(--foregroundColour);
border-radius: 1rem;
display: block;
font-size: 4em;
font-weight: bold;
margin: auto;
margin-bottom: 1rem;
padding: 1rem;
text-align: center;
span.small {
font-size: 0.5em;
}
}
section {
& + section {
margin-top: 1rem;
}
&:nth-of-type(even) p.heading {
text-align: right;
}
}
p.heading {
font-size: 2em;
font-weight: bold;
width: 100%;
&::after {
background-color: var(--textColour);
border-radius: 0.25rem;
content: "";
display: block;
height: 0.25rem;
margin-bottom: 1rem;
margin-top: 0.25rem;
width: 100%;
}
}
x-image {
background-position: center;
background-repeat: no-repeat;
display: block;
position: relative;
width: 100%;
&:nth-of-type(odd) {
margin-right: auto;
}
&:nth-of-type(even) {
margin-left: auto;
}
img.blur {
filter: blur(1rem);
position: absolute;
z-index: 1;
width: 100%;
}
a {
position: relative;
z-index: 1;
img {
border-radius: 1rem;
display: block;
image-rendering: pixelated;
&.fullheight {
height: 12rem;
}
&.fullwidth {
width: 100%;
}
}
}
}
@import "footer";
}
|