@xiee/utils 1.12.7 → 1.12.9
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 +22 -0
- package/css/book.min.css +1 -1
- package/package.json +1 -1
package/css/book.css
CHANGED
|
@@ -23,4 +23,26 @@ body {
|
|
|
23
23
|
padding: 20vh 1em 1em;
|
|
24
24
|
margin-top: -1em;
|
|
25
25
|
}
|
|
26
|
+
.main-number::before {
|
|
27
|
+
content: "Chapter ";
|
|
28
|
+
}
|
|
29
|
+
#TOC .main-number::before, .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
|
+
}
|
|
47
|
+
.body h2 { border-bottom-style: dashed; }
|
|
26
48
|
/* 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 "}#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}
|