-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
114 lines (97 loc) · 1.79 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
html {
font-size: 10px;
}
body, input, button {
font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
font-size: 1.8rem;
}
body {
margin: 0;
}
form {
margin: 0;
position: relative;
}
form input {
background: transparent;
border: 0;
border-bottom: 0.1rem dashed black;
font-weight: 500;
line-height: 5.2rem;
padding-bottom: 0.1rem;
padding-right: 2rem;
padding-top: 0.6rem;
width: 100%;
}
form input:focus {
border-bottom: 0.1rem solid black;
outline: none;
}
form button {
background: url(assets/add.svg) center center;
border: 0.1rem solid transparent;
cursor: pointer;
height: 4rem;
position: absolute;
right: -1.2rem;
top: 1rem;
width: 4rem;
}
form button:focus {
border: 0.1rem solid black;
border-radius: 2rem;
outline: none;
}
ul {
margin: 0;
padding: 3rem 0;
}
ul li {
line-height: 2rem;
list-style: none;
margin: 0;
padding: 1.4rem 0 0.6rem 4rem;
position: relative;
}
ul li button {
background: url(assets/done.svg) center center;
border: 0.1rem solid transparent;
cursor: pointer;
height: 4rem;
left: -0.8rem;
position: absolute;
top: 0.2rem;
width: 4rem;
}
ul li button:focus {
border: 0.1rem solid black;
border-radius: 2rem;
outline: none;
}
ul li.pending span {
font-weight: 500;
}
ul li.done button {
display: none;
}
ul li.done span {
color: rgba(0,0,0,0.5);
text-decoration: line-through;
}
@media screen and (max-width: 600px) {
main {
padding: 0 2.0rem;
}
}
@media screen and (min-width: 601px) {
main {
padding: 0;
width: 50rem;
margin: 0 auto;
}
}
@media screen and (min-width: 1201px) {
html {
font-size: 15px;
}
}