-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.css
70 lines (58 loc) · 1.22 KB
/
todo.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
/* ToDo css */
body {
display: flex;
justify-content: center;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
div#todoList {
width: 450px;
height: 400px;
border-style: solid;
border-color: black;
border-width: 4px;
border-radius: 10px;
display: flex;
flex-direction: column;
}
div#todoList #title {
width: 100%;
height: 40px;
background-color: orange;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
border-width:4px;
text-align: center;
font-size: 16pt;
font-weight: bold;
padding-top: 8px;
}
ul#todos {
list-style-type: none;
flex-grow: 1;
}
ul#todos li {
margin-top: 10px;
cursor: pointer;
}
ul#todos li span.trash {
visibility: hidden;
}
ul#todos li:hover span.trash {
visibility: visible;
}
ul#todos li input:checked + label {
text-decoration: line-through;
}
div#add{
display: flex;
justify-content: center;
padding-bottom: 4px;
padding-left: 6px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
padding-top: 4px;
background-color: orange;
}
input#addInput {
margin-left: 10px;
}