-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (91 loc) · 1.81 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
body{
background: linear-gradient(45deg, #5CFFF8 0%, #FB74FF 100%);
min-height: 100vh;
font-family: "Bebas Neue", sans-serif;
}
.container{
background-color: azure;
width: 400px;
margin: 100px auto;
padding: 10px 100px;
border-radius: 30px;
}
.todo-list-title{
position: relative;
left: -10px;
font-size: 30px;
}
.inner-wrapper{
margin: 0 auto;
max-width: 350px;
width: 100%;
}
.input-wrapper{
border-radius: 20px;
background-color: #F3F3F3;
display: flex;
justify-content: space-between;
width: 100%;
max-width: 424px;
}
.input-wrapper input{
background: transparent;
border: 0px;
flex: 1;
outline: none;
padding: 10px 20px;
}
.input-wrapper button{
background-color: #E7ACFE;
border: 0px;
color: white;
font-family: "Bebas Neue", sans-serif;
font-size: 20px;
padding: 10px 13px;
border-radius: 20px;
cursor: pointer;
font-weight: 500;
}
.list{
list-style: none;
padding: 0px;
}
.list li{
vertical-align: middle;
font-weight: 400;
padding: 5px;
position: relative;
}
.list li.checked{
text-decoration: line-through;
}
.list li::before{
content: '';
display: inline-block;
width: 24px;
height: 24px;
background-image: url('assets/uncheck.svg');
background-size: contain;
background-repeat: no-repeat;
cursor: pointer;
vertical-align: middle;
margin-right: 10px;
}
.list li.checked::before{
background-image: url('assets/checked.svg');
}
.delete{
background-image: url('assets/delete.svg');
padding: 5px;
background-position: center;
object-fit: cover;
position: absolute;
background-repeat: no-repeat;
right: 0;
top: 0;
width: 20px;
height: 20px;
}
.delete:hover{
cursor: pointer;
}