-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (86 loc) · 1.76 KB
/
style.css
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
html, body {
height: 100%;
width: 100%;
}
:root {
--first-color: #163020;
--second-color: #304D30;
--third-color: #B6C4B6;
--forth-color: #EEF0E5;
}
.main {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
background-color: #163020;
position: relative;
}
.panel {
height: 80%;
width: 80%;
background-color: var(--second-color);
border-radius: 10px;
overflow: hidden;
}
.panel .panel-top {
height: 15%;
width: 100%;
background-color: var(--third-color);
display: flex;
padding: 0 30%;
align-items: center;
justify-content: space-between;
}
.elem {
width: 30%;
display: flex;
align-items: center;
gap: 10px;
}
.elem h4 {
color: var(--second-color);
font-size: 1.4vw;
}
.box {
color: var(--first-color);
font-weight: 700;
font-size: calc(12px + 1vw);
padding: 0.5vw 1vw;
border-radius: 5px;
background-color: white;
}
.bottom-panel {
height: calc(100% - 15%);
width: 100%;
background-color: var(--forth-color);
padding: 2vw;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 1vw;
}
.bubble {
height: calc(20px + 2vw);
width: calc(20px + 2vw);;
background-color: #304D30;
color: #EEF0E5;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-weight: 700;
font-size: calc(12px + 1vw);
cursor: pointer;
}
.bubble:hover {
background-color: #163020;
}