summaryrefslogtreecommitdiff
path: root/public/static/style.css
blob: be8d5e367797c3ca2bc651e5e583cf24a84f9ce2 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
:root {
    --background: #ffe1d4;
    --background-2: #f7f0f0;
    --foreground: #800;
    --box-tab-background: #efc2c2;
    --box-border: #800;
    --box-content-background: #fff;
}

* {
    padding: 0;
    margin: 0;
}

body {
    background: linear-gradient(0deg, var(--background-2), var(--background));
    color: var(--foreground);

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

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

main {
    width: 50%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

footer {
    border-top: 1px solid var(--box-border);
    padding-top: 4px;
}

/** FORM */
button[type=submit] {
    background: linear-gradient(0deg, var(--box-tab-background), var(--background));
    padding: 8px;
    font-size: 18px;
    border: 1px solid var(--box-border);
}

button[type=submit]:hover {
    background: linear-gradient(180deg, var(--box-tab-background), var(--background));
    cursor: pointer;
}

#form-upload-wrapper>button {
    background: var(--background-2);
    padding: 32px 0;
    color: var(--foreground);
    border: 4px dashed var(--box-border);
}

#form-upload-wrapper>button:hover {
    background: var(--background);
    cursor: pointer;
}

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

.box:has(.content)>.tab {
    background: var(--box-tab-background);
    border-bottom: 2px solid var(--box-border);
    padding: 8px;
    font-weight: bold;
}

.box:has(.tab)>.content {
    background: var(--box-content-background);
    padding: 8px;
}

/** SHORTCUTS */
.column {
    display: flex;
    flex-direction: column;
}

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

.grow {
    flex-grow: 1;
}

.grid {
    display: grid;
}

.grid-3 {
    grid-template-columns: auto auto auto;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.pad-4 {
    padding: 4px;
}

.gap-16 {
    gap: 16px;
}

.gap-8 {
    gap: 8px;
}

.gap-4 {
    gap: 4px;
}

.font-small {
    font-size: 10px;
}