summaryrefslogtreecommitdiff
path: root/static/default.css
blob: a35597c27aedb809fbbe5506629d43b6db8d6e40 (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
74
75
76
77
/* Placement */
body {
    display: grid;
    margin: 0 auto;
    grid-template-columns: auto 200px minmax(800px, 1024px) auto;
    grid-template-rows: fit-content 1fr auto;
    grid-gap: 0;
}

header {
    grid-column: 3;
    grid-row: 1;
}

nav {
    grid-column: 2;
    grid-row: 2 / 4;
}

main {
    grid-column: 3;
    grid-row: 2;
}

footer {
    grid-column: 2 / 4;
    grid-row: 3;
}

/* Style */
body {
    background-color: #c0dee2;
    font-family: helvetica, sans-serif;
}

header > h1 {
    font-size: 18pt;
    text-align: center;
    padding: 0;
    margin: 4px;
}

nav h2 {
    font-size: 14pt;
    font-weight: normal;
    margin: 0 8px 0 0;
    padding: 8px 16px;
    background-color: #eee;
}

nav ul {
    list-style-type: none;
    margin: 0 0 8px 0;
    padding: 0;
}

nav li a {
    display: block;
    color: #000;
    background-color: #fff;
    padding: 8px 16px;
    margin: 0 8px 0 0;
    text-decoration: none;
    font-size: 12pt;
}

nav li a:hover {
    background-color: #ccc;
}

main {
    background-color: #eee;
}

footer {
    text-align: center;
}