presi-slides 1.0.12 → 1.0.13

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.
@@ -619,8 +619,8 @@ slide-view:not(:has(h1[layout])) {
619
619
  }
620
620
 
621
621
  &
622
- > :is(blockquote, ul, ol, dl, table):first-of-type
623
- + :is(blockquote, ul, ol, dl, table) {
622
+ > :is(ul, ol, dl, table):first-of-type
623
+ + :is(ul, ol, dl, table) {
624
624
  grid-area: unset;
625
625
  grid-column: start/end;
626
626
  }
@@ -905,6 +905,27 @@ slide-view:not(:has(h1[layout])) {
905
905
  --slide-body-template: "b b b b b b c c c c c c";
906
906
  }
907
907
 
908
+ /* initial blockquote */
909
+
910
+ &:has(
911
+ > blockquote:where(
912
+ :first-child:not(h1, header),
913
+ :is(h1, header):first-of-type + *
914
+ )
915
+ + *:not(h3, .full, .note, footer)
916
+ ):not(:has(> p.full)) {
917
+ --slide-body-template: "q q q q q q b b b b b b";
918
+
919
+ > blockquote:first-of-type {
920
+ grid-area: q;
921
+ place-self: center;
922
+
923
+ + * {
924
+ place-self: center;
925
+ }
926
+ }
927
+ }
928
+
908
929
  /* side-by-side sections (h3) */
909
930
 
910
931
  &:has(> h3:nth-of-type(2)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presi-slides",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Make slides with Markdown",
5
5
  "keywords": [
6
6
  "Presentation",
package/public/slides.css CHANGED
@@ -619,8 +619,8 @@ slide-view:not(:has(h1[layout])) {
619
619
  }
620
620
 
621
621
  &
622
- > :is(blockquote, ul, ol, dl, table):first-of-type
623
- + :is(blockquote, ul, ol, dl, table) {
622
+ > :is(ul, ol, dl, table):first-of-type
623
+ + :is(ul, ol, dl, table) {
624
624
  grid-area: unset;
625
625
  grid-column: start/end;
626
626
  }
@@ -905,6 +905,27 @@ slide-view:not(:has(h1[layout])) {
905
905
  --slide-body-template: "b b b b b b c c c c c c";
906
906
  }
907
907
 
908
+ /* initial blockquote */
909
+
910
+ &:has(
911
+ > blockquote:where(
912
+ :first-child:not(h1, header),
913
+ :is(h1, header):first-of-type + *
914
+ )
915
+ + *:not(h3, .full, .note, footer)
916
+ ):not(:has(> p.full)) {
917
+ --slide-body-template: "q q q q q q b b b b b b";
918
+
919
+ > blockquote:first-of-type {
920
+ grid-area: q;
921
+ place-self: center;
922
+
923
+ + * {
924
+ place-self: center;
925
+ }
926
+ }
927
+ }
928
+
908
929
  /* side-by-side sections (h3) */
909
930
 
910
931
  &:has(> h3:nth-of-type(2)) {
@@ -120,6 +120,17 @@ title: Sample Presi
120
120
  - creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address
121
121
  - Default behavior:
122
122
  - load the referenced resource
123
-
123
+
124
+ ---
125
+ # Slide 8
126
+
127
+
128
+ > View is a function of Model
129
+
130
+ - To modify the view, change the model
131
+ - `render()` is a function
132
+ - Performance is enhanced by reducing full re-renders
133
+
134
+
124
135
  ---
125
136
  tags: #slides