@xiee/utils 1.13.51 → 1.13.52
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/default.css +9 -7
- package/css/default.min.css +1 -1
- package/css/default.min.css.map +1 -1
- package/css/snap.css +0 -4
- package/css/snap.min.css +1 -1
- package/css/snap.min.css.map +1 -1
- package/package.json +1 -1
package/css/default.css
CHANGED
|
@@ -16,9 +16,11 @@ pre code { display: block; padding: 1em; 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], .box > .caption { background-color: #f8f8f8; }
|
|
18
18
|
pre > code:is(:not([class]), .language-plain, .language-none), .box { background-color: inherit; border: 1px solid #eee; }
|
|
19
|
-
pre >
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
pre > code {
|
|
20
|
+
&.message { border-color: #9eeaf9; }
|
|
21
|
+
&.warning { background: #fff3cd; border-color: #fff3cd; }
|
|
22
|
+
&.error { background: #f8d7da; border-color: #f8d7da; }
|
|
23
|
+
}
|
|
22
24
|
.fenced-chunk { border-left: 1px solid #666; }
|
|
23
25
|
.code-fence {
|
|
24
26
|
opacity: .4;
|
|
@@ -36,10 +38,6 @@ table {
|
|
|
36
38
|
th, td { padding: 5px; font-variant-numeric: tabular-nums; }
|
|
37
39
|
thead, tfoot, tr:nth-child(even) { background: whitesmoke; }
|
|
38
40
|
}
|
|
39
|
-
.table-full {
|
|
40
|
-
width: 100%;
|
|
41
|
-
td { vertical-align: baseline; }
|
|
42
|
-
}
|
|
43
41
|
blockquote {
|
|
44
42
|
color: #666;
|
|
45
43
|
margin: 0;
|
|
@@ -81,6 +79,10 @@ section.footnotes {
|
|
|
81
79
|
margin-top: 2em;
|
|
82
80
|
&::before { content: ""; display: block; max-width: 20em; }
|
|
83
81
|
}
|
|
82
|
+
.fade {
|
|
83
|
+
background: repeating-linear-gradient(135deg, white, white 30px, #ddd 32px, #ddd 32px);
|
|
84
|
+
opacity: 0.6;
|
|
85
|
+
}
|
|
84
86
|
|
|
85
87
|
@media print {
|
|
86
88
|
body { max-width: 100%; }
|
package/css/default.min.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
body{max-width:800px;margin:auto;padding:1em;font-family:sans-serif;line-height:1.5}body,.abstract,code,.footnotes,footer,#refs,.caption{font-size:.9em}li li{font-size:.95em}ul:has(li>input[type=checkbox]){padding-left:1em;list-style:none}*,:before,:after{box-sizing:border-box}a{color:#4682b4}pre,img{max-width:100%}pre{white-space:pre-wrap;word-break:break-word}pre code{padding:1em;display:block;overflow-x:auto}code{font-family:DejaVu Sans Mono,Droid Sans Mono,Lucida Console,Consolas,Monaco,monospace}:not(pre)>code,code[class],.box>.caption{background-color:#f8f8f8}pre>code:is(:not([class]),.language-plain,.language-none),.box{background-color:inherit;border:1px solid #eee}pre
|
|
1
|
+
body{max-width:800px;margin:auto;padding:1em;font-family:sans-serif;line-height:1.5}body,.abstract,code,.footnotes,footer,#refs,.caption{font-size:.9em}li li{font-size:.95em}ul:has(li>input[type=checkbox]){padding-left:1em;list-style:none}*,:before,:after{box-sizing:border-box}a{color:#4682b4}pre,img{max-width:100%}pre{white-space:pre-wrap;word-break:break-word}pre code{padding:1em;display:block;overflow-x:auto}code{font-family:DejaVu Sans Mono,Droid Sans Mono,Lucida Console,Consolas,Monaco,monospace}:not(pre)>code,code[class],.box>.caption{background-color:#f8f8f8}pre>code:is(:not([class]),.language-plain,.language-none),.box{background-color:inherit;border:1px solid #eee}pre>code{&.message{border-color:#9eeaf9}&.warning{background:#fff3cd;border-color:#fff3cd}&.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;&:hover{opacity:inherit}}.box,table{margin:1em auto}.box>.caption{padding:1px 1em}.figure{& p:has(img),& pre:has(svg){text-align:center}}.flex-col{justify-content:space-between;display:flex}table{border-top:1px solid #666;& thead th{border-bottom:1px solid #ddd}& th,& td{font-variant-numeric:tabular-nums;padding:5px}& thead,& tfoot,& tr:nth-child(2n){background:#f5f5f5}}blockquote{color:#666;border-left:.5em solid #eee;margin:0;padding:1px 1em}hr,.footnotes:before{border:1px dashed #ddd}.frontmatter{text-align:center}#TOC .numbered{padding-left:0;& li{list-style:none}& ul{padding-left:1em}}table,.body h2{border-bottom:1px solid #666}.body .appendix,.appendix~h2{border-bottom-style:dashed}.main-number:after{content:"."}span[class^=ref-number-]{font-weight:700}.ref-number-fig:after,.ref-number-tab:after{content:":"}.cross-ref-chp:before{content:"Chapter "}.cross-ref-sec:before{content:"Section "}.cross-ref-fig:before,.ref-number-fig:before{content:"Figure "}.cross-ref-tab:before,.ref-number-tab:before{content:"Table "}.cross-ref-eqn:before,.MathJax_ref:has(mjx-mtext>mjx-c+mjx-c):before{content:"Equation "}.abstract,#refs{&:before{margin:1em auto;font-weight:700;display:block}}.abstract:before{content:"Abstract";text-align:center}#refs:before{content:"Bibliography";font-size:1.5em}.ref-paren-open:before{content:"("}.ref-paren-close:after{content:")"}.ref-semicolon:after{content:"; "}.ref-and:after{content:" and "}.ref-et-al:after{content:" et al.";font-style:italic}.footnote-ref a{&:before{content:"["}&:after{content:"]"}}section.footnotes{margin-top:2em;&:before{content:"";max-width:20em;display:block}}.fade{opacity:.6;background:repeating-linear-gradient(135deg,#fff,#fff 30px,#ddd 32px 32px)}@media print{body{max-width:100%}tr,img{page-break-inside:avoid}}@media only screen and (width>=992px){pre:has(.line-numbers):not(:hover){white-space:pre}}
|
|
2
2
|
/*# sourceMappingURL=default.min.css.map */
|
package/css/default.min.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,oFAOA,oEACA,sBACA,iEACA,uCACA,gBACA,uBACA,+CACA,mDACA,2FACA,kEACA,8GACA,
|
|
1
|
+
{"version":3,"mappings":"AAAA,oFAOA,oEACA,sBACA,iEACA,uCACA,gBACA,uBACA,+CACA,mDACA,2FACA,kEACA,8GACA,SACE,+BACA,kDACA,iDAEF,yCACA,oEAIE,yBAEF,2BACA,8BACA,QAAU,+CACV,qDACA,gCAEE,wCACA,wDACA,uDAEF,2EAMA,4CACA,+BACA,8BAEE,qBACA,uBAEF,4CACA,wDACA,+BACA,yCACA,wDACA,yCACA,yCACA,+DACA,8DACA,yFACA,gBACE,wDAEF,sDACA,oDACA,mCACA,mCACA,kCACA,+BACA,qDACA,gBACE,qBACA,qBAEF,iCAEE,kDAEF,4FAKA,aACE,oBACA,gCAEF,sCACE","sources":["default.css"],"sourcesContent":["body {\n font-family: sans-serif;\n max-width: 800px;\n margin: auto;\n padding: 1em;\n line-height: 1.5;\n}\nbody, .abstract, code, .footnotes, footer, #refs, .caption { font-size: .9em; }\nli li { font-size: .95em; }\nul:has(li > input[type=\"checkbox\"]) { list-style: none; padding-left: 1em; }\n*, :before, :after { box-sizing: border-box; }\na { color: steelblue; }\npre, img { max-width: 100%; }\npre { white-space: pre-wrap; word-break: break-word; }\npre code { display: block; padding: 1em; overflow-x: auto; }\ncode { font-family: 'DejaVu Sans Mono', 'Droid Sans Mono', 'Lucida Console', Consolas, Monaco, monospace; }\n:not(pre) > code, code[class], .box > .caption { background-color: #f8f8f8; }\npre > code:is(:not([class]), .language-plain, .language-none), .box { background-color: inherit; border: 1px solid #eee; }\npre > code {\n &.message { border-color: #9eeaf9; }\n &.warning { background: #fff3cd; border-color: #fff3cd; }\n &.error { background: #f8d7da; border-color: #f8d7da; }\n}\n.fenced-chunk { border-left: 1px solid #666; }\n.code-fence {\n opacity: .4;\n border: 1px dashed #666;\n border-left: 2px solid;\n &:hover { opacity: inherit; }\n}\n.box, table { margin: 1em auto; }\n.box > .caption { padding: 1px 1em; }\n.figure { p:has(img), pre:has(svg) { text-align: center; } }\n.flex-col { display: flex; justify-content: space-between; }\ntable {\n border-top: 1px solid #666;\n thead th { border-bottom: 1px solid #ddd; }\n th, td { padding: 5px; font-variant-numeric: tabular-nums; }\n thead, tfoot, tr:nth-child(even) { background: whitesmoke; }\n}\nblockquote {\n color: #666;\n margin: 0;\n padding: 1px 1em;\n border-left: .5em solid #eee;\n}\nhr, .footnotes::before { border: 1px dashed #ddd; }\n.frontmatter { text-align: center; }\n#TOC .numbered {\n padding-left: 0;\n li { list-style: none; }\n ul { padding-left: 1em; }\n}\ntable, .body h2 { border-bottom: 1px solid #666; }\n.body .appendix, .appendix ~ h2 { border-bottom-style: dashed; }\n.main-number::after { content: \".\"; }\nspan[class^=\"ref-number-\"] { font-weight: bold; }\n.ref-number-fig::after, .ref-number-tab::after { content: \":\"; }\n.cross-ref-chp::before { content: \"Chapter \"; }\n.cross-ref-sec::before { content: \"Section \"; }\n.cross-ref-fig::before, .ref-number-fig::before { content: \"Figure \"; }\n.cross-ref-tab::before, .ref-number-tab::before { content: \"Table \"; }\n.cross-ref-eqn::before, .MathJax_ref:has(mjx-mtext > mjx-c + mjx-c)::before { content: \"Equation \"; }\n.abstract, #refs {\n &::before { display: block; margin: 1em auto; font-weight: bold; }\n}\n.abstract::before { content: \"Abstract\"; text-align: center; }\n#refs::before { content: \"Bibliography\"; font-size: 1.5em; }\n.ref-paren-open::before { content: \"(\"; }\n.ref-paren-close::after { content: \")\"; }\n.ref-semicolon::after { content: \"; \"; }\n.ref-and::after { content: \" and \"; }\n.ref-et-al::after { content: \" et al.\"; font-style: italic; }\n.footnote-ref a {\n &::before { content: \"[\"; }\n &::after { content: \"]\"; }\n}\nsection.footnotes {\n margin-top: 2em;\n &::before { content: \"\"; display: block; max-width: 20em; }\n}\n.fade {\n background: repeating-linear-gradient(135deg, white, white 30px, #ddd 32px, #ddd 32px);\n opacity: 0.6;\n}\n\n@media print {\n body { max-width: 100%; }\n tr, img { page-break-inside: avoid; }\n}\n@media only screen and (min-width: 992px) {\n pre:has(.line-numbers):not(:hover) { white-space: pre; }\n}\n"],"names":[]}
|
package/css/snap.css
CHANGED
|
@@ -35,10 +35,6 @@ a { color: #eb4a47; }
|
|
|
35
35
|
background-color: #eee;
|
|
36
36
|
filter: invert(1);
|
|
37
37
|
}
|
|
38
|
-
.fade {
|
|
39
|
-
background: repeating-linear-gradient(135deg, white, white 30px, #ddd 32px, #ddd 32px);
|
|
40
|
-
opacity: 0.6;
|
|
41
|
-
}
|
|
42
38
|
.center { text-align: center; }
|
|
43
39
|
.slide-container h2 .section-number {
|
|
44
40
|
display: inline-block;
|
package/css/snap.min.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:root{--slide-width:100%}html{scroll-snap-type:y mandatory}th,td{padding:.2em .5em}.slide{padding:0 1em}.slide,.frontmatter .main,.middle .main{flex-direction:column;display:flex}.slide>.main{flex-grow:1}.slide>.header{margin-bottom:1em}.slide h2,.slide h3{margin-top:unset}body{max-width:fit-content;padding:0}a{color:#eb4a47}:not(pre)>code{background-color:#fdfded}#TOC{columns:2}#TOC:before{border-bottom:1px solid #666;font-size:1.3em;font-weight:700;display:block}.frontmatter .main,.middle .main{justify-content:center}.footer{opacity:.5;justify-content:space-between;font:.7em monospace;display:flex}.inverse{filter:invert();background-color:#eee}.
|
|
1
|
+
:root{--slide-width:100%}html{scroll-snap-type:y mandatory}th,td{padding:.2em .5em}.slide{padding:0 1em}.slide,.frontmatter .main,.middle .main{flex-direction:column;display:flex}.slide>.main{flex-grow:1}.slide>.header{margin-bottom:1em}.slide h2,.slide h3{margin-top:unset}body{max-width:fit-content;padding:0}a{color:#eb4a47}:not(pre)>code{background-color:#fdfded}#TOC{columns:2}#TOC:before{border-bottom:1px solid #666;font-size:1.3em;font-weight:700;display:block}.frontmatter .main,.middle .main{justify-content:center}.footer{opacity:.5;justify-content:space-between;font:.7em monospace;display:flex}.inverse{filter:invert();background-color:#eee}.center{text-align:center}.slide-container h2 .section-number{color:#fff;background-color:#666;margin-right:.3em;padding:0 .1em;display:inline-block}.overview{font-size:.8em}.overview .slide-container{flex-wrap:wrap;justify-content:space-evenly;display:flex}.overview .slide-container .slide{width:var(--slide-width);border:1px dotted #ccc;margin-bottom:.5em}.mirrored{transform:scaleX(-1)}.timer{opacity:0}html:fullscreen::-webkit-scrollbar,.spacer{display:none}html:fullscreen{-ms-overflow-style:none;scrollbar-width:none}@media screen and (width>=992px){:root{--slide-width:49%;--slide-scale:1;--slide-ratio:.75;--slide-top:auto}.slide-mode{scale:var(--slide-scale);margin-top:var(--slide-top);background-color:#d7d8d2;font-size:2em}.slide-mode .slide{min-height:calc(100vh/var(--slide-scale));width:calc(100vh/var(--slide-ratio)/var(--slide-scale));clip-path:inset(0 -2em);scroll-snap-align:start;background-color:#fff;box-shadow:0 0 2em #888}li li{font-size:.9em}.slide-mode .spacer{display:block}.slide-mode .timer{opacity:initial}}@media (width>=1400px){:root{--slide-width:33%}}@media (width>=1800px){:root{--slide-width:24.67%}}
|
|
2
2
|
/*# sourceMappingURL=snap.min.css.map */
|
package/css/snap.min.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,yBACA,kCACA,wBACA,qBACA,2EAIA,yBACA,iCACA,qCACA,qCAIA,gBACA,wCACA,eACA,uFAMA,wDAGA,kFAMA,+CAIA,
|
|
1
|
+
{"version":3,"mappings":"AAAA,yBACA,kCACA,wBACA,qBACA,2EAIA,yBACA,iCACA,qCACA,qCAIA,gBACA,wCACA,eACA,uFAMA,wDAGA,kFAMA,+CAIA,0BACA,2HAOA,yBACA,oFAKA,qGAKA,+BACA,iBACA,wDACA,6DAIA,iCACE,2EAMA,wGAMA,mNAQA,qBACA,kCACA,oCAEF,uBACE,yBAEF,uBACE","sources":["snap.css"],"sourcesContent":[":root { --slide-width: 100%; }\nhtml { scroll-snap-type: y mandatory; }\nth, td { padding: .2em .5em; }\n.slide { padding: 0 1em; }\n.slide, .frontmatter .main, .middle .main {\n display: flex;\n flex-direction: column;\n}\n.slide > .main { flex-grow: 1; }\n.slide > .header { margin-bottom: 1em; }\n.slide h2, .slide h3 { margin-top: unset; }\nbody {\n max-width: fit-content;\n padding: 0;\n}\na { color: #eb4a47; }\n:not(pre) > code { background-color: #fdfded; }\n#TOC { columns: 2; }\n#TOC::before {\n font-size: 1.3em;\n font-weight: bold;\n display: block;\n border-bottom: 1px solid #666;\n}\n.frontmatter .main, .middle .main {\n justify-content: center;\n}\n.footer {\n display: flex;\n justify-content: space-between;\n opacity: .5;\n font: .7em monospace;\n}\n.inverse {\n background-color: #eee;\n filter: invert(1);\n}\n.center { text-align: center; }\n.slide-container h2 .section-number {\n display: inline-block;\n background-color: #666;\n color: white;\n padding: 0 .1em;\n margin-right: .3em;\n}\n.overview { font-size: .8em; }\n.overview .slide-container {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-evenly;\n}\n.overview .slide-container .slide {\n width: var(--slide-width);\n border: 1px dotted #ccc;\n margin-bottom: 0.5em;\n}\n.mirrored { transform: scale(-1, 1); }\n.timer { opacity: 0; }\nhtml:fullscreen::-webkit-scrollbar, .spacer { display: none; }\nhtml:fullscreen {\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n@media screen and (min-width: 992px) {\n :root {\n --slide-width: 49%;\n --slide-scale: 1;\n --slide-ratio: 0.75;\n --slide-top: auto;\n }\n .slide-mode {\n font-size: 2em;\n background-color: #d7d8d2;\n scale: var(--slide-scale);\n margin-top: var(--slide-top);\n }\n .slide-mode .slide {\n min-height: calc(100vh / var(--slide-scale));\n width: calc(100vh / var(--slide-ratio) / var(--slide-scale));\n box-shadow: 0 0 2em #888;\n clip-path: inset(0 -2em 0 -2em);\n background-color: white;\n scroll-snap-align: start;\n }\n li li { font-size: .9em; }\n .slide-mode .spacer { display: block; }\n .slide-mode .timer { opacity: initial; }\n}\n@media (min-width: 1400px) {\n :root { --slide-width: 33%; }\n}\n@media (min-width: 1800px) {\n :root { --slide-width: 24.67%; }\n}\n"],"names":[]}
|