-
Notifications
You must be signed in to change notification settings - Fork 0
/
tdl-style.css
85 lines (73 loc) · 1.3 KB
/
tdl-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
body {
background-color: #20235d;
height: 100vh;
font-family: Arial, Helvetica, sans-serif;
}
.todo-app {
max-width: 600px;
background-color: hsl(0, 0%, 100%);
padding: 20px 30px 50px;
margin: 120px auto 15px;
border-radius: 15px;
}
.todo-app h1 {
text-align: center;
}
form {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 30px;
}
input[type="text"] {
width: 70%;
padding: 20px;
border: 4px solid #632fff;
border-radius: 15px;
font-size: 1rem;
margin-left: 20px;
}
.btn {
background-color: #632fff;
border: none;
color: white;
padding: 20px 30px;
cursor: pointer;
border-radius: 15px;
font-size: 1.5rem;
}
.btn:hover {
background-color: #4a15e9;
}
ul li {
list-style-type: none;
font-size: 1.1rem;
padding: 10px 6px 10px 30px;
cursor: pointer;
position: relative;
}
ul li::before {
content: "☐";
font-size: 25px;
position: absolute;
left: -1px;
top: 4px;
}
#task-list {
padding: 0px 30px;
}
ul li.checked {
text-decoration: line-through;
color: #632fff;
}
ul li.checked::before {
content: "☑";
color: #632fff;
}
ul li span {
position: absolute;
top: 1.8px;
right: 5px;
color: rgb(227, 120, 26);
font-size: 2rem;
}