forked from Yashu1th/ToDoList
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (93 loc) · 1.88 KB
/
style.css
File metadata and controls
97 lines (93 loc) · 1.88 KB
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
*,*:before,*:after{
padding:0;
margin:0;
box-sizing: border-box;
}
body{
height:100vh;
background: linear-gradient(135deg,#8052ec,#d161ff);
}
.container{
border:2px solid white;
width:40%;
position:absolute;
transform:translate(-50%,-50%);
top:50%;
left:50%;
min-width:450px;
padding:30px 40px;
}
#new_task{
background-color: #ffffff;
padding:30px 20px;
border-radius:5px;
box-shadow:0 15px 30px rgba(0,0,0,0.3);
}
#new_task input{
width:70%;
height:45px;
font-family:'popins',sans-serif;
font-size:15px;
border: 2px solid #d1d3d4;
padding:12px;
color:#111111;
font-weight:500;
position:relative;
border-radius:5px;
}
#new_task input:focus{
outline:none;
border-color:#d161ff;
}
#new_task button{
position:relative;
float:right;
width:20%;
height:45px;
border-radius:5px;
font-family:'popins',sans-serif;
font-weight:500px;
font-size:16px;
background-color: #d161ff;
border:none;
color:#ffffff;
cursor:pointer;
}
.tasks{
background-color: #ffffff;
padding:30px 20px;
margin-top:60px;
border-radius:10px;
box-shadow:0 15px 30px rgba(0,0,0,0.3);
width:100%;
position:relative;
}
.task{
background-color: #ffffff;
height:50px;
padding:5px 10px;
margin-top:10px;
display:flex;
align-items:center;
justify-content: space-between;
border-bottom:2px solid #d1d3d4;
cursor:pointer;
}
.task span{
font-family:'popins',sans-serif;
font-size:15px;
font-weight:400;
}
.task button{
background-color: #d161ff;
color:#ffffff;
width:40px;
height:100%;
border:none;
border-radius:5px;
cursor:pointer;
outline:none;
}
.completed{
text-decoration: line-through;
}