-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (81 loc) · 1.38 KB
/
style.css
File metadata and controls
95 lines (81 loc) · 1.38 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background: #f4f4f9;
color: #333;
line-height: 1.6;
}
header {
background: #333;
color: #fff;
padding: 15px;
text-align: center;
}
main {
max-width: 600px;
margin: 30px auto;
padding: 20px;
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
form {
display: flex;
margin-bottom: 20px;
}
form input {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px 0 0 5px;
}
form button {
padding: 10px 20px;
border: none;
background: #28a745;
color: white;
cursor: pointer;
border-radius: 0 5px 5px 0;
}
form button:hover {
background: #218838;
}
.task-list {
list-style: none;
}
.task-list li {
background: #f9f9f9;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
}
.actions button {
margin-left: 5px;
padding: 5px 10px;
border: none;
cursor: pointer;
border-radius: 3px;
}
.actions button:hover {
opacity: 0.8;
}
.actions .delete {
background: #dc3545;
color: white;
}
.actions button:not(.delete) {
background: #007bff;
color: white;
}
footer {
text-align: center;
padding: 12px 16px;
color: #666;
}