-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
84 lines (68 loc) · 1.03 KB
/
styles.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
* {
margin: 0;
padding: 0;
}
html {
box-sizing: border-box;
font-size: 20px;
}
*, *:before, *:after {
box-sizing: inherit;
}
main {
display: flex;
flex-direction: column;
align-items: center;
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.heading {
margin-bottom: 30px;
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: 2rem;
}
.items {
width: 100%;
display: flex;
flex-direction: column;
list-style: none;
}
.item {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.item__checkbox {
margin-right: 20px;
transform: scale(2);
}
.item__text {
padding: 5px;
flex: 1;
display: block;
white-space: nowrap;
overflow: hidden;
max-width: 100%;
text-overflow: ellipsis;
}
.item--done .item__text {
text-decoration: line-through;
}
.item__edit {
padding: 5px;
font-size: 1rem;
flex: 1;
}
.item__button {
padding: 5px;
font-size: 1rem;
}
.form__input {
padding: 5px;
font-size: 1rem;
}
.form__button {
padding: 5px;
font-size: 1rem;
}