2024-09-23 20:40:12 +00:00
|
|
|
/**
|
|
|
|
* Layout breakpoints
|
|
|
|
* $mobile: screen width below this value will use mobile styles
|
|
|
|
* $desktop: screen width above this value will use desktop styles
|
|
|
|
* Screen width between $mobile and $desktop width will use the tablet layout.
|
|
|
|
* assuming mobile < desktop
|
|
|
|
*/
|
|
|
|
$breakpoints: (
|
|
|
|
mobile: 800px,
|
|
|
|
desktop: 1200px,
|
|
|
|
);
|
|
|
|
|
|
|
|
$mobile: "(max-width: #{map-get($breakpoints, mobile)})";
|
|
|
|
$tablet: "(min-width: #{map-get($breakpoints, mobile)}) and (max-width: #{map-get($breakpoints, desktop)})";
|
|
|
|
$desktop: "(max-width: #{map-get($breakpoints, desktop)})";
|
|
|
|
|
|
|
|
$pageWidth: #{map-get($breakpoints, mobile)};
|
|
|
|
$sidePanelWidth: 320px; //380px;
|
2023-07-04 17:08:32 +00:00
|
|
|
$topSpacing: 6rem;
|
2024-02-02 08:53:05 +00:00
|
|
|
$boldWeight: 700;
|
2024-02-17 18:34:46 +00:00
|
|
|
$semiBoldWeight: 600;
|
2024-02-02 08:53:05 +00:00
|
|
|
$normalWeight: 400;
|
2024-09-23 20:40:12 +00:00
|
|
|
|
|
|
|
$mobileGrid: (
|
|
|
|
templateRows: "auto auto auto auto auto",
|
|
|
|
templateColumns: "auto",
|
|
|
|
rowGap: "5px",
|
|
|
|
columnGap: "5px",
|
|
|
|
templateAreas:
|
2024-10-01 15:49:13 +00:00
|
|
|
'"grid-sidebar-left"\
|
|
|
|
"grid-header"\
|
|
|
|
"grid-center"\
|
|
|
|
"grid-sidebar-right"\
|
|
|
|
"grid-footer"',
|
2024-09-23 20:40:12 +00:00
|
|
|
);
|
|
|
|
$tabletGrid: (
|
|
|
|
templateRows: "auto auto auto auto",
|
|
|
|
templateColumns: "#{$sidePanelWidth} auto",
|
|
|
|
rowGap: "5px",
|
|
|
|
columnGap: "5px",
|
|
|
|
templateAreas:
|
2024-10-01 15:49:13 +00:00
|
|
|
'"grid-sidebar-left grid-header"\
|
|
|
|
"grid-sidebar-left grid-center"\
|
|
|
|
"grid-sidebar-left grid-sidebar-right"\
|
|
|
|
"grid-sidebar-left grid-footer"',
|
2024-09-23 20:40:12 +00:00
|
|
|
);
|
|
|
|
$desktopGrid: (
|
|
|
|
templateRows: "auto auto auto",
|
|
|
|
templateColumns: "#{$sidePanelWidth} auto #{$sidePanelWidth}",
|
|
|
|
rowGap: "5px",
|
|
|
|
columnGap: "5px",
|
|
|
|
templateAreas:
|
2024-10-01 15:49:13 +00:00
|
|
|
'"grid-sidebar-left grid-header grid-sidebar-right"\
|
|
|
|
"grid-sidebar-left grid-center grid-sidebar-right"\
|
|
|
|
"grid-sidebar-left grid-footer grid-sidebar-right"',
|
2024-09-23 20:40:12 +00:00
|
|
|
);
|