@toyonix/web-kit 0.0.0 → 0.1.1
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/dist/css/components.css +21 -0
- package/package.json +1 -1
package/dist/css/components.css
CHANGED
|
@@ -562,6 +562,27 @@
|
|
|
562
562
|
font-style: italic;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
+
/* Wide images span the column; tall ones are capped at most of the viewport and centered. */
|
|
566
|
+
.tx-prose img {
|
|
567
|
+
display: block;
|
|
568
|
+
width: auto;
|
|
569
|
+
max-width: 100%;
|
|
570
|
+
height: auto;
|
|
571
|
+
max-height: min(80vh, 900px);
|
|
572
|
+
margin: 1.6em auto;
|
|
573
|
+
border: var(--tx-border-width) solid var(--tx-border);
|
|
574
|
+
box-shadow: var(--tx-shadow);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/* Section break: a short accent marker bar, centered. */
|
|
578
|
+
.tx-prose hr {
|
|
579
|
+
width: 96px;
|
|
580
|
+
height: 0;
|
|
581
|
+
margin: 2.6em auto;
|
|
582
|
+
border: 0;
|
|
583
|
+
border-top: 6px solid var(--tx-accent);
|
|
584
|
+
}
|
|
585
|
+
|
|
565
586
|
.tx-dropcap::first-letter,
|
|
566
587
|
.tx-prose--dropcap > p:first-of-type::first-letter {
|
|
567
588
|
float: left;
|