-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (92 loc) · 1.47 KB
/
style.css
File metadata and controls
108 lines (92 loc) · 1.47 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
98
99
100
101
102
103
104
105
106
107
108
* {
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
margin: 0;
padding: 20px;
background: #f5f5f5;
}
header {
text-align: center;
margin-bottom: 20px;
}
.task-form {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 15px;
}
.task-form input {
padding: 8px;
width: 250px;
border: 1px solid #ccc;
border-radius: 5px;
}
.task-form button {
padding: 8px 16px;
background: #007bff;
border: none;
color: white;
border-radius: 5px;
cursor: pointer;
}
.task-form .error {
color: red;
text-align: center;
margin-top: 5px;
}
.filters {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 15px;
}
.filter-btn {
padding: 6px 12px;
border: 1px solid #007bff;
background: white;
color: #007bff;
cursor: pointer;
border-radius: 4px;
}
.filter-btn:hover {
background: #007bff;
color: white;
}
.task-list {
display: flex;
flex-direction: column;
align-items: center;
}
.task-card {
background: white;
padding: 12px;
margin: 10px;
width: 90%;
max-width: 400px;
border-radius: 6px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
.task-card.completed {
background: #d4edda;
}
.task-actions {
display: flex;
justify-content: space-between;
margin-top: 10px;
}
.task-actions button {
padding: 5px 10px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.mark-btn {
background: #28a745;
color: white;
}
.delete-btn {
background: #dc3545;
color: white;
}