-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (68 loc) · 1.16 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
position: relative;
max-width: 800px;
height: 80vh;
margin-top: 7rem;
margin-left: 20rem;
}
h1{
text-align: center;
}
#input-task{
width: 600px;
position: absolute;
top: 70px;
left: 0;
padding-top: 2rem;
border: none;
border-bottom: 2px solid rgb(114, 71, 114);
letter-spacing: .5rem;
font-size: 15px;
margin-left: 1rem;
}
#add-task-button{
position: absolute;
top: 70px;
right: 60px;
padding: 1rem;
color:#fff;
background-color: rgb(212, 185, 212);
margin-left: .5rem;
border: none;
}
.containers{
position: absolute;
top: 150px;
margin-left: 1rem;
}
#task-list{
list-style: none;
}
#task-list li{
margin-bottom: 1.5rem;
}
.task{
margin-left: 1.5rem;
}
.delete-btn{
background-color: red;
float: right;
margin-left: 28rem;
font-size: 18px;
font-weight: 500;
padding: .2rem;
border: none;
border-radius: 50%;
color: #fff;
}
li input[type=checkbox]:checked{
color: rgb(17, 84, 230);
}
ul li.checked{
text-decoration: line-through;
}