|
| 1 | +html, body { |
| 2 | + width: 100%; |
| 3 | + height: 100%; |
| 4 | + margin: 0; |
| 5 | +} |
1 | 6 |
|
2 | | - html, body { |
3 | | - width: 100%; |
4 | | - height: 100%; |
5 | | - margin: 0; |
6 | | - } |
| 7 | +main { |
| 8 | + height: 98dvh; |
| 9 | + width: 98dvw; |
| 10 | + background-color: whitesmoke; |
| 11 | + position: absolute; |
| 12 | + top: 50%; |
| 13 | + left: 50%; |
| 14 | + transform: translate(-50%, -50%); |
| 15 | + border-radius: 3dvw; |
| 16 | + overflow: hidden; |
| 17 | + display: flex; |
| 18 | + flex-direction: row; |
| 19 | +} |
7 | 20 |
|
8 | | - main { |
9 | | - height: 98dvh; |
10 | | - width: 98dvw; |
11 | | - background-color: whitesmoke; |
12 | | - position: absolute; |
13 | | - top: 50%; |
14 | | - left: 50%; |
15 | | - transform: translate(-50%, -50%); |
16 | | - border-radius: 3dvw; |
17 | | - overflow: hidden; |
18 | | - display: flex; |
19 | | - flex-direction: row; |
20 | | - } |
| 21 | +.header-bar { |
| 22 | + background-color: gray; |
| 23 | + height: 5dvh; |
| 24 | + width: 100%; |
| 25 | + border-top-left-radius: 3dvw; |
| 26 | + border-top-right-radius: 3dvw; |
| 27 | + display: flex; |
| 28 | + align-items: center; |
| 29 | + justify-content: space-between; |
| 30 | + position: absolute; |
| 31 | + top: 0; |
| 32 | + left: 0; |
| 33 | +} |
21 | 34 |
|
22 | | - .header-bar { |
23 | | - background-color: gray; |
24 | | - height: 5dvh; |
25 | | - width: 100%; |
26 | | - border-top-left-radius: 3dvw; |
27 | | - border-top-right-radius: 3dvw; |
28 | | - display: flex; |
29 | | - align-items: center; |
30 | | - justify-content: space-between; |
31 | | - position: absolute; |
32 | | - top: 0; |
33 | | - left: 0; |
34 | | - } |
| 35 | +.app-title { |
| 36 | + margin-left: 2dvw; |
| 37 | + font-family: "Aptos", "Arial", sans-serif; |
| 38 | + font-weight: bold; |
| 39 | + font-size: 4dvh; |
| 40 | +} |
35 | 41 |
|
36 | | - .app-title { |
37 | | - margin-left: 2dvw; |
38 | | - font-family: "Aptos", "Arial", sans-serif; |
39 | | - font-weight: bold; |
40 | | - font-size: 4dvh; |
41 | | - } |
| 42 | +.dot-container { |
| 43 | + display: flex; |
| 44 | + align-items: center; |
| 45 | + gap: 1dvw; |
| 46 | + padding-right: 1.5dvw; |
| 47 | +} |
42 | 48 |
|
43 | | - .dot-container { |
44 | | - display: flex; |
45 | | - align-items: center; |
46 | | - gap: 1dvw; |
47 | | - padding-right: 1.5dvw; |
48 | | - } |
| 49 | +.dot { |
| 50 | + height: 3.2dvh; |
| 51 | + width: 3.2dvh; |
| 52 | + border-radius: 50%; |
| 53 | +} |
49 | 54 |
|
50 | | - .dot { |
51 | | - height: 3.2dvh; |
52 | | - width: 3.2dvh; |
53 | | - border-radius: 50%; |
54 | | - } |
| 55 | +.sidebar { |
| 56 | + background-color: #e5e5e5; |
| 57 | + width: 20dvw; |
| 58 | + height: 100%; |
| 59 | + padding-top: 7dvh; |
| 60 | + display: flex; |
| 61 | + flex-direction: column; |
| 62 | + font-family: "Aptos", "Arial", sans-serif; |
| 63 | + gap: 3dvh; |
| 64 | +} |
55 | 65 |
|
56 | | - .sidebar { |
57 | | - background-color: #e5e5e5; |
58 | | - width: 20dvw; |
59 | | - height: 100%; |
60 | | - padding-top: 7dvh; |
61 | | - display: flex; |
62 | | - flex-direction: column; |
63 | | - font-family: "Aptos", "Arial", sans-serif; |
64 | | - font-size: 2.5dvh; |
65 | | - gap: 3dvh; |
66 | | - padding-left: 2dvw; |
67 | | - } |
68 | | - |
69 | | - .sidebar-item { |
70 | | - cursor: pointer; |
71 | | - background-color: skyblue; |
72 | | - width: 100%; |
73 | | - margin: 0; |
74 | | - height: 5dvh; |
75 | | - } |
| 66 | +.sidebar-item { |
| 67 | + cursor: pointer; |
| 68 | + background-color: skyblue; |
| 69 | + height: 5dvh; |
| 70 | + width: 100%; |
| 71 | + padding-left: 2dvw; |
| 72 | + display: flex; |
| 73 | + align-items: center; |
| 74 | + font-size: clamp(1.6dvh, 2.2dvh, 3dvh); |
| 75 | +} |
0 commit comments