@anydigital/bricks 1.0.0-alpha.14 → 1.0.0-alpha.15
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/README.md +1 -1
- package/bricks/_prose.css +2 -2
- package/dist/bricks.css +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ The `.prose` class provides enhanced typography for article content and long-for
|
|
|
105
105
|
|
|
106
106
|
**Code Blocks:**
|
|
107
107
|
|
|
108
|
-
- Code blocks with `data-
|
|
108
|
+
- Code blocks with `data-caption` attribute display the caption above the code block (styled with 50% opacity, italic, and `1.5em` bottom margin)
|
|
109
109
|
|
|
110
110
|
**Usage:**
|
|
111
111
|
|
package/bricks/_prose.css
CHANGED
package/dist/bricks.css
CHANGED
|
@@ -189,8 +189,8 @@ body > main {
|
|
|
189
189
|
margin-right: 0.25em;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.prose code[data-
|
|
193
|
-
content: attr(data-
|
|
192
|
+
.prose code[data-caption]::before {
|
|
193
|
+
content: attr(data-caption);
|
|
194
194
|
display: block;
|
|
195
195
|
margin-bottom: 1.5em;
|
|
196
196
|
opacity: 0.5;
|
package/package.json
CHANGED