-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (86 loc) · 1.75 KB
/
style.css
File metadata and controls
104 lines (86 loc) · 1.75 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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: flex-start;
height: 100vh;
padding-top: 50px;
background-image: url('test.jpg');
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
.todo-container {
background-color: rgba(163, 184, 219, 0.6);
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 500px;
text-align: left;
border-radius: 10px;
}
h1 {
margin-bottom: 25px;
}
#new-task-input {
width: 80%;
padding: 10px;
margin-bottom: 10px;
font-size: 16px;
cursor: text;
}
#add-task-button {
padding: 10px 20px;
background-color: #28a745;
color: white;
border: none;
cursor: pointer;
}
#add-task-button:hover {
background-color: #218838;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: flex;
justify-content: space-between;
align-items: center;
background-color: rgba(249, 249, 249, 0.6);
padding: 10px;
margin-bottom: 5px;
border: 1px solid #ddd;
}
.task-completed {
text-decoration: line-through;
color: #aaa;
}
.task-actions button {
padding: 5px;
border: none;
cursor: pointer;
}
.edit-btn {
background-color: #ffc107;
color: white;
}
.edit-btn:hover {
background-color: #e0a800;
}
.delete-btn {
background-color: #dc3545;
color: white;
}
.delete-btn:hover {
background-color: #c82333;
}
.complete-btn {
background-color: #007bff;
color: white;
}
.complete-btn:hover {
background-color: #0056b3;
}