@nukipa/post-content 0.2.2 → 0.2.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/styles.css +17 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nukipa/post-content",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Framework-agnostic processor for Nukipa CMS post bodies — markdown + component markers + citations → HTML + interactive island descriptors.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Nukipa Labs",
|
package/styles.css
CHANGED
|
@@ -22,7 +22,14 @@
|
|
|
22
22
|
font-family: "Material Icons";
|
|
23
23
|
font-style: normal;
|
|
24
24
|
font-weight: 400;
|
|
25
|
-
|
|
25
|
+
/* Two formats: WOFF2 first (modern browsers), TTF fallback (older).
|
|
26
|
+
Both versioned URLs come from Google's own current /icon?family=
|
|
27
|
+
CSS — gstatic keeps old versions reachable indefinitely so the
|
|
28
|
+
pin is durable. The previous pin (`v143/...IuiaDsNZ.woff2`) was
|
|
29
|
+
stale and 404'd in production. */
|
|
30
|
+
src:
|
|
31
|
+
url("https://fonts.gstatic.com/s/materialicons/v145/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2") format("woff2"),
|
|
32
|
+
url("https://fonts.gstatic.com/s/materialicons/v145/flUhRq6tzZclQEJ-Vdg-IuiaDsNZ.ttf") format("truetype");
|
|
26
33
|
font-display: swap;
|
|
27
34
|
}
|
|
28
35
|
.material-icons {
|
|
@@ -117,7 +124,15 @@
|
|
|
117
124
|
color: var(--color-text-muted, #51646A);
|
|
118
125
|
margin: 1.2em 0;
|
|
119
126
|
}
|
|
120
|
-
|
|
127
|
+
/* `list-style-type` is set explicitly because Tailwind's preflight
|
|
128
|
+
reset declares `ul, ol { list-style: none }`. Without our own
|
|
129
|
+
`disc` / `decimal` the renderer's markdown lists ship without
|
|
130
|
+
bullets / numbers. The selector specificity wins (`.prose-body ul`
|
|
131
|
+
> `ul`) so this works regardless of layer order. */
|
|
132
|
+
.prose-body ul { padding-left: 1.4em; margin: 0 0 1.1em; list-style-type: disc; }
|
|
133
|
+
.prose-body ol { padding-left: 1.4em; margin: 0 0 1.1em; list-style-type: decimal; }
|
|
134
|
+
.prose-body ul ul { list-style-type: circle; }
|
|
135
|
+
.prose-body ul ul ul { list-style-type: square; }
|
|
121
136
|
.prose-body li { margin: 0.3em 0; }
|
|
122
137
|
|
|
123
138
|
/* ───── Component wrapper (every bp-* gets one) ────────────────────── */
|