Move CSS variables to base file
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
// CSS Variables
|
||||||
|
:root {
|
||||||
|
// Sizes
|
||||||
|
--container-width: $container-width;
|
||||||
|
|
||||||
|
// 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);
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font: #{$base-font-size}/1.2 $font-sans;
|
font: #{$base-font-size}/1.2 $font-sans;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
@@ -16,19 +16,6 @@ $color-shadow-brown: #7A5D44;
|
|||||||
$color-cream: #FEF6EF;
|
$color-cream: #FEF6EF;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// CSS Variables
|
|
||||||
:root {
|
|
||||||
// Sizes
|
|
||||||
--container-width: 1800px;
|
|
||||||
|
|
||||||
// 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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Fonts
|
/* Fonts
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
$base-font-size: 28px !default;
|
$base-font-size: 28px !default;
|
||||||
@@ -44,6 +31,7 @@ $font-serif: "Magnolia", #{$replacement-serif};
|
|||||||
/* Sizes, margins and spacing
|
/* Sizes, margins and spacing
|
||||||
====================================================================== */
|
====================================================================== */
|
||||||
$base-width: 1600 !default;
|
$base-width: 1600 !default;
|
||||||
|
$container-width: 1800px !default;
|
||||||
|
|
||||||
// Grid
|
// Grid
|
||||||
$cols-m: 8 !default;
|
$cols-m: 8 !default;
|
||||||
|
|||||||
Reference in New Issue
Block a user