@xiee/utils 1.10.3 → 1.11.0

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.
@@ -0,0 +1,66 @@
1
+ body {
2
+ font-family: sans-serif;
3
+ max-width: 800px;
4
+ margin: auto;
5
+ padding: 1em;
6
+ line-height: 1.5;
7
+ box-sizing: border-box;
8
+ }
9
+ body, .footnotes, code { font-size: .9em; }
10
+ li li { font-size: .95em; }
11
+ *, *:before, *:after {
12
+ box-sizing: inherit;
13
+ }
14
+ pre, img { max-width: 100%; }
15
+ pre, pre:hover {
16
+ white-space: pre-wrap;
17
+ word-break: break-all;
18
+ }
19
+ pre code {
20
+ display: block;
21
+ overflow-x: auto;
22
+ }
23
+ code { font-family: 'DejaVu Sans Mono', 'Droid Sans Mono', 'Lucida Console', Consolas, Monaco, monospace; }
24
+ :not(pre) > code, code[class] { background-color: #F8F8F8; }
25
+ code.language-undefined, pre > code:not([class]) {
26
+ background-color: inherit;
27
+ border: 1px solid #eee;
28
+ }
29
+ table {
30
+ margin: auto;
31
+ border-top: 1px solid #666;
32
+ }
33
+ table thead th { border-bottom: 1px solid #ddd; }
34
+ th, td { padding: 5px; }
35
+ thead, tfoot, tr:nth-child(even) { background: #eee; }
36
+ blockquote {
37
+ color: #666;
38
+ margin: 0;
39
+ padding-left: 1em;
40
+ border-left: 0.5em solid #eee;
41
+ }
42
+ hr, .footnotes::before { border: 1px dashed #ddd; }
43
+ .frontmatter { text-align: center; }
44
+ #TOC .numbered li { list-style: none; }
45
+ #TOC .numbered { padding-left: 0; }
46
+ #TOC .numbered ul { padding-left: 1em; }
47
+ table, .body h2 { border-bottom: 1px solid #666; }
48
+ .body .appendix, .appendix ~ h2 { border-bottom-style: dashed; }
49
+ .footnote-ref a::before { content: "["; }
50
+ .footnote-ref a::after { content: "]"; }
51
+ section.footnotes::before {
52
+ content: "";
53
+ display: block;
54
+ max-width: 20em;
55
+ }
56
+
57
+ @media print {
58
+ body {
59
+ font-size: 12pt;
60
+ max-width: 100%;
61
+ }
62
+ tr, img { page-break-inside: avoid; }
63
+ }
64
+ @media only screen and (min-width: 992px) {
65
+ pre { white-space: pre; }
66
+ }
@@ -0,0 +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{font-size:.9em}li li{font-size:.95em}*,:after,:before{box-sizing:inherit}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}:not(pre)>code,code[class]{background-color:#f8f8f8}code.language-undefined,pre>code:not([class]){background-color:inherit;border:1px solid #eee}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-left: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}.footnote-ref a::before{content:"["}.footnote-ref a::after{content:"]"}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}}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Prism.s theme ported from highlight.js's xcode style
3
+ */
4
+ pre code {
5
+ padding: 1em;
6
+ }
7
+ .token.comment {
8
+ color: #007400;
9
+ }
10
+ .token.punctuation {
11
+ color: #999;
12
+ }
13
+ .token.tag,
14
+ .token.selector {
15
+ color: #aa0d91;
16
+ }
17
+ .token.boolean,
18
+ .token.number,
19
+ .token.constant,
20
+ .token.symbol {
21
+ color: #1c00cf;
22
+ }
23
+ .token.property,
24
+ .token.attr-name,
25
+ .token.string,
26
+ .token.char,
27
+ .token.builtin {
28
+ color: #c41a16;
29
+ }
30
+ .token.inserted {
31
+ background-color: #ccffd8;
32
+ }
33
+ .token.deleted {
34
+ background-color: #ffebe9;
35
+ }
36
+ .token.operator,
37
+ .token.entity,
38
+ .token.url,
39
+ .language-css .token.string,
40
+ .style .token.string {
41
+ color: #9a6e3a;
42
+ }
43
+ .token.atrule,
44
+ .token.attr-value,
45
+ .token.keyword {
46
+ color: #836c28;
47
+ }
48
+ .token.function,
49
+ .token.class-name {
50
+ color: #DD4A68;
51
+ }
52
+ .token.regex,
53
+ .token.important,
54
+ .token.variable {
55
+ color: #5c2699;
56
+ }
57
+ .token.important,
58
+ .token.bold {
59
+ font-weight: bold;
60
+ }
61
+ .token.italic {
62
+ font-style: italic;
63
+ }
@@ -0,0 +1 @@
1
+ pre code{padding:1em}.token.comment{color:#007400}.token.punctuation{color:#999}.token.selector,.token.tag{color:#aa0d91}.token.boolean,.token.constant,.token.number,.token.symbol{color:#1c00cf}.token.attr-name,.token.builtin,.token.char,.token.property,.token.string{color:#c41a16}.token.inserted{background-color:#ccffd8}.token.deleted{background-color:#ffebe9}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a}.token.atrule,.token.attr-value,.token.keyword{color:#836c28}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#5c2699}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiee/utils",
3
- "version": "1.10.3",
3
+ "version": "1.11.0",
4
4
  "description": "Miscellaneous tools and utilities to manipulate HTML pages",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"