@muonic/muon 0.0.2-experimental-187-647c5c4.0 → 0.0.2-experimental-188-d0239e8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/global.css +27 -17
- package/package.json +1 -1
package/css/global.css
CHANGED
|
@@ -3,23 +3,33 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* [1] Apply a natural box layout model to all elements
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
*,
|
|
7
|
+
*::before,
|
|
8
|
+
*::after {
|
|
9
|
+
box-sizing: border-box; /* [1] */
|
|
10
|
+
}
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
/**
|
|
13
|
+
* [1] Remove the user agent margin
|
|
14
|
+
* [2] Default font family and base size
|
|
15
|
+
* [3] Disallow any content to overflow the width
|
|
16
|
+
* [4] TODO: Tokenise the global line-height
|
|
17
|
+
* [5] TODO: Investigate this property as it may not be necessary
|
|
18
|
+
*/
|
|
19
|
+
body {
|
|
20
|
+
margin: 0; /* [1] */
|
|
21
|
+
font-family: $THEME_FONT_FAMILY_DEFAULT; /* [2] */
|
|
22
|
+
font-size: 16px; /* [2] */
|
|
23
|
+
overflow-x: hidden; /* [3] */
|
|
24
|
+
line-height: 1.5; /* [4] */
|
|
25
|
+
min-height: 100vh; /* [5] */
|
|
26
|
+
}
|
|
15
27
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
min-height: 100vh;
|
|
23
|
-
}
|
|
28
|
+
/**
|
|
29
|
+
* [1] Reset the user agent margin to 0 for figure
|
|
30
|
+
*/
|
|
31
|
+
figure {
|
|
32
|
+
margin: 0; /* [1] */
|
|
33
|
+
}
|
|
24
34
|
|
|
25
|
-
/* global.css END */
|
|
35
|
+
/* global.css END */
|