@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.
Files changed (2) hide show
  1. package/css/global.css +27 -17
  2. 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
- html {
7
- box-sizing: border-box; /* [1] */
8
- }
6
+ *,
7
+ *::before,
8
+ *::after {
9
+ box-sizing: border-box; /* [1] */
10
+ }
9
11
 
10
- *,
11
- *::before,
12
- *::after {
13
- box-sizing: inherit; /* [1] */
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
- body {
17
- margin: 0;
18
- font-family: $THEME_FONT_FAMILY_DEFAULT;
19
- font-size: 16px;
20
- overflow-x: hidden;
21
- line-height: 1.5;
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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muonic/muon",
3
- "version": "0.0.2-experimental-187-647c5c4.0",
3
+ "version": "0.0.2-experimental-188-d0239e8.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {