-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresult.css
More file actions
100 lines (98 loc) · 1.77 KB
/
result.css
File metadata and controls
100 lines (98 loc) · 1.77 KB
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
/* background-color: white; */
background-image: url('background.jpg');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
.wrapper {
position: absolute;
width: 70vw;
transform: translate(-50%, -50%);
top: 25%;
left: 50%;
display: flex;
justify-content: space-around;
gap: 10px;
}
.wrapper2 {
position: absolute;
width: 70vw;
transform: translate(-50%, -50%);
top: 75%;
left: 50%;
display: flex;
justify-content: space-around;
gap: 10px;
}
.container {
width: 45vmin;
height: 45vmin;
display: flex;
flex-direction: column;
justify-content: space-around;
padding: 1em 0;
position: relative;
font-size: 25px;
border-radius: 0.5em;
background-color: #21242b;
border-bottom: 10px solid #fa6909;
}
i {
color: #18f98f;
font-size: 2.5em;
text-align: center;
}
span.num {
color: #ffffff;
display: grid;
place-items: center;
font-weight: 600;
font-size: 3em;
}
span.text {
color: #e0e0e0;
font-size: 1.2em;
text-align: center;
pad: 0.7em 0;
font-weight: 400;
line-height: 0;
}
@media screen and (max-width: 1024px) {
.wrapper {
width: 85vw;
}
.container {
height: 26vmin;
width: 26vmin;
font-size: 12px;
}
}
@media screen and (max-width: 768px) {
.wrapper {
width: 90vw;
flex-wrap: wrap;
gap: 30px;
}
.container {
width: calc(50% - 40px);
height: 30vmin;
font-size: 14px;
}
}
@media screen and (max-width: 480px) {
.wrapper {
gap: 15px;
}
.container {
width: 100%;
height: 25vmin;
font-size: 8px;
}
}