-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path_body.scss
More file actions
42 lines (35 loc) · 901 Bytes
/
_body.scss
File metadata and controls
42 lines (35 loc) · 901 Bytes
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
@use "../01-abstract/variables" as *;
@use "../02-tools/m-rtl" as *;
html {
/* Set automatic RTL direction depending on lang attribute */
@include set-rtl-direction;
/* Apply border-box across the entire page. */
box-sizing: border-box;
// HTML resets
font-family: $font-family-primary;
line-height: $line-height-base;
// Scroll resets
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
// Fonts resets
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: auto;
}
/**
* Relax the definition a bit, to allow components to override it manually.
*/
* {
&,
&::before,
&::after {
box-sizing: inherit;
}
}
body {
font-family: $font-family-primary;
font-size: $font-size-base;
font-weight: normal;
color: $color-text;
background-color: $color-light;
}