-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
146 lines (146 loc) · 2.63 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
141
142
143
144
145
146
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'poppins', sans-serif;
}
.container{
width: 100%;
height: 100vh;
background: linear-gradient(135deg, #153677,#4e085f);
padding: 1rem;
}
.todo{
width: 70%;
background: white;
margin: 100px auto 20px;
padding: 40px 30px 70px;
border-radius: 10px;
height: auto;
display: flex;
flex-direction: column;
/* align-items: center; */
justify-content: center;
}
.todo h1{
color: #002765;
display: flex;
align-items: center;
margin-bottom: 20px;
}
.todo h1 img{
width: 30px;
margin-left: 20px;
}
.row{
display: flex;
align-items: center;
justify-content: space-between;
background: #edeef0;
padding-left: 20px;
margin-bottom: 25px;
border-radius: 10px;
}
input{
border: none;
outline: none;
background: transparent;
padding: 10px;
flex: 1;
font-size: 14px;
}
button{
border: none;
cursor: pointer;
outline: none;
padding: 16px 55px;
border-radius: 40px;
font-size: 16px;
color: #fff;
background: orange;
}
ul li{
list-style: none;
font-size: 17px;
padding:12px 35px 12px 50px;
cursor: pointer;
user-select: none;
position: relative;
width: 100%;
overflow-wrap: break-word;
text-align: justify;
}
ul li::before{
content: '';
position: absolute;
height: 28px;
width: 28px;
border-radius: 50%;
background-image: url(unchecked.png);
background-size: cover;
background-position: center;
left: 9px;
top:7px;
}
ul li.checked{
color:#555;
text-decoration: line-through;
}
ul li.checked::before{
background-image: url(checked.png);
}
ul li span{
right: 0;
position: absolute;
width: 42px;
top:5px;
height: 40px;
font-size:30px;
color:#f0160e;
line-height: 40px;
text-align: center;
border-radius: 50%;
}
ul li span:hover{
background: #edeef0;
}
@media (max-width: 600px){
.todo{
margin: 50px auto 10px;
}
input{
padding: 5px;
font-size: 15px;
flex: 1;
}
button{
padding: 16px 25px;
border-radius: 40px;
font-size: 16px;
}
}
@media (max-width: 526px){
input{
padding: 5px;
font-size: 12px;
flex: 1;
}
button{
padding: 10px 18px;
font-size: 12px;
}
}
@media (max-width: 448px){
.container{
min-width: 415px;
}
input{
padding: 9px;
font-size: 11px;
flex: 1;
}
button{
padding: 9px 11px;
font-size: 10px;
}
}