@leafpad/blogs 0.2.6 → 0.2.8
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/styles/style.css +2 -4
package/package.json
CHANGED
package/src/styles/style.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.blogs-container {
|
|
2
2
|
width: 100%;
|
|
3
|
+
grid-column: 1 / span 4;
|
|
3
4
|
}
|
|
4
5
|
|
|
5
6
|
:root {
|
|
@@ -272,7 +273,7 @@ pre[class*="language-"] {
|
|
|
272
273
|
/* Supports both camelCase and kebab-case wrapper classes */
|
|
273
274
|
.blog-post-with-toc {
|
|
274
275
|
display: grid;
|
|
275
|
-
grid-template-columns: 1fr; /* single column by default */
|
|
276
|
+
grid-template-columns: repeat(4, 1fr); /* single column by default */
|
|
276
277
|
gap: 8px; /* 8px gap as requested */
|
|
277
278
|
}
|
|
278
279
|
|
|
@@ -288,9 +289,6 @@ pre[class*="language-"] {
|
|
|
288
289
|
}
|
|
289
290
|
|
|
290
291
|
@media (min-width: 768px) {
|
|
291
|
-
.blog-post-with-toc {
|
|
292
|
-
grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
|
|
293
|
-
}
|
|
294
292
|
|
|
295
293
|
/* Article/content spans 3 of 4 columns */
|
|
296
294
|
.blog-post-with-toc .blogs-container {
|