Put Switcher over and next to Footer

Clever solution to keep it over but next to the title and not hide it
This commit is contained in:
2022-09-20 10:32:35 +02:00
parent 5545871c85
commit be51fea5de
5 changed files with 25 additions and 15 deletions

View File

@@ -3,11 +3,20 @@
// Sizes
--container-width: #{$container-width};
// Offsets
--switcher-offset: 16px;
// Animation
--ease-quart: cubic-bezier(.165, .84, .44, 1);
--ease-cubic: cubic-bezier(.785, .135, .15, .86);
--ease-inout-quart: cubic-bezier(.76, 0, .24, 1);
}
@include bp (sm) {
:root {
// Offsets
--switcher-offset: clamp(20px, 3vw, 40px);
}
}
html {
font: #{$base-font-size}/1.2 $font-sans;