presi-slides 1.0.19 → 1.0.21

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.
@@ -843,9 +843,6 @@ slide-view:not(:has(h1[layout])) {
843
843
  h1,
844
844
  h3,
845
845
  .full,
846
- table,
847
- dl,
848
- blockquote,
849
846
  aside
850
847
  )
851
848
  + p
@@ -1001,7 +998,7 @@ slide-view:not(:has(h1[layout])) {
1001
998
  /* side-by-side w/images in each stack */
1002
999
 
1003
1000
  &:has(> h3 + * + p:not(.full) > img:only-child) {
1004
- --grid-content-rows: min-content auto minmax(min-content, 1fr);
1001
+ --grid-content-rows: min-content auto minmax(20%, 1fr);
1005
1002
  --slide-image-template: "i i i i i i i2 i2 i2 i2 i2 i2";
1006
1003
  }
1007
1004
  &:has(> h3 + p:not(.full) > img:only-child) {
@@ -1084,9 +1081,7 @@ slide-view:not(:has(h1[layout])) {
1084
1081
  /* side-by-side-by-side (one row) */
1085
1082
 
1086
1083
  &:has(h3:nth-of-type(3)) {
1087
- --slide-body-template: "t t t t t2 t2 t2 t2 t3 t3 t3 t3"
1088
- var(--slide-code-template) var(--slide-list-template)
1089
- var(--slide-image-template);
1084
+ --slide-titles-template: "t t t t t2 t2 t2 t2 t3 t3 t3 t3";
1090
1085
  &:has(
1091
1086
  > h3 + p:not(.full) > img:only-child,
1092
1087
  > h3 + :not(h3) + p:not(.full) > img:only-child,
@@ -1143,8 +1138,8 @@ slide-view:not(:has(h1[layout])) {
1143
1138
  var(--slide-image-template) "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"
1144
1139
  var(--slide-code-template-2) var(--slide-list-template-2)
1145
1140
  var(--slide-image-template-2);
1146
- --grid-content-rows: min-content minmax(0, 1fr) min-content
1147
- minmax(0, 1fr);
1141
+ --grid-content-rows: min-content minmax(10%, 1fr) min-content
1142
+ minmax(10%, 1fr);
1148
1143
 
1149
1144
  &:has(
1150
1145
  > h3 + p > img:only-child:not(.full),
@@ -1158,13 +1153,13 @@ slide-view:not(:has(h1[layout])) {
1158
1153
  &:has(> h3 + :is(ol, ul, table), > h3 + pre + :is(ol, ul, table)) {
1159
1154
  --slide-list-template: "b b b b b b b2 b2 b2 b2 b2 b2";
1160
1155
  --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);
1156
+ --grid-content-rows: min-content minmax(10%, 1fr) min-content minmax(10%, 1fr);
1162
1157
  }
1163
1158
 
1164
1159
  &:has(> h3 + pre) {
1165
1160
  --slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
1166
1161
  --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
+ --grid-content-rows: min-content minmax(10%, 1fr) min-content minmax(10%, 1fr);
1168
1163
  }
1169
1164
 
1170
1165
  &:has(> h3 + * + p > img:only-child) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presi-slides",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Make slides with Markdown",
5
5
  "keywords": [
6
6
  "Presentation",
package/public/slides.css CHANGED
@@ -998,7 +998,7 @@ slide-view:not(:has(h1[layout])) {
998
998
  /* side-by-side w/images in each stack */
999
999
 
1000
1000
  &:has(> h3 + * + p:not(.full) > img:only-child) {
1001
- --grid-content-rows: min-content auto minmax(min-content, 1fr);
1001
+ --grid-content-rows: min-content auto minmax(20%, 1fr);
1002
1002
  --slide-image-template: "i i i i i i i2 i2 i2 i2 i2 i2";
1003
1003
  }
1004
1004
  &:has(> h3 + p:not(.full) > img:only-child) {
@@ -1138,8 +1138,8 @@ slide-view:not(:has(h1[layout])) {
1138
1138
  var(--slide-image-template) "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"
1139
1139
  var(--slide-code-template-2) var(--slide-list-template-2)
1140
1140
  var(--slide-image-template-2);
1141
- --grid-content-rows: min-content minmax(0, 1fr) min-content
1142
- minmax(0, 1fr);
1141
+ --grid-content-rows: min-content minmax(10%, 1fr) min-content
1142
+ minmax(10%, 1fr);
1143
1143
 
1144
1144
  &:has(
1145
1145
  > h3 + p > img:only-child:not(.full),
@@ -1153,13 +1153,13 @@ slide-view:not(:has(h1[layout])) {
1153
1153
  &:has(> h3 + :is(ol, ul, table), > h3 + pre + :is(ol, ul, table)) {
1154
1154
  --slide-list-template: "b b b b b b b2 b2 b2 b2 b2 b2";
1155
1155
  --slide-list-template-2: "b3 b3 b3 b3 b3 b3 b4 b4 b4 b4 b4 b4";
1156
- --grid-content-rows: min-content minmax(min-content, 1fr) min-content minmax(min-content, 1fr);
1156
+ --grid-content-rows: min-content minmax(10%, 1fr) min-content minmax(10%, 1fr);
1157
1157
  }
1158
1158
 
1159
1159
  &:has(> h3 + pre) {
1160
1160
  --slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
1161
1161
  --slide-code-template-2: "c3 c3 c3 c3 c3 c3 c4 c4 c4 c4 c4 c4";
1162
- --grid-content-rows: min-content minmax(min-content, 1fr) min-content minmax(min-content, 1fr);
1162
+ --grid-content-rows: min-content minmax(10%, 1fr) min-content minmax(10%, 1fr);
1163
1163
  }
1164
1164
 
1165
1165
  &:has(> h3 + * + p > img:only-child) {