presi-slides 1.0.12 → 1.0.14
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/includes/slides.css
CHANGED
|
@@ -619,8 +619,8 @@ slide-view:not(:has(h1[layout])) {
|
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
&
|
|
622
|
-
> :is(
|
|
623
|
-
+ :is(
|
|
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
|
}
|
|
@@ -738,7 +738,8 @@ slide-view:not(:has(h1[layout])) {
|
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
&:has(aside + pre) {
|
|
741
|
-
--slide-aside-template: "c c c c c c c c
|
|
741
|
+
--slide-aside-template: "c c c c c c c c i i i i"
|
|
742
|
+
"b b b b b b b b a a a a";
|
|
742
743
|
--grid-content-rows: auto minmax(min-content, 1fr);
|
|
743
744
|
}
|
|
744
745
|
}
|
|
@@ -905,6 +906,27 @@ slide-view:not(:has(h1[layout])) {
|
|
|
905
906
|
--slide-body-template: "b b b b b b c c c c c c";
|
|
906
907
|
}
|
|
907
908
|
|
|
909
|
+
/* initial blockquote */
|
|
910
|
+
|
|
911
|
+
&:has(
|
|
912
|
+
> blockquote:where(
|
|
913
|
+
:first-child:not(h1, header),
|
|
914
|
+
:is(h1, header):first-of-type + *
|
|
915
|
+
)
|
|
916
|
+
+ *:not(h3, .full, .note, footer)
|
|
917
|
+
):not(:has(> p.full)) {
|
|
918
|
+
--slide-body-template: "q q q q q q b b b b b b";
|
|
919
|
+
|
|
920
|
+
> blockquote:first-of-type {
|
|
921
|
+
grid-area: q;
|
|
922
|
+
place-self: center;
|
|
923
|
+
|
|
924
|
+
+ * {
|
|
925
|
+
place-self: center;
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
|
|
908
930
|
/* side-by-side sections (h3) */
|
|
909
931
|
|
|
910
932
|
&:has(> h3:nth-of-type(2)) {
|
|
@@ -932,6 +954,7 @@ slide-view:not(:has(h1[layout])) {
|
|
|
932
954
|
|
|
933
955
|
&:has(> h3 + pre) {
|
|
934
956
|
--slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
|
|
957
|
+
--grid-content-rows: min-content minmax(20%, 1fr) minmax(20%, 1fr);
|
|
935
958
|
}
|
|
936
959
|
|
|
937
960
|
&:has(> aside ~ h3:nth-of-type(2)) {
|
package/package.json
CHANGED
package/public/slides.css
CHANGED
|
@@ -619,8 +619,8 @@ slide-view:not(:has(h1[layout])) {
|
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
&
|
|
622
|
-
> :is(
|
|
623
|
-
+ :is(
|
|
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
|
}
|
|
@@ -738,7 +738,8 @@ slide-view:not(:has(h1[layout])) {
|
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
&:has(aside + pre) {
|
|
741
|
-
--slide-aside-template: "c c c c c c c c
|
|
741
|
+
--slide-aside-template: "c c c c c c c c i i i i"
|
|
742
|
+
"b b b b b b b b a a a a";
|
|
742
743
|
--grid-content-rows: auto minmax(min-content, 1fr);
|
|
743
744
|
}
|
|
744
745
|
}
|
|
@@ -905,6 +906,27 @@ slide-view:not(:has(h1[layout])) {
|
|
|
905
906
|
--slide-body-template: "b b b b b b c c c c c c";
|
|
906
907
|
}
|
|
907
908
|
|
|
909
|
+
/* initial blockquote */
|
|
910
|
+
|
|
911
|
+
&:has(
|
|
912
|
+
> blockquote:where(
|
|
913
|
+
:first-child:not(h1, header),
|
|
914
|
+
:is(h1, header):first-of-type + *
|
|
915
|
+
)
|
|
916
|
+
+ *:not(h3, .full, .note, footer)
|
|
917
|
+
):not(:has(> p.full)) {
|
|
918
|
+
--slide-body-template: "q q q q q q b b b b b b";
|
|
919
|
+
|
|
920
|
+
> blockquote:first-of-type {
|
|
921
|
+
grid-area: q;
|
|
922
|
+
place-self: center;
|
|
923
|
+
|
|
924
|
+
+ * {
|
|
925
|
+
place-self: center;
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
|
|
908
930
|
/* side-by-side sections (h3) */
|
|
909
931
|
|
|
910
932
|
&:has(> h3:nth-of-type(2)) {
|
|
@@ -932,6 +954,7 @@ slide-view:not(:has(h1[layout])) {
|
|
|
932
954
|
|
|
933
955
|
&:has(> h3 + pre) {
|
|
934
956
|
--slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
|
|
957
|
+
--grid-content-rows: min-content minmax(20%, 1fr) minmax(20%, 1fr);
|
|
935
958
|
}
|
|
936
959
|
|
|
937
960
|
&:has(> aside ~ 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
|