-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (92 loc) · 1.54 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: sans-serif;
}
:root{
--primaryColor: #2ecc71;
--secondaryColor: #f1f2f6;
}
body{
background-color: var(--secondaryColor);
}
header{
background-color: white;
padding: 30px 60px;
}
header h1{
font-family: cursive;
}
.wrapper{
text-align: center;
padding: 40px;
margin: 10px auto;
width: 90%;
background-color: white;
}
main{
width: 90%;
margin: 10px auto;
display: grid;
grid-template-columns: auto auto auto;
gap: 8px;
}
section{
position: relative;
height: 90px;
}
label{
background-color: white;
width: 100%;
height: 100%;
padding: 10px;
display: flex;
align-items: center;
cursor: pointer;
font-size: 20px;
padding-left: 60px;
}
input{
height: 25px;
width: 25px;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 20px;
accent-color: white;
}
input:checked+label{
background-color: var(--primaryColor);
color: white;
}
.progress{
width: 100%;
height: 50px;
background-color: var(--secondaryColor);
border-radius: 4px;
margin: 10px 0;
position: relative;
overflow: hidden;
}
.bar{
position: absolute;
background-color: var(--primaryColor);
height: 100%;
left: 0;
width: 0%;
}
@media(width <= 1000px){
main{
width: 100%;
grid-template-columns: auto auto;
}
.wrapper{
width: 100%;
}
@media(width<=800px){
main{
grid-template-columns: auto;
}
}
}