summaryrefslogtreecommitdiff
path: root/static/default.css
blob: b3003abdda45d9f872557f9da7ea6c7fb4502ab0 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/* Placement */
body {
    display: grid;
    margin: auto;
    max-width: 1224px;
    grid-template-columns: 200px minmax(600px, auto);
    grid-template-rows: fit-content 1fr auto;
    grid-gap: 0;
}

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

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

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

footer {
    grid-column: 1 / 3;
    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;
}

table {
    display: grid;
    width: 100%;
    grid-auto-flow: row;
}

thead, tbody, tr {
    display: contents;
}

th {
    font-size: 14pt;
    font-weight: normal;
    text-align: left;
}

th, td {
    padding: 8px;
}

.details {
    max-height: 0;
    padding: 0px 8px 0px 8px;
    overflow-y: hidden;
    transition: all 0.15s cubic-bezier(0, 1, 0, 1);
}

.details-visible {
    padding: 8px;
    max-height: 600px;
    transition: all 0.15s ease-in-out;
}

tr:nth-child(2n + 1) td {
    background-color: #fff;
}