-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_reset.scss
More file actions
53 lines (46 loc) · 1.25 KB
/
_reset.scss
File metadata and controls
53 lines (46 loc) · 1.25 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// =============================
// Enable Private Variables
// =============================
$_global-box-sizing: $global-box-sizing;
// =============================
// Core Base Reset Styling
// =============================
body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
form, fieldset, legend,
table, th, td, caption,
hr {
margin: 0;
padding: 0;
}
//
// If Global Box Sizing Boolean is set to true, add box-sizing to all elements.
// Note - For alternative approach, view grids partial.
//
@if $_global-box-sizing == true {
* {
&,
&:before,
&:after {
box-sizing: border-box;
}
}
}
//
// 1. Set the default `font-size` for the entire project,
// sourced from our default variables.
// 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: $base-background-color;
color: $base-text-color;
font-family: $font-family-alpha;
font-size: to-pixel($base-font-size); // 1
overflow-y: scroll; // 2
min-height: 100%; // 3
}