-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (100 loc) · 1.77 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
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'roboto', sans-serif;
box-sizing: border-box;
}
body{
background: #edf0f2;
}
#app{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
text-align: center;
}
.form {
width: 100%;
}
.form h1{
font-size: 50px;
margin-bottom: 40px;
}
.form h1 span{
color: #43bc70;
}
.form .txtInputTask{
max-width: 350px;
padding: 8px 16px;
font-size: 16px;
border: 1px solid #43bc70;
border-radius: 3px;
outline: none;
}
.form .btnAddTask{
background: #43bc70;
padding: 8px 12px;
font-size: 16px;
cursor: pointer;
color: #fff;
border: 0;
border-radius: 3px;
outline: none;
}
.form .btnAddTask:hover{
opacity: 0.8;
}
#tasks {
width: 100%;
}
#tasks ul {
margin: 30px auto;
width: 335px;
}
#tasks li{
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
padding: 8px 20px;
background: #fff;
border-radius: 14px;
box-shadow: 2px 2px 2px 1px #43bc70;
list-style: none;
}
.no-tasks-icon{
max-width: 335px;
margin-top: 50px;
}
.no-tasks h2 {
color: #38365e;
margin-bottom: 15px;
}
.no-tasks.hidden {
visibility: hidden;
height: 0;
}
.btnRemove{
background: #fff;
color: #ff0000;
border: none;
cursor: pointer;
outline: none;
}
.btnRemove .fa-times-circle {
font-size: 25px;
border-radius: 50%;
transition: all ease .5s;
}
.btnRemove .fa-times-circle:hover {
background-color: #ff0000;
color: #fff;
border-radius: 50%;
}
@media(max-width: 375px) {
#tasks ul {
width: 85%;
}
}