@xiee/utils 1.12.13 → 1.12.14

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/book.css CHANGED
@@ -31,18 +31,12 @@ body {
31
31
  margin-left: auto;
32
32
  }
33
33
  }
34
- .main-number::before {
34
+ .chapter:not(.appendix) .main-number::before {
35
35
  content: "Chapter ";
36
36
  }
37
- #TOC .main-number::before, .appendix .main-number::before {
37
+ .chapter:not(.appendix) .main-number::after {
38
38
  content: none;
39
39
  }
40
- .main-number::after {
41
- content: none;
42
- }
43
- .appendix .main-number::after {
44
- content: ".";
45
- }
46
40
  .chapter h1 {
47
41
  margin: 1em auto 3em;
48
42
  border-bottom: 1px solid;
package/css/book.min.css CHANGED
@@ -1 +1 @@
1
- body{font-size:1em;font-family:Palatino,Georgia,serif}.body .side,.footnotes,.side,code{font-size:.85em}.chapter,.frontmatter{min-height:calc(100vh - 1em)}.frontmatter{background-image:radial-gradient(#b6cee2 1px,#fff 1px);background-size:2em 2em;background-color:#fff;padding-bottom:0}.frontmatter>div{margin:0 -1em;background-color:#ebf6f9;padding:1em}.frontmatter .title{padding:20vh 1em 1em;margin-top:-1em}#TOC{margin-left:calc(-200px - .8em)}@media (max-width:1280px){#TOC{margin-left:auto}}.main-number::before{content:"Chapter "}#TOC .main-number::before,.appendix .main-number::before{content:none}.main-number::after{content:none}.appendix .main-number::after{content:"."}.chapter h1{margin:1em auto 3em;border-bottom:1px solid}h1 .section-number{display:inline-block;border-bottom:4px solid;margin-bottom:-4px}.body h2{border-bottom-style:dashed}
1
+ body{font-size:1em;font-family:Palatino,Georgia,serif}.body .side,.footnotes,.side,code{font-size:.85em}.chapter,.frontmatter{min-height:calc(100vh - 1em)}.frontmatter{background-image:radial-gradient(#b6cee2 1px,#fff 1px);background-size:2em 2em;background-color:#fff;padding-bottom:0}.frontmatter>div{margin:0 -1em;background-color:#ebf6f9;padding:1em}.frontmatter .title{padding:20vh 1em 1em;margin-top:-1em}#TOC{margin-left:calc(-200px - .8em)}@media (max-width:1280px){#TOC{margin-left:auto}}.chapter:not(.appendix) .main-number::before{content:"Chapter "}.chapter:not(.appendix) .main-number::after{content:none}.chapter h1{margin:1em auto 3em;border-bottom:1px solid}h1 .section-number{display:inline-block;border-bottom:4px solid;margin-bottom:-4px}.body h2{border-bottom-style:dashed}
package/js/snap.js CHANGED
@@ -187,7 +187,7 @@
187
187
  });
188
188
  }
189
189
  ['load', 'resize'].forEach(evt => window.addEventListener(evt, setScale));
190
- // restore previsouly saved body class
190
+ // restore previously saved body class
191
191
  const bc = sessionStorage.getItem('body-class');
192
192
  if (bc) d.body.className += ' ' + bc;
193
193
  })(document);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiee/utils",
3
- "version": "1.12.13",
3
+ "version": "1.12.14",
4
4
  "description": "Miscellaneous tools and utilities to manipulate HTML pages",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"