forked from react-boilerplate/react-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_base.css
32 lines (27 loc) · 709 Bytes
/
_base.css
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
/*This file contains very basic styles.*/
/**
* Set up a decent box model on the root element
*/
html {
box-sizing: border-box;
}
/**
* Make all elements from the DOM inherit from the parent box-sizing
* Since `*` has a specificity of 0, it does not override the `html` value
* making all elements inheriting from the root box-sizing value
* See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
*/
*, *::before, *::after {
box-sizing: inherit;
}
html,
body {
margin: 0;
padding: 0;
}
body {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}
body.js-open-sans-loaded {
font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
}