summaryrefslogtreecommitdiff
path: root/static/style.css
blob: e2c5064b594c8ee1d6698e5f98884602934e846b (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
:root {
    --anchor: #584800;
    --anchor-hover: #8a7000;

    --box-primary-color: #ccb800;
    --box-secondary-color: #8b6600;

    --button-submit-background: linear-gradient(0deg, #ccb800, #ffe600);
    --button-submit-background-hover: linear-gradient(180deg, #ccb800, #ffe600);
    --button-submit-border: #8b6600;
    --button-submit-color: #302300;
}

* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: Arial, Helvetica, sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    width: 50%;
}

header {
    margin: 32px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

a {
    color: var(--anchor);
    font-weight: bold;
}

a:hover {
    color: var(--anchor-hover);
    cursor: pointer;
}

input[type=text],
input[type=password] {
    padding: 4px;
    border: 1px solid var(--box-primary-color);
}

button[type=submit] {
    padding: 4px 32px;
    font-size: 24px;
    background: var(--button-submit-background);
    color: var(--button-submit-color);
    border: 1px solid var(--button-submit-border);
    border-radius: 4px;
    text-shadow: 0 1px 0 var(--button-submit-border);
}

button[type=submit]:hover {
    background: var(--button-submit-background-hover);
    text-shadow: 0 -1px 0 var(--button-submit-border);
    cursor: pointer;
}

.box {
    padding: 8px;
    border: 1px solid var(--box-primary-color);
}

.box:has(.content) {
    padding: 0;
}

.box>.tab {
    display: flex;
    flex-direction: row;
    background: var(--box-primary-color);
    color: var(--box-secondary-color);
    padding: 4px;
    text-transform: uppercase;
    font-size: 10px;
}

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

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

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

.gap-8 {
    gap: 8px;
}

.gap-16 {
    gap: 16px;
}