Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
94 lines (79 loc) · 1.53 KB
/
Copy pathstyles.css
File metadata and controls
94 lines (79 loc) · 1.53 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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 0;
}
header {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
text-align: center;
}
header h1 {
margin: 0;
}
header p {
margin: 5px 0 0;
}
main {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#task-form {
display: flex;
flex-direction: column;
margin-bottom: 20px;
}
#task-form input,
#task-form textarea {
margin-bottom: 10px;
padding: 10px;
border: 1px solid #fdbaba;
border-radius: 4px;
}
#task-form button {
padding: 10px 15px;
background-color: #cd47ef;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
#task-form button:hover {
background-color: #5218e6d0;
}
#task-list {
list-style: none;
padding: 0;
}
#task-list h2 {
margin-top: 0;
}
#task-list li {
padding: 10px;
margin-bottom: 10px;
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 4px;
}
#task-list li.completed {
text-decoration: line-through;
background-color: #e0e0e0;
}
button.task-btn {
background-color: #ff4d4d;
border: none;
color: white;
padding: 5px 10px;
margin-left: 5px;
cursor: pointer;
border-radius: 4px;
}
button.task-btn:hover {
background-color: #e60000;
}