@xiee/utils 1.11.3 → 1.11.4
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/article.css +2 -2
- package/css/article.min.css +1 -1
- package/package.json +1 -1
package/css/article.css
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
body, blockquote, .side, .menu { background: #fafafa; }
|
|
2
|
-
.article, .body, .appendix { position: relative; }
|
|
3
2
|
.article-list, .body, .single main, .single .appendix, .body ~ .appendix, .frontmatter, .fullwidth, .embed-left, .embed-right {
|
|
4
3
|
margin-top: 2em;
|
|
5
4
|
padding: 1em;
|
|
@@ -81,6 +80,7 @@ body, blockquote, .side, .menu { background: #fafafa; }
|
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
@media (min-width: 1280.02px) {
|
|
83
|
+
.article, .body, .appendix { position: relative; }
|
|
84
84
|
.note-ref { cursor: pointer; }
|
|
85
85
|
.note-ref:hover + .side {
|
|
86
86
|
display: inline-block;
|
|
@@ -108,7 +108,7 @@ body, blockquote, .side, .menu { background: #fafafa; }
|
|
|
108
108
|
margin: 1em auto;
|
|
109
109
|
background: none;
|
|
110
110
|
}
|
|
111
|
-
.note-ref + .side {
|
|
111
|
+
:not(.note-ref) + .side { float: none; }
|
|
112
112
|
.side > :last-child { margin-bottom: 0; }
|
|
113
113
|
.embed-left, .embed-right {
|
|
114
114
|
float: inherit;
|
package/css/article.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.menu,.side,blockquote,body{background:#fafafa}.
|
|
1
|
+
.menu,.side,blockquote,body{background:#fafafa}.article-list,.body,.body~.appendix,.embed-left,.embed-right,.frontmatter,.fullwidth,.single .appendix,.single main{margin-top:2em;padding:1em;box-shadow:0 0 8px #ccc;background:#fff}.article-meta{background:#f8f8f8}.appendix,.article-meta .terms,.body .side,.caption,.footnotes,figcaption,main .side>*{font-size:.9em}.body~.appendix,.frontmatter,.single .appendix{background:0 0}.appendix h2{border-bottom:1px dashed #666}#TOC{top:0}#TOC ul{list-style-position:inside}#TOC>ul{padding:0;margin:0}#TOC li>ul{padding-left:1em}#TOC .numbered{list-style:none}.bg-number{padding:1px 5px;border-radius:5px;background:#778899;color:#fff}.side{width:200px;margin:0 auto}.side-left{float:left;clear:left;margin-left:calc(-200px - 2em);position:sticky}.side-right{float:right;clear:right;margin-right:calc(-200px - 2em)}.quote-left,.quote-right{width:45%}.embed-left,.embed-right{margin-top:auto;padding:0}.embed-left,.quote-left{float:left;margin-right:1em}.embed-right,.quote-right{float:right;margin-left:1em}.embed-left{margin-left:calc(-200px - 2em)}.embed-right{margin-right:calc(-200px - 2em)}.embed-left>:first-child,.embed-right>:first-child,.side>:first-child{margin-top:0}.embed-left>:last-child,.embed-right>:last-child{margin-bottom:0}.quote-left>:first-child,.quote-right>:first-child{padding-top:.1px}.quote-left>:last-child,.quote-right>:last-child{padding-bottom:.1px}.fullwidth,.fullwidth *{margin:auto 0}.fullwidth *{max-width:calc(100vw - 4em)}.fullscroll *{max-width:initial}.fullwidth{max-width:calc(100vw - 2em);margin:1em 0 1em 50%;transform:translateX(-50%);float:left;min-width:100%;background:#fff}.fullscroll,.fullscroll .figure,.fullscroll figure{overflow-x:auto}.fullwidth .caption,.fullwidth figcaption{margin-left:calc(50% - 400px);width:800px;padding:1em 1em 0}@media (min-width:1280.02px){.appendix,.article,.body{position:relative}.note-ref{cursor:pointer}.note-ref:hover+.side{display:inline-block;background-color:#f8f8f8;position:absolute;margin-left:1em;padding:.5em;box-sizing:content-box}}@media (max-width:1280px){#TOC{border:1px solid #eee;border-radius:5px;padding:1em;position:initial}.side{width:100%}.body .side,main .side{padding:0 2em;color:#2f4f4f}.side-left,.side-right{clear:both;margin:1em auto;background:0 0}:not(.note-ref)+.side{float:none}.side>:last-child{margin-bottom:0}.embed-left,.embed-right{float:inherit;margin:auto;padding:1em}}@media (max-width:800px){body{padding:initial}.body,main{padding:0 .5em 0}.quote-left,.quote-right{width:inherit;float:inherit;margin:auto}.fullwidth:not(.fullscroll) *{max-width:100%}.fullwidth{margin:initial;transform:initial;float:none;min-width:initial;background:0 0;border:none}.fullwidth .caption,.fullwidth figcaption{margin:initial;padding:initial}}
|