-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
118 lines (118 loc) · 2.24 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
115
116
117
118
html,
body {
margin: 0;
padding: 0;
}
body {
background: linear-gradient(0deg, #f1e1ff, #20ac6a);
min-height: 100vh;
/* overflow-y: hidden; */
font-family: "Noto Sans TC", sans-serif;
margin: 0;
padding: 0;
}
.container {
position: relative;
background-color: white;
width: 400px;
margin: 100px auto;
padding: 10px 100px;
border-radius: 30px;
z-index: 2;
}
.title {
position: relative;
text-align: center;
font-size: 32px;
font-weight: 700;
}
.inner-wrapper {
margin: 0 auto;
max-width: 450px;
width: 300px;
}
.input-wrapper {
border-radius: 20px;
background: #eeeff0;
display: flex;
justify-content: space-between;
width: 100%;
max-width: 424px;
}
.input-wrapper input {
background-color: transparent;
border: 0;
flex: 1;
outline: none;
padding: 10px 20px;
}
.input-wrapper button {
background-color: #0a9758;
border: 0;
color: white;
cursor: pointer;
font-size: 14px;
font-weight: 700;
border-radius: 20px;
padding: 10px 13px;
}
.list{
list-style: none;
padding: 0px;
}
.list li{
vertical-align: middle;
font-weight: 400;
padding: 5px;
position: relative;
}
.list li.checked{
text-decoration: line-through;
}
.list li::before{
content: " ";
display: inline-block;
width: 20px;
height: 24px;
background-image: url('assets/unchecked.svg');
background-size: contain;
background-repeat: no-repeat;
cursor: pointer;
vertical-align: middle;
margin-right: 10px;
}
.list li.checked::before{
background-image: url('assets/checked.svg');
}
.delete{
background-image: url('assets/delete.svg');
border-radius: 5px;
padding: 5px;
background-position: center;
background-size: contain;
object-fit: cover;
cursor: pointer;
position: absolute;
background-repeat: no-repeat;
right: 0;
top: 0;
width: 10px;
height: 24px;
}
.delete:hover{
background-color: #f1e1ff;
cursor: pointer;
}
.clock {
position: sticky;
top: 30px;
height: 120px;
width: 100%;
text-align: center;
vertical-align: middle;
font-size: 80px;
font-weight: bold;
color: white;
padding: 10px 0;
z-index: 0;
}