blob: 0659b99579e6db0ff691b96c857ef7db7a8aaecf (
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
|
: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;
}
/** 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 {
background: var(--background-2);
padding: 32px 0;
color: var(--foreground);
border: 4px dashed var(--box-border);
}
#form-upload-wrapper: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;
}
.justify-center {
justify-content: center;
}
.align-center {
align-items: center;
}
.pad-4 {
padding: 4px;
}
.gap-8 {
gap: 8px;
}
|