-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (87 loc) · 1.68 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
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900;1000&display=swap");
* {
margin: 0;
padding: 0;
font-family: 'Poppins',sans-serif;
}
body
{
background: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.title{
font-size: 30px;
font-weight: 600;
color: rgb(8,6,133);
letter-spacing: 1px;
margin: 30px 0;
}
.todo-list{
width: 450px;
padding: 20px;
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
border-radius: 5px;
background-color: #fff;
}
.list-head{
display: grid;
grid-template-columns: 4fr 1fr;
gap: 20px;
}
.entered-list{
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 16px;
outline: none;
}
.add-list{
border: none;
border-radius: 5px;
background-color: rgb(8,6,133);
outline: none;
font-size: 16px;
color: #ccc;
cursor: pointer;
opacity: .6;
pointer-events: none;
}
.add-list.active{
opacity: 1;
pointer-events: all;
}
.tasks{
width: 100%;
margin-top: 30px;
}
.item{
padding: 10px;
border-radius: 5px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
margin-bottom: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.item p{
font-size: 16px;
font-weight: 500;
gap: 10px;
}
.item.completed p{
text-decoration: line-through;
color: #11111180;
}
.item-btn{
display: flex;
align-items: center;
gap: 10px;
}
.item-btn i{
color: rgb(8,6,133);
font-size: 18px;
cursor: pointer;
}