-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
132 lines (122 loc) · 2.49 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "poppins", sans-serif;
}
html,
body {
width: 100%;
height: 100%;
}
main {
width: 100%;
min-height: 100vh;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%), radial-gradient(at top center, rgba(255, 255, 255, 0.40) 0%, rgba(0, 0, 0, 0.40) 120%) #989898;
background-blend-mode: multiply, multiply;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background-color: white;
width: 100%;
max-width: 30rem;
max-height: 45rem;
border-radius: 20px;
}
.title {
margin-top: .5rem;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 2rem;
gap: .5rem;
}
.title img {
width: 2rem;
height: 2rem;
}
.title p {
font-size: 1.5rem;
font-weight: 400;
}
.row {
background-color: rgb(194, 194, 194);
border-radius: 25px;
display: flex;
justify-content: space-between;
align-items: center;
margin: .5rem .5rem 1rem 1rem;
}
input{
flex: 1 ;
border: none;
outline: none;
height: 2rem;
margin-left: 2rem;
background: transparent;
}
button{
border: none;
background-color: cornflowerblue;
height: 100%;
padding: .5rem 1rem;
border-radius: 25px;
color: white;
cursor: pointer;
font-size: 1rem;
}
ul li{
list-style: none;
position: relative;
user-select: none;
padding:.5rem 3rem;
}
ul{
margin: 1rem;
}
ul li::before{
content: "";
position: absolute;
height: 1.5rem;
width: 1.5rem;
border-radius: 50%;
background-image: url("unchecked.png");
background-size: cover;
background-position: center ;
left: 1rem;
bottom: .5rem;
cursor: pointer;
}
ul li span{
text-align: center;
position: absolute;
right: 1rem;
cursor: pointer;
font-size: 1.3rem;
width: 2rem;
height: 2rem;
border-radius: 50%;
line-height: 2rem;
}
ul li span:hover{
background-color: #dbdbdb;
}
ul li.checked{
color: #989898;
text-decoration: line-through;
}
ul li.checked::before{
background-image: url("checked.png");
}
@media screen and (width<=600px) {
.container {
width: 100%;
max-height: 55rem;
}
ul li span:hover{
background-color: transparent;
}
}