presi-slides 1.0.14 → 1.0.16
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/public/slides.css +10 -4
package/package.json
CHANGED
package/public/slides.css
CHANGED
|
@@ -948,13 +948,17 @@ slide-view:not(:has(h1[layout])) {
|
|
|
948
948
|
--slide-image-template: "i i i i i i i2 i2 i2 i2 i2 i2";
|
|
949
949
|
}
|
|
950
950
|
|
|
951
|
-
&:has(> h3 + :is(ol, ul, table)
|
|
952
|
-
|
|
951
|
+
&:has(> h3 + :is(ol, ul, table)) {
|
|
952
|
+
--slide-list-template: "b b b b b b b2 b2 b2 b2 b2 b2";
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
&:has(> h3 + pre) {
|
|
956
956
|
--slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
|
|
957
|
-
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
&:has(> h3 + pre + :is(ol, ul, table)) {
|
|
960
|
+
--slide-list-template: "b b b b b b b2 b2 b2 b2 b2 b2";
|
|
961
|
+
--grid-content-rows: min-content minmax(min-content, 1fr) minmax(20%, 1fr);
|
|
958
962
|
}
|
|
959
963
|
|
|
960
964
|
&:has(> aside ~ h3:nth-of-type(2)) {
|
|
@@ -997,7 +1001,7 @@ slide-view:not(:has(h1[layout])) {
|
|
|
997
1001
|
/* side-by-side w/images in each stack */
|
|
998
1002
|
|
|
999
1003
|
&:has(> h3 + * + p:not(.full) > img:only-child) {
|
|
1000
|
-
--grid-content-rows: min-content auto minmax(
|
|
1004
|
+
--grid-content-rows: min-content auto minmax(min-content, 1fr);
|
|
1001
1005
|
--slide-image-template: "i i i i i i i2 i2 i2 i2 i2 i2";
|
|
1002
1006
|
}
|
|
1003
1007
|
&:has(> h3 + p:not(.full) > img:only-child) {
|
|
@@ -1154,11 +1158,13 @@ slide-view:not(:has(h1[layout])) {
|
|
|
1154
1158
|
&:has(> h3 + :is(ol, ul, table), > h3 + pre + :is(ol, ul, table)) {
|
|
1155
1159
|
--slide-list-template: "b b b b b b b2 b2 b2 b2 b2 b2";
|
|
1156
1160
|
--slide-list-template-2: "b3 b3 b3 b3 b3 b3 b4 b4 b4 b4 b4 b4";
|
|
1161
|
+
--grid-content-rows: min-content minmax(min-content, 1fr) min-content minmax(min-content, 1fr);
|
|
1157
1162
|
}
|
|
1158
1163
|
|
|
1159
1164
|
&:has(> h3 + pre) {
|
|
1160
1165
|
--slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
|
|
1161
1166
|
--slide-code-template-2: "c3 c3 c3 c3 c3 c3 c4 c4 c4 c4 c4 c4";
|
|
1167
|
+
--grid-content-rows: min-content minmax(min-content, 1fr) min-content minmax(min-content, 1fr);
|
|
1162
1168
|
}
|
|
1163
1169
|
|
|
1164
1170
|
&:has(> h3 + * + p > img:only-child) {
|