-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (93 loc) · 1.76 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
:root {
/* color */
--color-black: #3f454d;
--color-white: #ffffff;
--color-blue: #3b88c3;
--color-yellow: #fbbe28;
--color-pink: #fd7f84;
--color-light-grey: #dfdfdf;
/* size */
--base-space: 8px;
--size-button: 60px;
--size-button-border: 4px;
--siez-thumnail: 40px;
--font-size: 18px;
/* animation */
--size-animaiton-duration: 300ms;
}
/* style */
body {
height: 100vh;
background-color: var(--color-black);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.logo {
cursor: pointer;
transition: transform var(--size-animaiton-duration) ease;
}
.buttons {
display: flex;
align-items: center;
}
.btn {
background-color: transparent;
margin-right: var(--base-space);
border: none;
outline: none;
cursor: pointer;
transition: transform var(--size-animaiton-duration) ease;
}
.btn:hover,
.logo:hover {
transform: scale(1.1);
}
.imgBtn {
width: var(--size-button);
height: var(--size-button);
}
.colorBtn {
font-size: var(--font-size);
padding: calc(var(--base-space) * 2);
border-radius: var(--size-button-border);
}
.blue {
background-color: var(--color-blue);
}
.yellow {
background-color: var(--color-yellow);
}
.pink {
background-color: var(--color-pink);
}
.items {
width: 60%;
height: 60%;
list-style-type: none;
padding-left: 0;
overflow-y: scroll;
}
.item {
background-color: white;
display: flex;
align-items: center;
padding: var(--base-space);
margin-bottom: var(--base-space);
}
.item:last-child {
margin-bottom: 0;
}
.item__thumbnail {
width: var(--siez-thumnail);
height: var(--siez-thumnail);
}
.item__description {
margin-left: var(--base-space);
font-size: var(--font-size);
}
/* invisible */
.invisible {
display: none;
}