-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (70 loc) · 1.38 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
outline: none;
}
body {
background: url("./img/background.jpg");
}
.container {
background-color: #424141;
width: 500px;
border-radius: 10px;
padding: 20px;
margin: 100px auto 0;
}
.input-task {
border: none;
text-align: center;
border-radius: 5px;
width: 300px;
height: 40px;
}
.button-add-task {
border: none;
border-radius: 5px;
height: 40px;
background-color: #003329;
color: #ffffff;
font-size: 17px;
padding: 0 15px;
float: right;
cursor: pointer;
}
.button-add-task:hover {
opacity: 0.8;
}
.button-add-task:active {
opacity: 0.6;
}
.list-task {
width: 100%;
list-style: none;
margin-top: 30px;
}
.task {
background-color: #000000;
color: #ffffff;
font: bold;
box-shadow: 1px 4px 10px rgba(255, 255, 255, 0.2);
height: 50px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 15px;
margin-bottom: 20px;
}
img {
height: 25px;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.task:hover img {
opacity: 1;
}
.done {
background-color: #000000;
text-decoration: line-through;
}