pantsdown 2.3.2 → 2.3.3
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/package.json +1 -1
- package/src/css/styles.css +23 -0
package/package.json
CHANGED
package/src/css/styles.css
CHANGED
|
@@ -336,6 +336,8 @@ html.pantsdown-mermaid-mod.pantsdown .mermaid-viewport {
|
|
|
336
336
|
.pantsdown a {
|
|
337
337
|
background-color: transparent;
|
|
338
338
|
color: var(--color-accent-fg);
|
|
339
|
+
/* explicit ua default: resets set `text-decoration: inherit` */
|
|
340
|
+
text-decoration: underline;
|
|
339
341
|
}
|
|
340
342
|
|
|
341
343
|
.pantsdown abbr[title] {
|
|
@@ -391,6 +393,9 @@ html.pantsdown-mermaid-mod.pantsdown .mermaid-viewport {
|
|
|
391
393
|
max-width: 100%;
|
|
392
394
|
box-sizing: content-box;
|
|
393
395
|
background-color: var(--color-canvas-default);
|
|
396
|
+
/* explicit ua defaults: resets set `display: block; vertical-align: middle` */
|
|
397
|
+
display: inline;
|
|
398
|
+
vertical-align: baseline;
|
|
394
399
|
}
|
|
395
400
|
|
|
396
401
|
.pantsdown code,
|
|
@@ -611,6 +616,24 @@ html.pantsdown-mermaid-mod.pantsdown .mermaid-viewport {
|
|
|
611
616
|
padding-left: 2em;
|
|
612
617
|
}
|
|
613
618
|
|
|
619
|
+
/* consumers may apply a css reset (e.g. tailwind preflight sets
|
|
620
|
+
`list-style: none`), so don't rely on user-agent defaults */
|
|
621
|
+
.pantsdown ul {
|
|
622
|
+
list-style-type: disc;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.pantsdown ul ul {
|
|
626
|
+
list-style-type: circle;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.pantsdown ul ul ul {
|
|
630
|
+
list-style-type: square;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.pantsdown ol {
|
|
634
|
+
list-style-type: decimal;
|
|
635
|
+
}
|
|
636
|
+
|
|
614
637
|
.pantsdown ol ol,
|
|
615
638
|
.pantsdown ul ol {
|
|
616
639
|
list-style-type: lower-roman;
|