-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (98 loc) · 1.77 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
@import url('https://fonts.googleapis.com/css2?family=Poppins&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;
height:100vh;
width:100vw;
}
.title{
font: size 30px;
font-weight:600;
color:rgb(8, 6, 133);
letter-spacing:1px;
margin:30px ; /* margin:30px 0; */
}
@media(min-width:400px){
.todo-list{
width: 450px;
padding:20px;
/* border:1px solid black; */
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
border-radius: 10px;
background-color:#fff;
}
}
.list-head{
display:grid;
grid-template-columns: 4fr 1fr;
gap: 10px;
}
.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);
font-size: 16px;
color:#fff;
cursor:pointer;
opacity:0.6;
pointer-events:none;
}
.add-list.active{
opacity: 1;
pointer-events:all;
}
.add-list:active{
opacity:0.6;
}
.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;
color:#111;
letter-spacing: 1px;
}
.item.completed p{
text-decoration: line-through;
color:#11111180;
}
.item-btn{
display: flex;
align-items:center;
gap:20px;
}
.item-btn i{
color: rgb(8, 6, 133);
font-size:18px;
/* opacity: 1; */
cursor: pointer;
}
i:active{
opacity:0.6;
}