aboutsummaryrefslogtreecommitdiff
path: root/theme/static/styles.css
blob: 71acb7e8dd53e473a4b959454705d3f416d5a2a7 (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
body {
    font-family: Menlo, Consolas, Monaco, Adwaita Mono, Liberation Mono, Lucida Console, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 50em;
}

body {
    padding: 1rem;
}

footer {
    margin: 1rem 0;
}

nav {
    align-items: center;
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

nav ul li {
    height: 100%;
    margin-bottom: 0.5rem;
    margin-right: 1rem;
    text-align: center;
}

img {
    max-width: 100%;
}

pre {
    border: 1px solid black;
    overflow: scroll;
    padding: 0.5rem;
}

:not(pre) > code {
    color: red;
}

.skip-link {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.skip-link:focus {
    height: auto;
    position: static;
    width: auto;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
        color: #dfdfdf;
    }

    a {
        color: #67c0ff;
    }

    pre {
        border-color: white;
    }
}