aboutsummaryrefslogtreecommitdiffstats
path: root/assets/_custom.scss
blob: e84fea3a39a455ef4bba6a19c72384c75dd149e4 (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
@media (prefers-color-scheme: light) {
    @import "_syntax-light.scss";
    #book-logo { background-image: url("/vericert-main.svg"); }
}

@media (prefers-color-scheme: dark) {
    @import "_syntax-dark.scss";
    #book-logo { background-image: url("/vericert-white.svg"); }
}

.container {
    margin: 0 1rem;
}

#book-logo {
    height: 5rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.book-brand {
    padding-bottom: 1rem;
}

.book-brand p {
    line-height: 1.3;
    text-align: center;
}

.markdown h1 {
    font-size: 3em;
}

.book-categories-tag {
    padding-right: 1em;
}

.book-tags-tag {
    padding-right: 1em;
}

.markdown .book-by-line {
    margin-top: 0;
    margin-bottom: 0.2em;
}

.markdown code {
    background: var(--background-color);
    padding: 0;
    border-radius: 0;
    font-size: 0.92em;
}

img {
    margin: 1em auto;
    display: block;
}

figcaption {
    font-size: 0.875em;
}