summaryrefslogtreecommitdiff
path: root/static/index.css
blob: b1f4a515c799739ea5c8904a3977ff7a4174f137 (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
:root {
    --twhite: #fff;
    --tblue: #4ac2fe;
    --tpink: #ef95ae;
    --flagheight: 60px;
    --flagwidth: 90px;
    --bgcolor: #e4e4ff;
    --page-width: 50em;
}
html, body {
    margin: 16px;
    line-height: 1.5em;
    background-color: var(--bgcolor);
}
p { margin: 0; }
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;
}
.transflag {
    width: var(--flagwidth);
    height: var(--flagheight);
    margin: 16px auto;
}
.transflag .blue {
    width: 100%;
    min-height: calc(var(--flagheight) / 5);
    background-color: var(--tblue);
}
.transflag .pink {
    width: 100%;
    min-height: calc(var(--flagheight) / 5);
    background-color: var(--tpink);
}
.transflag .white {
    width: 100%;
    min-height: calc(var(--flagheight) / 5);
    background-color: var(--twhite);
}