-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstyle.css
121 lines (108 loc) · 2.12 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
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background-color: #f5f5f5;
}
.flex-middle {
display: flex;
align-items: center;
justify-content: center;
}
.column {
display: flex;
flex-direction: column;
}
.title-text {
font-size: 2rem;
font-weight: 600;
margin: 0;
}
.margin-big {
margin: 2rem 0;
}
#search-results {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 2rem 0;
}
#search-results-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 1rem;
}
@media screen and (max-width: 1200px) {
#search-results-list {
grid-template-columns: repeat(3, 1fr);
}
}
@media screen and (max-width: 900px) {
#search-results-list {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (max-width: 600px) {
#search-results-list {
grid-template-columns: repeat(1, 1fr);
}
}
.album {
width: 200px;
margin: 1rem;
padding: 1rem;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease-in-out;
user-select: none;
cursor: pointer;
}
.album:hover {
transform: scale(1.05);
}
.lds-ring {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid #fff;
border-radius: 50%;
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.footer {
position: fixed;
width: 100%;
height: 100px;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
}