Newer
Older
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
54
55
56
57
58
59
60
61
/*------------------------------------*\
$BASE DEFAULTS
\*------------------------------------*/
// Box Sizing
*,
*::before,
*::after {
box-sizing: border-box;
}
// Prevent text size change on orientation change.
// sass-lint:disable no-vendor-prefixes
html {
font-family: $font--primary;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
overflow-x: hidden;
&.no-scroll {
overflow-y: hidden;
}
}
// Prevent empty space below images appearing
img,
svg {
vertical-align: top;
}
// Responsive images
img {
height: auto;
max-width: 100%;
}
// sass-lint:disable single-line-per-selector
button, input, select, textarea {
font-family: inherit;
}
// sass-lint:enddisable
a {
color: $color--primary;
text-decoration: none;
&:hover {
cursor: pointer;
}
}
ul,
ol {
padding: 0;
margin: 0;
list-style: none;
}
.is-invisible,
%is-invisible {
z-index: -1;
opacity: 0;
transition: opacity, z-index, $transition;
}
.is-visible,
%is-visible {
z-index: 5;
opacity: 1;
transition: opacity, z-index, $transition;
}
.is-hidden,
%is-hidden {
display: none;
}
.is-unhidden,
%is-unhidden {
display: block;
}