-
Notifications
You must be signed in to change notification settings - Fork 37
/
_html.scss
37 lines (31 loc) · 976 Bytes
/
_html.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* ==========================================================================
#PAGE
========================================================================== */
/**
* Simple page-level setup.
*
* 1. Set the default `font-size` and `line-height` for the entire project.
* 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.
*/
html {
background: $color-bg;
color: $color-text;
font-family: $font-sans-serif;
font-size: 0.8125rem; /* [1] */ /* 13px */
line-height: 1.5; /* [1] */
min-height: 100%; /* [3] */
overflow-y: scroll; /* [2] */
padding: 1rem;
@include bp-medium {
font-size: 0.875em; /* 14px */
}
@include bp-large {
font-size: 0.9375em; /* 15px */
}
@include bp-full {
font-size: 1em; /* 16px */
}
}