pantsdown 2.3.1 → 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 +29 -6
package/package.json
CHANGED
package/src/css/styles.css
CHANGED
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
color: inherit;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.pantsdown .markdown-alert span {
|
|
131
|
+
.pantsdown .markdown-alert > span {
|
|
132
132
|
font-weight: 500;
|
|
133
133
|
display: flex;
|
|
134
134
|
align-items: center;
|
|
@@ -138,34 +138,34 @@
|
|
|
138
138
|
.pantsdown .markdown-alert-note {
|
|
139
139
|
border-color: var(--color-accent-fg);
|
|
140
140
|
}
|
|
141
|
-
.pantsdown .markdown-alert-note span {
|
|
141
|
+
.pantsdown .markdown-alert-note > span {
|
|
142
142
|
color: var(--color-accent-fg);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.pantsdown .markdown-alert-important {
|
|
146
146
|
border-color: var(--color-done-fg);
|
|
147
147
|
}
|
|
148
|
-
.pantsdown .markdown-alert-important span {
|
|
148
|
+
.pantsdown .markdown-alert-important > span {
|
|
149
149
|
color: var(--color-done-fg);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
.pantsdown .markdown-alert-warning {
|
|
153
153
|
border-color: var(--color-attention-fg);
|
|
154
154
|
}
|
|
155
|
-
.pantsdown .markdown-alert-warning span {
|
|
155
|
+
.pantsdown .markdown-alert-warning > span {
|
|
156
156
|
color: var(--color-attention-fg);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.pantsdown .markdown-alert-tip {
|
|
160
160
|
border-color: var(--color-success-fg);
|
|
161
161
|
}
|
|
162
|
-
.pantsdown .markdown-alert-tip span {
|
|
162
|
+
.pantsdown .markdown-alert-tip > span {
|
|
163
163
|
color: var(--color-success-fg);
|
|
164
164
|
}
|
|
165
165
|
.pantsdown .markdown-alert-caution {
|
|
166
166
|
border-color: var(--color-danger-fg);
|
|
167
167
|
}
|
|
168
|
-
.pantsdown .markdown-alert-caution span {
|
|
168
|
+
.pantsdown .markdown-alert-caution > span {
|
|
169
169
|
color: var(--color-danger-fg);
|
|
170
170
|
}
|
|
171
171
|
.pantsdown .copy-button {
|
|
@@ -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;
|