-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
86 lines (74 loc) · 1.65 KB
/
style.css
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
body {
font-family: 'Roboto', sans-serif;
padding: 20px;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
background-color: white;
font-size: 1.5em; /* Increased font size */
box-sizing: border-box;
}
#todo-list {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
}
.task, .subtask {
display: flex;
align-items: center;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
width: calc(100% - 24px); /* Adjust to fit within the container */
}
.subtask {
margin-left: 20px;
}
.task.completed, .subtask.completed {
background-color: #e0e0e0;
text-decoration: line-through;
}
.task span, .subtask span {
flex-grow: 1;
margin-left: 10px;
}
.checkbox {
width: 20px;
height: 20px;
}
.checkbox:checked {
background-color: green;
color: white;
}
.task-input {
width: 100%;
padding: 10px;
font-size: 1.5em; /* Increased font size */
border: 1px solid #ddd;
border-radius: 8px;
outline: none;
box-sizing: border-box;
margin-bottom: 10px;
}
#instructions {
font-size: 0.92em; /* Decreased font size for instructions by 8% */
color: #555;
margin-top: 0; /* Set margin-top to 0 */
padding: 0; /* Set padding to 0 */
}
#instructions p {
margin: 0; /* Remove margin from paragraph */
padding-bottom: 10px; /* Add padding below the heading */
}
#instructions ul {
padding-left: 20px;
margin-top: 0; /* Remove margin from the top of the list */
}
#instructions ul li {
margin-bottom: 10px;
}