Skip to content

Commit f0003dc

Browse files
committedAug 8, 2024·
solve linter issue
1 parent 9ecad56 commit f0003dc

File tree

1 file changed

+46
-45
lines changed

1 file changed

+46
-45
lines changed
 

‎Source-Code/ToDoList/style.css

+46-45
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,83 @@
11
body {
2-
font-family: Arial, sans-serif;
3-
display: flex;
4-
justify-content: center;
5-
align-items: center;
6-
height: 100vh;
7-
margin: 0;
8-
background-color: #f4f4f4;
2+
font-family: Arial, sans-serif;
3+
display: flex;
4+
justify-content: center;
5+
align-items: center;
6+
height: 100vh;
7+
margin: 0;
8+
background-color: #f4f4f4;
99
}
1010

1111
.container {
12-
background-color: #fff;
13-
padding: 20px;
14-
border-radius: 8px;
15-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
16-
12+
background-color: #fff;
13+
padding: 20px;
14+
border-radius: 8px;
15+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
1716
}
1817

1918
h1 {
20-
text-align: center;
19+
text-align: center;
2120
}
2221

2322
.form-container {
24-
margin-bottom: 20px;
23+
margin-bottom: 20px;
2524
}
2625

27-
#task-input, #category-select, button {
28-
margin: 5px;
29-
padding: 10px;
30-
border: 1px solid #ccc;
31-
border-radius: 4px;
26+
#task-input,
27+
#category-select,
28+
button {
29+
margin: 5px;
30+
padding: 10px;
31+
border: 1px solid #ccc;
32+
border-radius: 4px;
3233
}
3334

3435
button {
35-
background-color: #007bff;
36-
color: #fff;
37-
border: none;
38-
cursor: pointer;
36+
background-color: #007bff;
37+
color: #fff;
38+
border: none;
39+
cursor: pointer;
3940
}
4041

4142
button:hover {
42-
background-color: #0056b3;
43+
background-color: #0056b3;
4344
}
4445

4546
.filter-container {
46-
margin-bottom: 20px;
47-
display: flex;
48-
justify-content: space-between;
49-
align-items: center;
47+
margin-bottom: 20px;
48+
display: flex;
49+
justify-content: space-between;
50+
align-items: center;
5051
}
5152

5253
ul {
53-
list-style-type: none;
54-
padding: 0;
54+
list-style-type: none;
55+
padding: 0;
5556
}
5657

5758
li {
58-
background-color: #f9f9f9;
59-
margin: 5px 0;
60-
padding: 10px;
61-
border-radius: 4px;
62-
display: flex;
63-
justify-content: space-between;
64-
align-items: center;
59+
background-color: #f9f9f9;
60+
margin: 5px 0;
61+
padding: 10px;
62+
border-radius: 4px;
63+
display: flex;
64+
justify-content: space-between;
65+
align-items: center;
6566
}
6667

6768
.task-text {
68-
flex: 1;
69+
flex: 1;
6970
}
7071

7172
.delete-btn {
72-
background-color: #dc3545;
73-
color: #fff;
74-
border: none;
75-
padding: 5px 10px;
76-
border-radius: 4px;
77-
cursor: pointer;
73+
background-color: #dc3545;
74+
color: #fff;
75+
border: none;
76+
padding: 5px 10px;
77+
border-radius: 4px;
78+
cursor: pointer;
7879
}
7980

8081
.delete-btn:hover {
81-
background-color: #c82333;
82+
background-color: #c82333;
8283
}

0 commit comments

Comments
 (0)
Please sign in to comment.