-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
79 lines (65 loc) · 1.11 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: hsl(194, 35%, 42%);
--primary-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
body {
background: hsl(210, 36%, 96%);
}
.container {
max-width: 350px;
text-align: center;
padding: 10px 15px;
margin: 20vh auto 0;
background: hsl(200, 18%, 97%);
box-shadow: var(--primary-shadow);
}
h1 {
margin: 10px 0;
color: var(--primary);
}
.input-area {
display: flex;
}
input {
padding: 5px;
flex: 1;
color: var(--primary);
border: 1px solid var(--primary);
}
input:focus {
outline: none;
}
.add-btn {
padding: 5px;
cursor: pointer;
background: hsl(206, 40%, 83%);
border: 2px solid hsl(208, 30%, 68%);
}
.list {
padding: 0 10px;
}
.list-items {
display: flex;
align-items: center;
justify-content: space-between;
margin: 20px 0;
}
#item-name {
color: var(--primary);
}
.btn {
background: transparent;
border: none;
}
.fa-trash-alt {
color: hsl(0, 89%, 57%);
margin-right: 5px;
}
.fa-edit {
color: hsl(120, 83%, 32%);
}