-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (106 loc) · 1.96 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
105
106
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@100,200,300,400,500,600,700,800,900&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Poppins',sans-sarif;
}
.title{
font-size: 30px;
font-weight: 600;
color:rgb(8,6,133);
letter-spacing: 1px;
margin: 30px 0;
}
body{
background: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
width: 100vw;
}
.todo-list{
margin-bottom: 200px;
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;
grid-gap: 20px;
}
.entered-list{
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 16px;
}
.add-list{
border: none;
border-radius: 5px;
background-color: rgb(8,6,133);
outline: none;
font-size: 16px;
color: #fff;
cursor: pointer;
opacity: .6;
pointer-events: none;
}
.add-list.active{
opacity: 1;
pointer-events: all;
}
.tasks{
margin-top: 30px;
width: 100%;
}
.tasks h2{
margin-bottom: 15px;
margin-left: 140px;
}
.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.completed p{
text-decoration: line-through;
color: #11111180;
}
.item p{
font-size: 16px;
font-weight: 400;
color:#111;
letter-spacing: 1px;
}
.item-btn{
display: flex;
align-items: center;
gap: 10px;
}
.item-btn i{
color:rgb(8,6,133);
font-size: 18px;
cursor: pointer;
}
.warnings{
display: flex;
justify-content: center;
align-items: center;
width: 500px;
height: 50px;
/* border: 2px solid black; */
}
.warnings p{
font-size: 28px;
font-weight: 700;
color: red;
}