2017-02-08 11:43:28 -05:00
|
|
|
// ==========================================================================
|
2022-05-12 16:15:44 +02:00
|
|
|
// Elements / Document
|
2017-02-08 11:43:28 -05:00
|
|
|
// ==========================================================================
|
2016-12-18 15:45:44 -05:00
|
|
|
|
2022-04-29 14:09:26 +02:00
|
|
|
//
|
2017-02-08 11:43:28 -05:00
|
|
|
// Simple page-level setup.
|
|
|
|
|
//
|
2023-06-12 16:50:40 +02:00
|
|
|
// 1. Includes fonts
|
2020-01-20 15:49:33 -05:00
|
|
|
// 2. Ensure the page always fills at least the entire height of the viewport.
|
2022-05-17 12:08:01 +02:00
|
|
|
// 3. Set the default `font-size` and `line-height` for the entire project,
|
|
|
|
|
// sourced from our default variables.
|
2022-05-02 10:30:35 +02:00
|
|
|
|
2022-05-02 16:56:25 +02:00
|
|
|
@include font-faces($font-faces, $font-dir); // [1]
|
2022-05-02 10:30:35 +02:00
|
|
|
|
2016-12-18 15:45:44 -05:00
|
|
|
html {
|
2022-05-02 16:56:25 +02:00
|
|
|
min-height: 100%; // [2]
|
2023-01-04 11:26:56 +01:00
|
|
|
line-height: $line-height; // [3]
|
2022-05-02 10:30:35 +02:00
|
|
|
font-family: ff("sans");
|
2022-05-20 13:32:47 +02:00
|
|
|
color: $font-color;
|
2020-03-03 08:53:10 -05:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2018-03-28 10:17:20 -04:00
|
|
|
|
2024-03-26 16:50:16 -04:00
|
|
|
@media (max-width: $to-sm) {
|
2020-10-26 15:27:30 -04:00
|
|
|
font-size: $font-size - 2px;
|
2018-03-28 10:17:20 -04:00
|
|
|
}
|
|
|
|
|
|
2024-03-26 16:50:16 -04:00
|
|
|
@media (min-width: $from-sm) and (max-width: $to-lg) {
|
2020-10-26 15:27:30 -04:00
|
|
|
font-size: $font-size - 1px;
|
2018-03-28 10:17:20 -04:00
|
|
|
}
|
|
|
|
|
|
2024-03-26 16:50:16 -04:00
|
|
|
@media (min-width: $from-lg) and (max-width: $to-2xl) {
|
|
|
|
|
font-size: $font-size;
|
2018-03-28 10:17:20 -04:00
|
|
|
}
|
|
|
|
|
|
2024-03-26 16:50:16 -04:00
|
|
|
@media (min-width: $from-2xl) and (max-width: $to-3xl) {
|
2020-10-26 15:27:30 -04:00
|
|
|
font-size: $font-size + 1px;
|
2018-03-28 10:17:20 -04:00
|
|
|
}
|
|
|
|
|
|
2024-03-26 16:50:16 -04:00
|
|
|
@media (min-width: $from-3xl) {
|
2020-10-26 15:27:30 -04:00
|
|
|
font-size: $font-size + 2px;
|
2018-03-28 10:17:20 -04:00
|
|
|
}
|
|
|
|
|
|
2019-06-26 09:32:15 -04:00
|
|
|
&.is-loading {
|
|
|
|
|
cursor: wait;
|
|
|
|
|
}
|
2019-07-19 15:57:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
2016-12-18 15:45:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::selection {
|
2023-04-19 15:37:52 +02:00
|
|
|
background-color: $color-selection-background;
|
|
|
|
|
color: $color-selection-text;
|
2017-04-27 16:00:45 -04:00
|
|
|
text-shadow: none;
|
2016-12-18 15:45:44 -05:00
|
|
|
}
|
2017-02-08 11:43:28 -05:00
|
|
|
|
|
|
|
|
a {
|
2022-05-20 13:32:47 +02:00
|
|
|
color: $color-link;
|
2019-07-24 16:28:56 -04:00
|
|
|
|
2017-02-08 11:43:28 -05:00
|
|
|
@include u-hocus {
|
2022-05-20 13:32:47 +02:00
|
|
|
color: $color-link-hover;
|
2017-02-08 11:43:28 -05:00
|
|
|
}
|
|
|
|
|
}
|