2015-07-12 15:01:42 -04:00
|
|
|
// Variables
|
|
|
|
///////////////
|
|
|
|
|
|
|
|
// Screen breakpoints
|
2018-12-08 18:34:06 -05:00
|
|
|
$xxl: 1400px;
|
2015-07-12 15:01:42 -04:00
|
|
|
$xl: 1100px;
|
|
|
|
$l: 1000px;
|
2018-10-16 13:49:16 -04:00
|
|
|
$m: 880px;
|
2015-07-12 15:01:42 -04:00
|
|
|
$s: 600px;
|
|
|
|
$xs: 400px;
|
|
|
|
$xxs: 360px;
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
// List of screen sizes
|
2018-10-16 13:49:16 -04:00
|
|
|
$screen-sizes: (('xxs', $xxs), ('xs', $xs), ('s', $s), ('m', $m), ('l', $l), ('xl', $xl));
|
|
|
|
|
2015-07-12 15:01:42 -04:00
|
|
|
// Spacing (Margins+Padding)
|
|
|
|
$-xxxl: 64px;
|
|
|
|
$-xxl: 48px;
|
|
|
|
$-xl: 32px;
|
|
|
|
$-l: 24px;
|
|
|
|
$-m: 16px;
|
|
|
|
$-s: 12px;
|
|
|
|
$-xs: 6px;
|
|
|
|
$-xxs: 3px;
|
|
|
|
|
2019-04-07 04:57:48 -04:00
|
|
|
// List of our spacing sizes
|
2021-03-21 11:04:32 -04:00
|
|
|
$spacing: (('none', 0), ('xxs', $-xxs), ('xs', $-xs), ('s', $-s), ('m', $-m), ('l', $-l), ('xl', $-xl), ('xxl', $-xxl), ('auto', auto));
|
2018-10-16 13:49:16 -04:00
|
|
|
|
2015-07-12 15:01:42 -04:00
|
|
|
// Fonts
|
2017-08-19 09:33:55 -04:00
|
|
|
$text: -apple-system, BlinkMacSystemFont,
|
|
|
|
"Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell",
|
|
|
|
"Fira Sans", "Droid Sans", "Helvetica Neue",
|
|
|
|
sans-serif;
|
2020-09-23 17:19:30 -04:00
|
|
|
$mono: "Lucida Console", "DejaVu Sans Mono", "Ubuntu Mono", Monaco, monospace;
|
2018-12-01 11:29:57 -05:00
|
|
|
$fs-m: 14px;
|
|
|
|
$fs-s: 12px;
|
2015-07-12 15:01:42 -04:00
|
|
|
|
|
|
|
// Colours
|
2019-08-25 07:40:04 -04:00
|
|
|
:root {
|
2019-08-26 09:37:53 -04:00
|
|
|
--color-primary: #206ea7;
|
|
|
|
--color-primary-light: rgba(32,110,167,0.15);
|
2023-01-28 11:06:11 -05:00
|
|
|
--color-link: #206ea7;
|
2019-08-26 09:37:53 -04:00
|
|
|
|
|
|
|
--color-page: #206ea7;
|
|
|
|
--color-page-draft: #7e50b1;
|
|
|
|
--color-chapter: #af4d0d;
|
|
|
|
--color-book: #077b70;
|
|
|
|
--color-bookshelf: #a94747;
|
2022-07-13 10:23:03 -04:00
|
|
|
|
|
|
|
--bg-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='19' height='19' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(143)'%3E%3Crect width='100%25' height='100%25' fill='rgba(42, 67, 101,0)'/%3E%3Cpath d='M-10 30h60v20h-60zM-10-10h60v20h-60' fill='rgba(26, 32, 44,0)'/%3E%3Cpath d='M-10 10h60v20h-60zM-10-30h60v20h-60z' fill='rgba(0, 0, 0,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E");
|
|
|
|
}
|
|
|
|
|
|
|
|
:root.dark-mode {
|
|
|
|
--bg-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='19' height='19' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(143)'%3E%3Crect width='100%25' height='100%25' fill='rgba(42, 67, 101,0)'/%3E%3Cpath d='M-10 30h60v20h-60zM-10-10h60v20h-60' fill='rgba(26, 32, 44,0)'/%3E%3Cpath d='M-10 10h60v20h-60zM-10-30h60v20h-60z' fill='rgba(255, 255, 255,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E");
|
2022-11-28 07:38:30 -05:00
|
|
|
color-scheme: only dark;
|
|
|
|
}
|
|
|
|
:root:not(.dark-mode) {
|
|
|
|
color-scheme: only light;
|
2019-08-25 07:40:04 -04:00
|
|
|
}
|
2019-08-26 09:37:53 -04:00
|
|
|
|
2019-05-05 19:15:03 -04:00
|
|
|
$positive: #0f7d15;
|
|
|
|
$negative: #ab0f0e;
|
2019-08-25 07:40:04 -04:00
|
|
|
$info: #0288D1;
|
|
|
|
$warning: #cf4d03;
|
2015-07-12 15:01:42 -04:00
|
|
|
|
|
|
|
// Text colours
|
|
|
|
$text-dark: #444;
|
|
|
|
|
|
|
|
// Shadows
|
|
|
|
$bs-light: 0 0 4px 1px #CCC;
|
2020-04-10 17:38:29 -04:00
|
|
|
$bs-dark: 0 0 4px 1px rgba(0, 0, 0, 0.5);
|
2015-07-12 15:01:42 -04:00
|
|
|
$bs-med: 0 1px 3px 1px rgba(76, 76, 76, 0.26);
|
2019-05-05 19:15:03 -04:00
|
|
|
$bs-large: 0 1px 6px 1px rgba(22, 22, 22, 0.2);
|
2018-10-21 15:05:11 -04:00
|
|
|
$bs-card: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
|
2020-04-11 10:48:08 -04:00
|
|
|
$bs-card-dark: 0 1px 6px -1px rgba(0, 0, 0, 0.5);
|
2020-09-23 17:19:30 -04:00
|
|
|
$bs-hover: 0 2px 2px 1px rgba(0,0,0,.13);
|