-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (100 loc) · 1.81 KB
/
style.css
File metadata and controls
115 lines (100 loc) · 1.81 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
*{
margin: 0;
padding: 0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
box-sizing: border-box;
}
.container{
width: 100%;
min-height: calc(100vh - 20px);
background-color: rgb(155, 232, 255);
padding: 10px;
}
.todo-app{
width: 100%;
max-width: 540px;
background-color: rgb(255, 255, 255);
border-style: solid;
border-width: 1px;
margin: 50px auto;
padding: 10px 30px 40px;
border-radius: 15px;
}
.todo-app h2{
font-size: 25px;
display: flex;
align-items: center;
justify-content: start;
margin: 15px;
}
.todo-app h2 img{
width: 40px;
margin-left: 10px;
}
.row{
display: flex;
justify-content: space-between;
align-items: center;
margin: 30px 30px 15px;
background-color:rgb(255, 224, 224);
border-radius: 40px;
}
#input-box{
flex: 1;
background: transparent;
border: none;
outline: none;
padding: 15px;
}
button{
border: none;
outline: none;
padding: 16px 50px;
color: #fff;
background-color: orangered;
border-radius: 40px;
font-size: 16px;
cursor: pointer;
}
ul li{
list-style: none;
user-select: none;
font-size: 17px;
cursor: pointer;
padding: 15px 12px 15px 50px;
position: relative;
}
ul li::before {
content:'';
position: absolute;
background-image: url(images/unchecked.png);
height: 28px;
width: 28px;
border-radius: 50%;
background-size:cover;
background-position:center;
top: 12px;
left: 15px;
}
ul li.checked {
text-decoration: line-through;
color: #555;
}
ul li.checked::before {
background-image: url(images/checked.png);
}
ul li span {
position: absolute;
right: 0px;
top: 5px;
width: 40px;
height: 40px;
font-size: 22px;
color: #555;
text-align: center;
line-height: 40px;
border-radius: 50%;
}
ul li span:hover{
background: #edeef0;
}