25 lines
320 B
SCSS
25 lines
320 B
SCSS
|
/** @format */
|
||
|
|
||
|
// By using CSS variables, we can switch the spacing rhythm using a single media query.
|
||
|
:root {
|
||
|
--main-gap: 24px;
|
||
|
}
|
||
|
@media (max-width: 782px) {
|
||
|
:root {
|
||
|
--main-gap: 16px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Set up animation
|
||
|
@keyframes loading-fade {
|
||
|
0% {
|
||
|
opacity: 0.7;
|
||
|
}
|
||
|
50% {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
100% {
|
||
|
opacity: 0.7;
|
||
|
}
|
||
|
}
|