-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
74 lines (61 loc) · 972 Bytes
/
main.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
@font-face {
font-family: 'lucon';
src: url('assets/lucon.ttf') format('ttf'),
url('assets/lucon.woff2') format('woff2');
}
html {
font-family: "Lucida Console", "lucon", sans-serif;
}
.container h1 {
text-align: center;
}
.task-list {
list-style: none;
margin: 5% auto;
max-width: 700px;
}
.task {
margin: 5px 0;
}
[contenteditable] {
outline: 0px solid transparent;
color: grey;
caret-color: grey;
}
[contentEditable]:empty:before {
content: attr(placeholder);
opacity: 0.6;
}
.checkbox {
margin: 0 1% 0 0;
cursor: pointer;
}
.edit-button,
.delete-button {
border-radius: 4px;
border-width: 0.5px;
border-style: none;
padding: 0 3px;
margin: 0;
font-weight: bold;
}
.edit-button:hover,
.delete-button:hover {
opacity: 0.5;
}
.hidden {
display: none;
}
.delete-task {
padding: 5px;
font-size: 10px;
display: inline;
}
:focus {
border-style: solid;
border-color: blue;
}
.checked {
text-decoration: line-through;
color: grey;
}