Added scrollbehaviour.
This commit is contained in:
parent
7d1b9a7789
commit
c3c15ed2ce
|
@ -1,2 +1,6 @@
|
||||||
|
// Select the font to be used for most of the text.
|
||||||
// $font-body-text: 'Manrope', sans-serif;
|
// $font-body-text: 'Manrope', sans-serif;
|
||||||
$font-body-text: 'Alegreya', serif;
|
$font-body-text: 'Alegreya', serif;
|
||||||
|
|
||||||
|
// Select the scroll behavior. [ smooth | auto ]
|
||||||
|
$scroll-behaviour: smooth;
|
|
@ -1,4 +1,5 @@
|
||||||
@use "palette";
|
@use "palette";
|
||||||
|
@use "settings";
|
||||||
|
|
||||||
:root,
|
:root,
|
||||||
*,
|
*,
|
||||||
|
@ -8,6 +9,7 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
scroll-behavior: settings.$scroll-behaviour;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root,
|
:root,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user