summaryrefslogtreecommitdiff
path: root/static/index.css
blob: 79920bb8e760a2586f72d139437ce94ef785c255 (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
:root {
    --bgcolor: #e4e4ff;
    --page-width: 50em;
    --quote: #4ac2fe;
}
html, body {
    margin: 16px;
    line-height: 1.5em;
    background-color: var(--bgcolor);
}
header {
    text-align: center;
}
nav {
    text-align: center;
    margin: 32px 0;
}
nav ul {
    list-style-type: none;
    padding-left: 0;
}
nav ul li {
    display: inline-block;
    padding: 4px;
}
footer {
    display: flex;
    justify-content: center;
    font-size: 0.9em;
}
article h2 { margin: 16px 0; }
article {
    background-color: white;
    padding: 16px;
}
main article {
    margin: auto auto;
    max-width: var(--page-width);
    border-radius: 8px;
    margin-bottom: 32px;
}
main  article:last-child {
    margin-bottom: none;
}

main article figure blockquote {
    padding: 8px;
    border-left: 4px solid var(--quote);
}
.transflag {
    width: 90px;
    height: 60px;
    margin: 16px auto;
}
/* small screen overrides */
@media screen and (max-width: 800px) {
    main article figure {
	margin: 16px 8px;
    }
    main article figure blockquote {
	margin: 0;
    }
}