-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
153 lines (145 loc) Β· 2.58 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
147
148
149
150
151
152
153
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100%;
background: #c6ffdd; /* fallback for old browsers */
background: -webkit-linear-gradient(
to right,
#f7797d,
#fbd786,
#c6ffdd
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#f7797d,
#fbd786,
#c6ffdd
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: white;
font-family: "Poppins", sans-serif;
min-height: 100vh;
}
header {
font-family: "Comic Sans MS";
font-size: 40px;
text-shadow: 5px 3px 3px rgba(36, 59, 85, 0.579),
5px 3px 3px rgba(255, 255, 255, 0.506);
padding: 20px;
}
header,
form {
min-height: 20vh;
display: flex;
justify-content: center;
align-items: center;
}
form input,
form button {
padding: 0.5rem;
font-size: 2rem;
border: none;
background: white;
}
form input {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
form button {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
form button {
color: #c4447a;
background: #f7fffe;
cursor: pointer;
transition: all 0.3s ease;
}
form button:hover {
background: #c4447a;
color: white;
}
.todo-container {
display: flex;
justify-content: center;
align-items: center;
}
.todo-list {
min-width: 30%;
list-style: none;
border-radius: 10px;
}
.todo {
margin: 0.5rem;
background: white;
font-size: 1.5rem;
color: black;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 1s ease;
}
.filter-todo {
padding: 1rem;
}
.todo li {
flex: 1;
}
.trash-btn,
.complete-btn {
background: #f83a3a;
color: white;
border: none;
padding: 1rem;
cursor: pointer;
font-size: 1rem;
}
.complete-btn {
background: rgb(11, 212, 162);
}
.todo-item {
padding: 0rem 0.5rem;
}
.fa-trash,
.fa-check {
pointer-events: none;
}
.completed {
text-decoration: line-through;
opacity: 0.5;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
outline: 0;
box-shadow: none;
border: 0 !important;
background-image: none;
border-radius: 10px;
color: #c4447a;
font-family: "Poppins", sans-serif;
cursor: pointer;
width: 12rem;
}
.select {
margin: 1rem;
position: relative;
overflow: hidden;
}
.select::after {
content: "\25BC";
position: absolute;
top: 0;
right: 0;
padding: 1rem;
background: #c4447a;
cursor: pointer;
pointer-events: none;
}
/* ********************************* */
/* ********************************* */
/* ********************************* */