Edit base and home style
This commit is contained in:
parent
9b238fcf7d
commit
00d58f620d
10 changed files with 61 additions and 32 deletions
|
@ -2,23 +2,38 @@
|
|||
// VARIABLES
|
||||
// --------------------------------------------------
|
||||
|
||||
// Fonts
|
||||
// ----- FONTS
|
||||
|
||||
$text-font-family: Helvetica, Arial, sans-serif;
|
||||
$text-font-size: 0.9rem;
|
||||
$text-line-height: 1.15;
|
||||
|
||||
// Dimensions
|
||||
$app-width: min(100%, 120rem); // => 1920px
|
||||
$large-content-width: min(100%, 100rem); // => 1600px
|
||||
$medium-content-width: min(100%, 80rem); // => 1280px
|
||||
$small-content-width: min(100%, 60rem); // => 960px
|
||||
$icon-size: clamp(2rem, 1.667rem + 0.694vw, 2.5rem); // Viewport range: 48rem <=> 120rem
|
||||
$icon-spacing: clamp(0.25rem, 0.083rem + 0.347vw, 0.5rem); // Viewport range: 48rem <=> 120rem
|
||||
// ----- COLORS
|
||||
|
||||
// Colors
|
||||
$black: #000;
|
||||
$white: #fff;
|
||||
|
||||
// ----- DIMENSIONS
|
||||
|
||||
// Content
|
||||
$content-width-xs: min(100%, 40rem); // => 640px
|
||||
$content-width-s: min(100%, 60rem); // => 960px
|
||||
$content-width-m: min(100%, 80rem); // => 1280px
|
||||
$content-width-l: min(100%, 100rem); // => 1600px
|
||||
$content-width-xl: min(100%, 120rem); // => 1920px
|
||||
|
||||
// Sidebar
|
||||
$sidebar-padding-x: clamp(0.75rem, -0.75rem + 3.125vw, 3rem); // Viewport range: 48rem <=> 120rem
|
||||
$sidebar-padding-y: clamp(0.75rem, 0.25rem + 1.042vw, 1.5rem); // Viewport range: 48rem <=> 120rem
|
||||
|
||||
// Logo
|
||||
$logo-portrait-width: clamp(2rem, 1.333rem + 1.389vw, 3rem); // Viewport range: 48rem <=> 120rem
|
||||
$logo-landscape-width: calc($logo-portrait-width * 2);
|
||||
|
||||
// Icons
|
||||
$icon-size: clamp(2rem, 1.667rem + 0.694vw, 2.5rem); // Viewport range: 48rem <=> 120rem
|
||||
$icon-spacing: clamp(0.25rem, 0.083rem + 0.347vw, 0.5rem); // Viewport range: 48rem <=> 120rem
|
||||
|
||||
// Media queries
|
||||
$tablet-media-query: 48rem; // => 768px
|
||||
$desktop-media-query: 62rem; // => 992px
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue