blob: a99073393793b381bfb8c26fd1dd41f6ae7cd0ce (
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
|
.dark {
.invert-if-dark {
filter: invert(1)
}
}
@media (prefers-color-scheme: dark) {
.invert-if-dark {
filter: invert(1)
}
}
figure {
&.small {
width: 300px;
}
&.card {
width: fit-content;
img {
height: 18rem;
}
}
&.center {
margin: 0 auto;
figcaption {
text-align: center
}
}
}
.outbox {
display: flex;
justify-content: center;
// Default width
width: var(--page-width);
// Properly interpolate calc() in media queries
@media screen and (min-width: 768px) {
width: calc(var(--page-width) + 5rem * 2);
margin: 0 -5rem;
}
@media screen and (min-width: 1200px) {
width: calc(var(--page-width) + 10rem * 2);
margin: 0 -10rem;
}
}
.font-mono {
font-family: var(--mono-font-family);
}
|