@new-ui/reset 0.0.6 → 0.0.8

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/dist/index.css CHANGED
@@ -1,2 +1,2 @@
1
- *,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;vertical-align:baseline;font-size:100%}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0;padding:0}ol,ul{list-style:none}img,picture{max-width:100%;display:block}input,textarea,button,select{margin:0;font-family:inherit;font-size:100%}table{border-collapse:collapse;border-spacing:0}
1
+ *,:before,:after{box-sizing:border-box}html{text-size-adjust:none;vertical-align:baseline}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0;margin-block-end:0;padding:0}ul[role=list],ol[role=list]{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,textarea,button,select{font-family:inherit;font-size:inherit;margin:0}table{border-collapse:collapse;border-spacing:0}:target{scroll-margin-block:5ex}
2
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"mappings":"ACAA,uCAIA,oGAOA,8DAMA,sBAIA,yCAMA,yEAMA","sources":["index.css","../../New%20Packages/reset/src/_reset.scss"],"sourcesContent":["*, :before, :after {\n box-sizing: border-box;\n}\n\nhtml {\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n vertical-align: baseline;\n font-size: 100%;\n}\n\nbody, h1, h2, h3, h4, p, figure, blockquote, dl, dd {\n margin: 0;\n padding: 0;\n}\n\nol, ul {\n list-style: none;\n}\n\nimg, picture {\n max-width: 100%;\n display: block;\n}\n\ninput, textarea, button, select {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n/*# sourceMappingURL=index.css.map */\n",null],"names":[],"version":3,"file":"index.css.map"}
1
+ {"mappings":"ACAA,uCAIA,mDAOA,iFAOA,4CAKA,sCAKA,8BAKA,6CAIA,yCAMA,4EAMA,gDAKA","sources":["index.css","../../New%20Packages/reset/src/_reset.scss"],"sourcesContent":["*, :before, :after {\n box-sizing: border-box;\n}\n\nhtml {\n text-size-adjust: none;\n vertical-align: baseline;\n}\n\nbody, h1, h2, h3, h4, p, figure, blockquote, dl, dd {\n margin: 0;\n margin-block-end: 0;\n padding: 0;\n}\n\nul[role=\"list\"], ol[role=\"list\"] {\n list-style: none;\n}\n\nbody {\n min-height: 100vh;\n line-height: 1.5;\n}\n\nh1, h2, h3, h4 {\n text-wrap: balance;\n}\n\na:not([class]) {\n text-decoration-skip-ink: auto;\n}\n\nimg, picture {\n max-width: 100%;\n display: block;\n}\n\ninput, textarea, button, select {\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\n:target {\n scroll-margin-block: 5ex;\n}\n/*# sourceMappingURL=index.css.map */\n",null],"names":[],"version":3,"file":"index.css.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@new-ui/reset",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "SCSS, CSS reset.",
5
5
  "source": "src/index.scss",
6
6
  "main": "dist/index.css",
package/src/_reset.scss CHANGED
@@ -3,9 +3,9 @@
3
3
  }
4
4
 
5
5
  html {
6
- font-size: 100%;
7
- -webkit-text-size-adjust: 100%;
8
- -ms-text-size-adjust: 100%;
6
+ -moz-text-size-adjust: none;
7
+ -webkit-text-size-adjust: none;
8
+ text-size-adjust: none;
9
9
  vertical-align: baseline;
10
10
  }
11
11
 
@@ -13,10 +13,26 @@ body, h1, h2, h3, h4, p,
13
13
  figure, blockquote, dl, dd {
14
14
  margin: 0;
15
15
  padding: 0;
16
+ margin-block-end: 0;
16
17
  }
17
18
 
18
- ol, ul {
19
- list-style: none;
19
+ ul[role='list'],
20
+ ol[role='list'] {
21
+ list-style: none;
22
+ }
23
+
24
+ body {
25
+ min-height: 100vh;
26
+ line-height: 1.5;
27
+ }
28
+
29
+ h1, h2,
30
+ h3, h4 {
31
+ text-wrap: balance;
32
+ }
33
+
34
+ a:not([class]) {
35
+ text-decoration-skip-ink: auto;
20
36
  }
21
37
 
22
38
  img,
@@ -27,11 +43,15 @@ picture {
27
43
 
28
44
  input, textarea, button, select {
29
45
  font-family: inherit;
30
- font-size: 100%;
46
+ font-size: inherit;
31
47
  margin: 0;
32
48
  }
33
49
 
34
50
  table {
35
51
  border-collapse: collapse;
36
52
  border-spacing: 0;
53
+ }
54
+
55
+ :target {
56
+ scroll-margin-block: 5ex;
37
57
  }