-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
81 lines (81 loc) · 1.18 KB
/
app.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
body {
width: 100%;
margin: 0;
padding: 1rem;
}
ul {
display: block;
margin: 0 auto;
padding: 0;
}
li {
clear: both;
width: 100%;
margin-bottom: 1rem;
}
li input {
font-size: 0.8rem;
}
[name="title"] {
width: 60%;
margin-right: 1rem;
}
.category {
display: block;
width: 60%;
font-size: 0.9rem;
}
input[type="checkbox"]:checked + [name="title"] {
text-decoration: line-through;
}
.completed {
display: none;
width: calc(40% - 3rem);
padding-left: 1rem;
}
input[type="checkbox"]:checked + [name="title"] + .completed {
display: inline-block;
}
[name="title"] {
float: left;
}
[name="date"] {
display: block;
width: 100%;
}
#logout {
float: right;
}
#auth {
position: absolute;
top: 50%;
left: 50%;
width: 96%;
max-width: 400px;
text-align: center;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
#auth input,
#auth button {
display: block;
margin: 0 auto 1rem;
}
h2 {
margin-top: 3rem;
font-size: 1.25em;
}
h3 {
font-size: 0.75em;
}
.heading {
padding-bottom: 0.5rem;
border-bottom: 0.1rem solid #333;
}
#user, #total {
float: left;
}
main {
clear: both;
}