-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
96 lines (84 loc) · 1.64 KB
/
styles.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
body {
font-family: Arial, sans-serif;
background: linear-gradient(to right, #6a11cb, #2575fc);
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
max-width: 600px;
width: 100%;
background-color: rgba(255, 255, 255, 0.9);
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
margin-top: 50px;
}
h1 {
text-align: center;
color: #cb1717;
margin-bottom: 30px;
}
.task-input {
display: flex;
margin-bottom: 20px;
}
.task-input input {
flex-grow: 1;
padding: 10px;
border: 1px solid #6a11c4;
border-radius: 4px;
}
.task-input button {
padding: 10px 20px;
border: none;
background-color: #28a745;
color: white;
border-radius: 4px;
cursor: pointer;
margin-left: 10px;
}
.task-filters {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.task-filters button {
padding: 8px 15px;
border: none;
background-color: #f5f5f5;
color: #333;
border-radius: 20px;
cursor: pointer;
margin: 0 10px;
}
.task-filters button:hover {
background-color: #e0e0e0;
}
ul {
list-style: none;
padding: 0;
}
li {
padding: 15px;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 16px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
li button {
background-color: #dc3545;
border: none;
color: white;
border-radius: 4px;
cursor: pointer;
padding: 5px 10px;
}
li.completed {
text-decoration: line-through;
color: #999;
}