-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
140 lines (123 loc) · 2.47 KB
/
style.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'poppins', sans-serif;
}
.container {
width: 100%;
min-height: 100vh;
background: linear-gradient(-135deg, #23af32, #da23f3);
padding: 10px;
}
.todo-app {
width: 100%;
max-width: 540px;
background-color: #fff;
margin: 100px auto 20px;
padding: 40px 30px 70px;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
}
@media (min-width: 400px) and (max-width: 768px) {
.todo-app {
margin: 50% auto 20px;
}
ul li {
justify-content: end;
flex-direction: column;
border-bottom: 1px solid #000;
}
}
.todo-app h2 {
margin-bottom: 20px;
}
.row {
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 50px;
background-color: #eee;
padding-left: 20px;
margin-bottom: 25px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
-ms-border-radius: 50px;
-o-border-radius: 50px;
}
.row input {
flex: 1;
outline: none;
border: none;
background: transparent;
padding: 10px;
}
.row button {
border: none;
background-color: #555897;
padding: 10px 20px;
border-radius: 50px;
cursor: pointer;
color: white;
font-weight: bold;
font-size: 16px;
}
ul li {
display: flex;
align-items: center;
justify-content: end;
flex-direction: column;
border-bottom: 1px solid #000;
list-style: none;
user-select: none;
font-size: 18px;
padding: 10px;
cursor: pointer;
position: relative;
}
ul li::before {
content: '\f111';
font-family: "Font Awesome 5 Free";
font-weight: 900;
color: white;
border-radius: 50%;
border: 1px solid #252b28;
position: absolute;
left: 0;
top: 50%;
font-size: 19px;
}
ul li.checked {
text-decoration: line-through;
color: #aaa;
border-bottom-color: #aaa;
}
ul li.checked::before {
content: '\f058';
font-family: "Font Awesome 5 Free";
font-weight: 900;
color: #555897;
border: none;
}
ul li span {
display: flex;
align-items: center;
margin-top: 10px;
}
ul li i {
display: flex;
align-items: end;
}
ul li i::after {
content: '\f068';
font-family: "Font Awesome 5 Free";
font-weight: 900;
color: #555897;
position: absolute;
right: 0;
top: 50%;
font-size: 20px;
}