summaryrefslogtreecommitdiff
path: root/web/static/style.css
blob: c1af9b7f26d4068fd82a91f762cfcd17d265e3e5 (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
:root {
    --header-background: #dddddd;
    --header-border: #c4c4c4;

    --box-tab-background: #e0ecd7;
    --box-tab-color: #373829;
    --box-border: #a4b393;
}

* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background: var(--header-background);
    border-bottom: var(--header-border) solid 2px;
    color: var(--header-border);
    font-family: monospace;

    display: flex;
    flex-direction: row;
    gap: 8px;
}

header,
main {
    padding: 4px;
}

.box {
    border: 2px solid var(--box-border);
}

.box>.tab {
    background: var(--box-tab-background);
    color: var(--box-tab-color);
    padding: 2px;
    border-bottom: 2px solid var(--box-border);
    display: flex;
    align-items: center;
}

.box>.content {
    padding: 4px;
}

.box>.content.scoreboard {
    padding: 0 4px;
}

.scoreboard-showcase {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 4px;
    flex-grow: 1;
}

.scoreboard {
    max-height: 256px;
    overflow-y: scroll;
}

.scoreboard-item {
    display: flex;
    flex-direction: row;
}

.scoreboard-name {
    flex-grow: 1;
}

.scoreboard-place {
    width: 38px;
}

.row {
    display: flex;
    flex-direction: row;
}

.column {
    display: flex;
    flex-direction: column;
}

.grow {
    flex-grow: 1;
}

.gap-8 {
    gap: 8px;
}