@xiee/utils 1.12.7 → 1.12.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/css/book.css CHANGED
@@ -23,4 +23,25 @@ body {
23
23
  padding: 20vh 1em 1em;
24
24
  margin-top: -1em;
25
25
  }
26
+ .main-number::before {
27
+ content: "Chapter ";
28
+ }
29
+ .appendix .main-number::before {
30
+ content: none;
31
+ }
32
+ .main-number::after {
33
+ content: none;
34
+ }
35
+ .appendix .main-number::after {
36
+ content: ".";
37
+ }
38
+ .chapter h1 {
39
+ margin: 1em auto 3em;
40
+ border-bottom: 1px solid;
41
+ }
42
+ h1 .section-number {
43
+ display: inline-block;
44
+ border-bottom: 4px solid;
45
+ margin-bottom: -4px;
46
+ }
26
47
  /* TODO: style for h1.part and printing */
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}
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}.main-number::before{content:"Chapter "}.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}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiee/utils",
3
- "version": "1.12.7",
3
+ "version": "1.12.8",
4
4
  "description": "Miscellaneous tools and utilities to manipulate HTML pages",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"