-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (74 loc) · 1.3 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
* {
margin: 0;padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%; height: 100%;
font-family: 'sans-serif';
font-size: 18px;
color: #555;
}
.header {
text-align: center;
margin-top: 20px;
}
.app {
width: 100%;
max-width: 400px;
margin: 20px auto 0;
padding: 10px 0;
overflow: hidden;
box-shadow: 5px 5px 5px grey;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
/* form */
/* ------------ */
.task-form {
margin: 10px 5px 0 5px;
}
.task-form__input {
padding: 5px;
width: 270px;
margin-right: 10px;
color: #444;
font-size: inherit;
outline: none;
border: 2px solid #999;
border-radius: 5px;
}
.input-error {
border: 1px solid red;
}
.task-form__button {
padding: 5px;
border-radius: 5px;
font-size: inherit;
}
/* task */
/* ------------ */
.task {
padding-left: 30px;
padding-top: 20px;
}
.task__element {
padding: 5px;
}
.task__wrapper {
display: flex;
justify-content: space-between;
}
.task__wrapper--name {
color: grey;
cursor: pointer;
}
.task__completed {
text-decoration: line-through;
color: red;
}
.task__button--button {
background-color: #ff481f69;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
}