-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (94 loc) · 1.84 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
* {
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
#container {
width: 500px;
margin: 0 auto;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
/* border: 1px solid #e5e5e5; */
}
ul li {
padding: 10px;
/* padding-left: 0; */
display: flex;
justify-content: space-between;
align-items: inherit;
align-items: center;
}
ul li:hover {
background: #f3f3f3;
}
#list input {
padding: 0;
height: initial;
width: initial;
margin-bottom: 0;
display: none;
cursor: pointer;
}
#list label {
position: relative;
cursor: pointer;
}
#list label:before {
content:'';
/* -webkit-appearance: none; */
background-color: transparent;
border: 2px solid #0079bf;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
padding: 10px;
display: inline-block;
position: relative;
vertical-align: middle;
cursor: pointer;
margin-right: 10px;
}
#list input:checked + label:after {
content: '';
display: block;
position: absolute;
top: 2px;
left: 9px;
width: 6px;
height: 14px;
border: solid #fff;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
#list input:checked + label:before {
background: #0079bf;
}
#list input:checked + label {
text-decoration: line-through;
}
.delete {
height: 28px;
padding: 5px 0px;
border-radius: 3px;
}
.delete:hover {
background: #f2f2f2;
cursor: pointer;
}
h1 {
text-align: center;
}
.add-task {
width: 100%;
outline: none;
font-size: 15px;
padding: 11px;
border: 1px solid #f3f3f3;
margin-bottom: 3px;
}
#total-tasks {
margin-bottom: 20px;
font-size: 13px;
margin-left: 2px;
color: gray;
}