2017-02-08 11:43:28 -05:00
|
|
|
|
// ==========================================================================
|
|
|
|
|
|
// Base / Page
|
|
|
|
|
|
// ==========================================================================
|
2016-12-18 15:45:44 -05:00
|
|
|
|
|
2017-02-08 11:43:28 -05:00
|
|
|
|
//
|
|
|
|
|
|
// Simple page-level setup.
|
|
|
|
|
|
//
|
|
|
|
|
|
// 1. Set the default `font-size` and `line-height` for the entire project,
|
2018-04-09 10:45:19 -04:00
|
|
|
|
// sourced from our default variables.
|
2017-02-08 11:43:28 -05:00
|
|
|
|
// 2. Force scrollbars to always be visible to prevent awkward ‘jumps’ when
|
|
|
|
|
|
// navigating between pages that do/do not have enough content to produce
|
|
|
|
|
|
// scrollbars naturally.
|
|
|
|
|
|
// 3. Ensure the page always fills at least the entire height of the viewport.
|
|
|
|
|
|
//
|
2016-12-18 15:45:44 -05:00
|
|
|
|
html {
|
2017-04-27 16:00:45 -04:00
|
|
|
|
overflow-y: scroll; /* [2] */
|
|
|
|
|
|
min-height: 100%; /* [3] */
|
|
|
|
|
|
color: $color;
|
2017-02-08 11:43:28 -05:00
|
|
|
|
font-family: $font-family;
|
|
|
|
|
|
line-height: $line-height; /* [1] */
|
2018-03-28 10:17:20 -04:00
|
|
|
|
|
|
|
|
|
|
@media (max-width: $to-small) {
|
2018-04-09 10:45:19 -04:00
|
|
|
|
font-size: 12px;
|
2018-03-28 10:17:20 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: $from-small) and (max-width: $to-medium) {
|
2018-04-09 10:45:19 -04:00
|
|
|
|
font-size: 13px;
|
2018-03-28 10:17:20 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: $from-medium) and (max-width: $to-large) {
|
2018-04-09 10:45:19 -04:00
|
|
|
|
font-size: 14px;
|
2018-03-28 10:17:20 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: $from-large) and (max-width: $to-huge) {
|
2018-04-09 10:45:19 -04:00
|
|
|
|
font-size: $font-size; /* [1] */
|
2018-03-28 10:17:20 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: $from-huge) and (max-width: $to-gigantic) {
|
2018-04-09 10:45:19 -04:00
|
|
|
|
font-size: 18px;
|
2018-03-28 10:17:20 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: $from-gigantic) and (max-width: $to-colossal) {
|
2018-04-09 10:45:19 -04:00
|
|
|
|
font-size: 21px;
|
2018-03-28 10:17:20 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: $from-colossal) {
|
2018-04-09 10:45:19 -04:00
|
|
|
|
font-size: 24px;
|
2018-03-28 10:17:20 -04:00
|
|
|
|
}
|
2019-06-26 09:32:15 -04:00
|
|
|
|
|
|
|
|
|
|
&.is-loading {
|
|
|
|
|
|
cursor: wait;
|
|
|
|
|
|
}
|
2016-12-18 15:45:44 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
::selection {
|
2017-02-08 11:43:28 -05:00
|
|
|
|
background-color: $selection-background-color;
|
2017-04-27 16:00:45 -04:00
|
|
|
|
color: $selection-text-color;
|
|
|
|
|
|
text-shadow: none;
|
2016-12-18 15:45:44 -05:00
|
|
|
|
}
|
2017-02-08 11:43:28 -05:00
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
|
@include u-hocus {
|
|
|
|
|
|
color: $link-hover-color;
|
|
|
|
|
|
}
|
2017-04-27 16:00:45 -04:00
|
|
|
|
|
|
|
|
|
|
color: $link-color;
|
2017-02-08 11:43:28 -05:00
|
|
|
|
}
|