blob: 335d4ad69dd20c54a7e0390c2dd69b20d0ef25fa (
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
|
: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;
}
/** 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;
}
.gap-8 {
gap: 8px;
}
|