@xiee/utils 1.12.10 → 1.12.11
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/callout.css +29 -0
- package/css/callout.min.css +1 -0
- package/css/default.css +4 -6
- package/css/default.min.css +1 -1
- package/package.json +1 -1
package/css/callout.css
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
fieldset {
|
|
2
|
+
font-size: .9em;
|
|
3
|
+
margin: 1em auto;
|
|
4
|
+
}
|
|
5
|
+
legend {
|
|
6
|
+
font-weight: bold;
|
|
7
|
+
border-style: groove;
|
|
8
|
+
padding: 2px .5em;
|
|
9
|
+
}
|
|
10
|
+
.callout-tip {
|
|
11
|
+
border-color: #9eeaf9;
|
|
12
|
+
}
|
|
13
|
+
.callout-caution {
|
|
14
|
+
background: #fff3cd;
|
|
15
|
+
border-color: #fff3cd;
|
|
16
|
+
}
|
|
17
|
+
.callout-important {
|
|
18
|
+
background: #f8d7da;
|
|
19
|
+
border-color: #f8d7da;
|
|
20
|
+
}
|
|
21
|
+
.callout-tip legend::before {
|
|
22
|
+
content: "☆ ";
|
|
23
|
+
}
|
|
24
|
+
.callout-caution legend::before {
|
|
25
|
+
content: "☂ ";
|
|
26
|
+
}
|
|
27
|
+
.callout-important legend::before {
|
|
28
|
+
content: "☀ ";
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fieldset{font-size:.9em;margin:1em auto}legend{font-weight:700;border-style:groove;padding:2px .5em}.callout-tip{border-color:#9eeaf9}.callout-caution{background:#fff3cd;border-color:#fff3cd}.callout-important{background:#f8d7da;border-color:#f8d7da}.callout-tip legend::before{content:"☆ "}.callout-caution legend::before{content:"☂ "}.callout-important legend::before{content:"☀ "}
|
package/css/default.css
CHANGED
|
@@ -6,7 +6,7 @@ body {
|
|
|
6
6
|
line-height: 1.5;
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
}
|
|
9
|
-
body, .footnotes, code
|
|
9
|
+
body, .footnotes, code { font-size: .9em; }
|
|
10
10
|
li li { font-size: .95em; }
|
|
11
11
|
*, *:before, *:after { box-sizing: inherit; }
|
|
12
12
|
a { color: steelblue; }
|
|
@@ -16,9 +16,9 @@ pre code { display: block; overflow-x: auto; }
|
|
|
16
16
|
code { font-family: 'DejaVu Sans Mono', 'Droid Sans Mono', 'Lucida Console', Consolas, Monaco, monospace; }
|
|
17
17
|
:not(pre) > code, code[class], .line-numbers, .box > div { background-color: #f8f8f8; }
|
|
18
18
|
pre > code:not([class]), pre > .language-plain, .box { background-color: inherit; border: 1px solid #eee; }
|
|
19
|
-
pre > .message
|
|
20
|
-
pre > .warning
|
|
21
|
-
pre > .error
|
|
19
|
+
pre > .message { border-color: #9eeaf9; }
|
|
20
|
+
pre > .warning { background: #fff3cd; border-color: #fff3cd; }
|
|
21
|
+
pre > .error { background: #f8d7da; border-color: #f8d7da; }
|
|
22
22
|
.fenced-chunk { border-left: 1px solid #666; }
|
|
23
23
|
.code-fence {
|
|
24
24
|
opacity: .4;
|
|
@@ -45,8 +45,6 @@ blockquote {
|
|
|
45
45
|
padding: 1px 1em;
|
|
46
46
|
border-left: .5em solid #eee;
|
|
47
47
|
}
|
|
48
|
-
fieldset { margin: 1em auto; }
|
|
49
|
-
legend { font-weight: bold; }
|
|
50
48
|
hr, .footnotes::before { border: 1px dashed #ddd; }
|
|
51
49
|
.frontmatter { text-align: center; }
|
|
52
50
|
#TOC .numbered li { list-style: none; }
|
package/css/default.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
body{font-family:sans-serif;max-width:800px;margin:auto;padding:1em;line-height:1.5;box-sizing:border-box}.footnotes,body,code
|
|
1
|
+
body{font-family:sans-serif;max-width:800px;margin:auto;padding:1em;line-height:1.5;box-sizing:border-box}.footnotes,body,code{font-size:.9em}li li{font-size:.95em}*,:after,:before{box-sizing:inherit}a{color:#4682b4}img,pre{max-width:100%}pre,pre:hover{white-space:pre-wrap;word-break:break-all}pre code{display:block;overflow-x:auto}code{font-family:'DejaVu Sans Mono','Droid Sans Mono','Lucida Console',Consolas,Monaco,monospace}.box>div,.line-numbers,:not(pre)>code,code[class]{background-color:#f8f8f8}.box,pre>.language-plain,pre>code:not([class]){background-color:inherit;border:1px solid #eee}pre>.message{border-color:#9eeaf9}pre>.warning{background:#fff3cd;border-color:#fff3cd}pre>.error{background:#f8d7da;border-color:#f8d7da}.fenced-chunk{border-left:1px solid #666}.code-fence{opacity:.4;border:1px dashed #666;border-left:2px solid}.code-fence:hover{opacity:inherit}.line-numbers code{display:table;padding:0 0 0 1em}pre[class*=language-].line-numbers{padding:1em 0;margin-left:3.5em}.line-numbers .line-numbers-rows{left:-3.5em}.line-numbers-rows>span:before{padding-right:.5em}.box{margin:1em 0}.box>:first-child>p:first-child,.box>:last-child>p:last-child{padding:1em}.box>:first-child,.box>:first-child>p:first-child{margin-top:0}.box>:last-child,.box>:last-child>p:last-child{margin-bottom:0}.figure>p{text-align:center}table{margin:auto;border-top:1px solid #666}table thead th{border-bottom:1px solid #ddd}td,th{padding:5px}tfoot,thead,tr:nth-child(2n){background:#eee}blockquote{color:#666;margin:0;padding:1px 1em;border-left:.5em solid #eee}.footnotes::before,hr{border:1px dashed #ddd}.frontmatter{text-align:center}#TOC .numbered li{list-style:none}#TOC .numbered{padding-left:0}#TOC .numbered ul{padding-left:1em}.body h2,table{border-bottom:1px solid #666}.appendix~h2,.body .appendix{border-bottom-style:dashed}.main-number::after{content:"."}.footnote-ref a::before{content:"["}.footnote-ref a::after{content:"]"}section.footnotes{margin-top:2em}section.footnotes::before{content:"";display:block;max-width:20em}@media print{body{font-size:12pt;max-width:100%}img,tr{page-break-inside:avoid}}@media only screen and (min-width:992px){pre{white-space:pre}}
|