lazyslides 0.1.0
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/LICENSE +21 -0
- package/README.md +207 -0
- package/_includes/slides/_nested-list.njk +26 -0
- package/_includes/slides/agenda.njk +17 -0
- package/_includes/slides/center.njk +16 -0
- package/_includes/slides/code.njk +15 -0
- package/_includes/slides/columns.njk +35 -0
- package/_includes/slides/comparison.njk +29 -0
- package/_includes/slides/content.njk +22 -0
- package/_includes/slides/footer.njk +58 -0
- package/_includes/slides/funnel.njk +30 -0
- package/_includes/slides/hero.njk +27 -0
- package/_includes/slides/image-overlay.njk +21 -0
- package/_includes/slides/metrics.njk +27 -0
- package/_includes/slides/quote.njk +17 -0
- package/_includes/slides/section.njk +6 -0
- package/_includes/slides/split-wide.njk +30 -0
- package/_includes/slides/split.njk +30 -0
- package/_includes/slides/table.njk +31 -0
- package/_includes/slides/timeline.njk +30 -0
- package/_includes/slides/title.njk +17 -0
- package/_layouts/default.njk +20 -0
- package/_layouts/presentation.njk +240 -0
- package/assets/css/themes/default.css +62 -0
- package/assets/css/vendor/glightbox.min.css +1 -0
- package/assets/js/vendor/glightbox.min.js +1 -0
- package/assets/reveal.js/LICENSE +19 -0
- package/assets/reveal.js/dist/reset.css +30 -0
- package/assets/reveal.js/dist/reveal.css +8 -0
- package/assets/reveal.js/dist/reveal.esm.js +9 -0
- package/assets/reveal.js/dist/reveal.esm.js.map +1 -0
- package/assets/reveal.js/dist/reveal.js +9 -0
- package/assets/reveal.js/dist/reveal.js.map +1 -0
- package/assets/reveal.js/dist/theme/beige.css +366 -0
- package/assets/reveal.js/dist/theme/black-contrast.css +362 -0
- package/assets/reveal.js/dist/theme/black.css +359 -0
- package/assets/reveal.js/dist/theme/blood.css +392 -0
- package/assets/reveal.js/dist/theme/dracula.css +385 -0
- package/assets/reveal.js/dist/theme/fonts/league-gothic/LICENSE +2 -0
- package/assets/reveal.js/dist/theme/fonts/league-gothic/league-gothic.css +10 -0
- package/assets/reveal.js/dist/theme/fonts/league-gothic/league-gothic.eot +0 -0
- package/assets/reveal.js/dist/theme/fonts/league-gothic/league-gothic.ttf +0 -0
- package/assets/reveal.js/dist/theme/fonts/league-gothic/league-gothic.woff +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/LICENSE +45 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- package/assets/reveal.js/dist/theme/fonts/source-sans-pro/source-sans-pro.css +39 -0
- package/assets/reveal.js/dist/theme/league.css +368 -0
- package/assets/reveal.js/dist/theme/moon.css +362 -0
- package/assets/reveal.js/dist/theme/night.css +360 -0
- package/assets/reveal.js/dist/theme/serif.css +363 -0
- package/assets/reveal.js/dist/theme/simple.css +362 -0
- package/assets/reveal.js/dist/theme/sky.css +370 -0
- package/assets/reveal.js/dist/theme/solarized.css +363 -0
- package/assets/reveal.js/dist/theme/white-contrast.css +362 -0
- package/assets/reveal.js/dist/theme/white.css +359 -0
- package/assets/reveal.js/dist/theme/white_contrast_compact_verbatim_headers.css +360 -0
- package/assets/reveal.js/plugin/highlight/highlight.esm.js +5 -0
- package/assets/reveal.js/plugin/highlight/highlight.js +5 -0
- package/assets/reveal.js/plugin/highlight/monokai.css +71 -0
- package/assets/reveal.js/plugin/highlight/plugin.js +439 -0
- package/assets/reveal.js/plugin/highlight/zenburn.css +80 -0
- package/assets/reveal.js/plugin/markdown/markdown.esm.js +7 -0
- package/assets/reveal.js/plugin/markdown/markdown.js +7 -0
- package/assets/reveal.js/plugin/markdown/plugin.js +491 -0
- package/assets/reveal.js/plugin/notes/notes.esm.js +1 -0
- package/assets/reveal.js/plugin/notes/notes.js +1 -0
- package/assets/reveal.js/plugin/notes/plugin.js +267 -0
- package/assets/reveal.js/plugin/notes/speaker-view.html +898 -0
- package/cli.js +80 -0
- package/data/site.json +3 -0
- package/index.js +153 -0
- package/lib/export-pdf.js +137 -0
- package/lib/init.js +154 -0
- package/lib/renumber.js +181 -0
- package/lib/validate.js +196 -0
- package/package.json +76 -0
- package/scaffold/CLAUDE.md +283 -0
- package/scaffold/README.md +29 -0
- package/scaffold/_template/index.md +78 -0
- package/scaffold/_template/outline.md +32 -0
- package/scaffold/claude-commands/add-slide.md +61 -0
- package/scaffold/claude-commands/create-outline.md +75 -0
- package/scaffold/claude-commands/new-presentation.md +218 -0
- package/scaffold/claude-commands/refine-slides.md +62 -0
- package/scaffold/claude-commands/research-topic.md +66 -0
- package/scaffold/claude-commands/validate.md +47 -0
- package/scaffold/claude-settings.json +7 -0
- package/scaffold/eleventy.config.js +11 -0
- package/scaffold/gitignore +5 -0
- package/scaffold/my-first-deck/index.md +26 -0
- package/scaffold/nvmrc +1 -0
- package/scaffold/package.json.tmpl +25 -0
- package/scaffold/presentations.11tydata.js +11 -0
- package/scaffold/styles.css +3 -0
- package/src/styles.css +2077 -0
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Black theme for reveal.js. This is the opposite of the 'white' theme.
|
|
3
|
+
*
|
|
4
|
+
* By Hakim El Hattab, http://hakim.se
|
|
5
|
+
*/
|
|
6
|
+
@import url(./fonts/source-sans-pro/source-sans-pro.css);
|
|
7
|
+
section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
|
|
8
|
+
color: #222;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/*********************************************
|
|
12
|
+
* GLOBAL STYLES
|
|
13
|
+
*********************************************/
|
|
14
|
+
:root {
|
|
15
|
+
--r-background-color: #191919;
|
|
16
|
+
--r-main-font: Source Sans Pro, Helvetica, sans-serif;
|
|
17
|
+
--r-main-font-size: 42px;
|
|
18
|
+
--r-main-color: #fff;
|
|
19
|
+
--r-block-margin: 20px;
|
|
20
|
+
--r-heading-margin: 0 0 20px 0;
|
|
21
|
+
--r-heading-font: Source Sans Pro, Helvetica, sans-serif;
|
|
22
|
+
--r-heading-color: #fff;
|
|
23
|
+
--r-heading-line-height: 1.2;
|
|
24
|
+
--r-heading-letter-spacing: normal;
|
|
25
|
+
--r-heading-text-transform: uppercase;
|
|
26
|
+
--r-heading-text-shadow: none;
|
|
27
|
+
--r-heading-font-weight: 600;
|
|
28
|
+
--r-heading1-text-shadow: none;
|
|
29
|
+
--r-heading1-size: 2.5em;
|
|
30
|
+
--r-heading2-size: 1.6em;
|
|
31
|
+
--r-heading3-size: 1.3em;
|
|
32
|
+
--r-heading4-size: 1em;
|
|
33
|
+
--r-code-font: monospace;
|
|
34
|
+
--r-link-color: #42affa;
|
|
35
|
+
--r-link-color-dark: #068de9;
|
|
36
|
+
--r-link-color-hover: #8dcffc;
|
|
37
|
+
--r-selection-background-color: rgba(66, 175, 250, 0.75);
|
|
38
|
+
--r-selection-color: #fff;
|
|
39
|
+
--r-overlay-element-bg-color: 240, 240, 240;
|
|
40
|
+
--r-overlay-element-fg-color: 0, 0, 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.reveal-viewport {
|
|
44
|
+
background: #191919;
|
|
45
|
+
background-color: var(--r-background-color);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.reveal {
|
|
49
|
+
font-family: var(--r-main-font);
|
|
50
|
+
font-size: var(--r-main-font-size);
|
|
51
|
+
font-weight: normal;
|
|
52
|
+
color: var(--r-main-color);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.reveal ::selection {
|
|
56
|
+
color: var(--r-selection-color);
|
|
57
|
+
background: var(--r-selection-background-color);
|
|
58
|
+
text-shadow: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.reveal ::-moz-selection {
|
|
62
|
+
color: var(--r-selection-color);
|
|
63
|
+
background: var(--r-selection-background-color);
|
|
64
|
+
text-shadow: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.reveal .slides section,
|
|
68
|
+
.reveal .slides section > section {
|
|
69
|
+
line-height: 1.3;
|
|
70
|
+
font-weight: inherit;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/*********************************************
|
|
74
|
+
* HEADERS
|
|
75
|
+
*********************************************/
|
|
76
|
+
.reveal h1,
|
|
77
|
+
.reveal h2,
|
|
78
|
+
.reveal h3,
|
|
79
|
+
.reveal h4,
|
|
80
|
+
.reveal h5,
|
|
81
|
+
.reveal h6 {
|
|
82
|
+
margin: var(--r-heading-margin);
|
|
83
|
+
color: var(--r-heading-color);
|
|
84
|
+
font-family: var(--r-heading-font);
|
|
85
|
+
font-weight: var(--r-heading-font-weight);
|
|
86
|
+
line-height: var(--r-heading-line-height);
|
|
87
|
+
letter-spacing: var(--r-heading-letter-spacing);
|
|
88
|
+
text-transform: var(--r-heading-text-transform);
|
|
89
|
+
text-shadow: var(--r-heading-text-shadow);
|
|
90
|
+
word-wrap: break-word;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.reveal h1 {
|
|
94
|
+
font-size: var(--r-heading1-size);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.reveal h2 {
|
|
98
|
+
font-size: var(--r-heading2-size);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.reveal h3 {
|
|
102
|
+
font-size: var(--r-heading3-size);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.reveal h4 {
|
|
106
|
+
font-size: var(--r-heading4-size);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.reveal h1 {
|
|
110
|
+
text-shadow: var(--r-heading1-text-shadow);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/*********************************************
|
|
114
|
+
* OTHER
|
|
115
|
+
*********************************************/
|
|
116
|
+
.reveal p {
|
|
117
|
+
margin: var(--r-block-margin) 0;
|
|
118
|
+
line-height: 1.3;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Remove trailing margins after titles */
|
|
122
|
+
.reveal h1:last-child,
|
|
123
|
+
.reveal h2:last-child,
|
|
124
|
+
.reveal h3:last-child,
|
|
125
|
+
.reveal h4:last-child,
|
|
126
|
+
.reveal h5:last-child,
|
|
127
|
+
.reveal h6:last-child {
|
|
128
|
+
margin-bottom: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Ensure certain elements are never larger than the slide itself */
|
|
132
|
+
.reveal img,
|
|
133
|
+
.reveal video,
|
|
134
|
+
.reveal iframe {
|
|
135
|
+
max-width: 95%;
|
|
136
|
+
max-height: 95%;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.reveal strong,
|
|
140
|
+
.reveal b {
|
|
141
|
+
font-weight: bold;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.reveal em {
|
|
145
|
+
font-style: italic;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.reveal ol,
|
|
149
|
+
.reveal dl,
|
|
150
|
+
.reveal ul {
|
|
151
|
+
display: inline-block;
|
|
152
|
+
text-align: left;
|
|
153
|
+
margin: 0 0 0 1em;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.reveal ol {
|
|
157
|
+
list-style-type: decimal;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.reveal ul {
|
|
161
|
+
list-style-type: disc;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.reveal ul ul {
|
|
165
|
+
list-style-type: square;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.reveal ul ul ul {
|
|
169
|
+
list-style-type: circle;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.reveal ul ul,
|
|
173
|
+
.reveal ul ol,
|
|
174
|
+
.reveal ol ol,
|
|
175
|
+
.reveal ol ul {
|
|
176
|
+
display: block;
|
|
177
|
+
margin-left: 40px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.reveal dt {
|
|
181
|
+
font-weight: bold;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.reveal dd {
|
|
185
|
+
margin-left: 40px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.reveal blockquote {
|
|
189
|
+
display: block;
|
|
190
|
+
position: relative;
|
|
191
|
+
width: 70%;
|
|
192
|
+
margin: var(--r-block-margin) auto;
|
|
193
|
+
padding: 5px;
|
|
194
|
+
font-style: italic;
|
|
195
|
+
background: rgba(255, 255, 255, 0.05);
|
|
196
|
+
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.reveal blockquote p:first-child,
|
|
200
|
+
.reveal blockquote p:last-child {
|
|
201
|
+
display: inline-block;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.reveal q {
|
|
205
|
+
font-style: italic;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.reveal pre {
|
|
209
|
+
display: block;
|
|
210
|
+
position: relative;
|
|
211
|
+
width: 90%;
|
|
212
|
+
margin: var(--r-block-margin) auto;
|
|
213
|
+
text-align: left;
|
|
214
|
+
font-size: 0.55em;
|
|
215
|
+
font-family: var(--r-code-font);
|
|
216
|
+
line-height: 1.2em;
|
|
217
|
+
word-wrap: break-word;
|
|
218
|
+
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.reveal code {
|
|
222
|
+
font-family: var(--r-code-font);
|
|
223
|
+
text-transform: none;
|
|
224
|
+
tab-size: 2;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.reveal pre code {
|
|
228
|
+
display: block;
|
|
229
|
+
padding: 5px;
|
|
230
|
+
overflow: auto;
|
|
231
|
+
max-height: 400px;
|
|
232
|
+
word-wrap: normal;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.reveal .code-wrapper {
|
|
236
|
+
white-space: normal;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.reveal .code-wrapper code {
|
|
240
|
+
white-space: pre;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.reveal table {
|
|
244
|
+
margin: auto;
|
|
245
|
+
border-collapse: collapse;
|
|
246
|
+
border-spacing: 0;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.reveal table th {
|
|
250
|
+
font-weight: bold;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.reveal table th,
|
|
254
|
+
.reveal table td {
|
|
255
|
+
text-align: left;
|
|
256
|
+
padding: 0.2em 0.5em 0.2em 0.5em;
|
|
257
|
+
border-bottom: 1px solid;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.reveal table th[align=center],
|
|
261
|
+
.reveal table td[align=center] {
|
|
262
|
+
text-align: center;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.reveal table th[align=right],
|
|
266
|
+
.reveal table td[align=right] {
|
|
267
|
+
text-align: right;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.reveal table tbody tr:last-child th,
|
|
271
|
+
.reveal table tbody tr:last-child td {
|
|
272
|
+
border-bottom: none;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.reveal sup {
|
|
276
|
+
vertical-align: super;
|
|
277
|
+
font-size: smaller;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.reveal sub {
|
|
281
|
+
vertical-align: sub;
|
|
282
|
+
font-size: smaller;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.reveal small {
|
|
286
|
+
display: inline-block;
|
|
287
|
+
font-size: 0.6em;
|
|
288
|
+
line-height: 1.2em;
|
|
289
|
+
vertical-align: top;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.reveal small * {
|
|
293
|
+
vertical-align: top;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.reveal img {
|
|
297
|
+
margin: var(--r-block-margin) 0;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/*********************************************
|
|
301
|
+
* LINKS
|
|
302
|
+
*********************************************/
|
|
303
|
+
.reveal a {
|
|
304
|
+
color: var(--r-link-color);
|
|
305
|
+
text-decoration: none;
|
|
306
|
+
transition: color 0.15s ease;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.reveal a:hover {
|
|
310
|
+
color: var(--r-link-color-hover);
|
|
311
|
+
text-shadow: none;
|
|
312
|
+
border: none;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.reveal .roll span:after {
|
|
316
|
+
color: #fff;
|
|
317
|
+
background: var(--r-link-color-dark);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/*********************************************
|
|
321
|
+
* Frame helper
|
|
322
|
+
*********************************************/
|
|
323
|
+
.reveal .r-frame {
|
|
324
|
+
border: 4px solid var(--r-main-color);
|
|
325
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.reveal a .r-frame {
|
|
329
|
+
transition: all 0.15s linear;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.reveal a:hover .r-frame {
|
|
333
|
+
border-color: var(--r-link-color);
|
|
334
|
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/*********************************************
|
|
338
|
+
* NAVIGATION CONTROLS
|
|
339
|
+
*********************************************/
|
|
340
|
+
.reveal .controls {
|
|
341
|
+
color: var(--r-link-color);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/*********************************************
|
|
345
|
+
* PROGRESS BAR
|
|
346
|
+
*********************************************/
|
|
347
|
+
.reveal .progress {
|
|
348
|
+
background: rgba(0, 0, 0, 0.2);
|
|
349
|
+
color: var(--r-link-color);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/*********************************************
|
|
353
|
+
* PRINT BACKGROUND
|
|
354
|
+
*********************************************/
|
|
355
|
+
@media print {
|
|
356
|
+
.backgrounds {
|
|
357
|
+
background-color: var(--r-background-color);
|
|
358
|
+
}
|
|
359
|
+
}
|