-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (108 loc) · 2.1 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
@import url("https://fonts.googleapis.com/css2?family=Inclusive+Sans&family=Martian+Mono&family=Mooli&family=Open+Sans&family=Roboto&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Mooli", sans-serif;
}
.center {
display: flex;
align-items: center;
}
body {
width: 100%;
min-height: 100vh;
background: linear-gradient(135deg, #153677, #4e085f);
padding: 10em;
}
#todo-app {
width: 100%;
max-width: 33.75rem;
background-color: #fff;
margin: 6.25rem auto 1.25rem;
padding: 2.5em 1.875em 4.375em;
border-radius: 10px;
}
#todo-app h2 {
color: #002765;
margin-bottom: 1.25rem;
}
#todo-app h2 img {
width: 1.875rem;
margin-right: 0.625rem;
}
form {
margin-bottom: 1rem;
}
#add-task-input {
padding: 1em 1.5em;
background-color: #edeef0;
width: 80%;
border: 1px solid #edeef0;
border-radius: 5px;
}
#add-task-input:focus {
outline: none;
}
#add-task-btn {
padding: 1em 1.5em;
border: none;
border-radius: 5px;
color: #fff;
background-color: #27ae60;
width: 19%;
}
#add-task-btn:hover {
background-color: #1e8449;
opacity: 1;
transform: translateY(0);
transition-duration: 0.35s;
cursor: pointer;
}
#list-container div {
cursor: pointer;
margin: 1rem 0;
}
#list-container div input[type='text']{
border: none;
outline: none;
padding: 0 0.3em;
margin: 0 0.3rem;
width: 21.1rem;
}
.checked{
color: #555;
text-decoration: line-through;
}
#list-container div button {
padding: 0.3em;
border-radius: 5px;
border: none;
width: 3.5rem;
margin-left: 0.2rem;
}
.delete-btn {
background-color: #ff5945;
color: #fff;
}
.delete-btn:hover {
background-color: #e6503e;
opacity: 1;
transform: translateY(0);
transition-duration: 0.35s;
cursor: pointer;
}
.edit-btn {
background-color: #2f80ed;
color: #fff;
}
.edit-btn:hover {
background-color: #1366d6;
opacity: 1;
transform: translateY(0);
transition-duration: 0.35s;
cursor: pointer;
}
.task {
color: black;
}