summaryrefslogtreecommitdiff
path: root/static/styles.css
blob: 5fa959e58fc4811659cac850acad76e9d1632c31 (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
html {
    --lesslight: #efefef;
    --dark: #404040;
    --moredark: #000;
    line-height: 1.4em;
    font-family: sans-serif;
    font-size: 16px;
    color: var(--dark);
}

pre {
    background-color: var(--lesslight);
    margin: 0.5em 0 0.5em 0;
    padding: 0.5em;
    overflow: auto;
}

code {
    background-color: var(--lesslight);
}

body {
    margin: 0;
    max-width: 800px;
    padding: 0 20px 20px 20px;
    margin-left: auto;
    margin-right: auto;
}

a {
    outline: none;
    color: var(--moredark);
}

img {
    max-width: 100%;
    height: auto;
    max-height: 40rem;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* Desktop sizes */
@media (min-width: 600px) {
    ol.twocol {
        column-count: 2;
    }
    
    .row {
        display: flex;
        flex-direction: row;
        padding: 0;
        width: 100%;
    }

    /* Make everything in a row a column */
    .row > * {
        display: block;
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .row > *:not(:last-child) {
        margin-right: 10px;
    }
}