@jet-w/astro-blog 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.
Files changed (140) hide show
  1. package/dist/chunk-FXPGR372.js +0 -0
  2. package/dist/chunk-GYLSY3OJ.js +173 -0
  3. package/dist/config/index.d.ts +166 -0
  4. package/dist/config/index.js +38 -0
  5. package/dist/index.d.ts +34 -0
  6. package/dist/index.js +59 -0
  7. package/dist/types/index.d.ts +75 -0
  8. package/dist/types/index.js +1 -0
  9. package/package.json +84 -0
  10. package/src/components/EChartsCard.vue +118 -0
  11. package/src/components/Mermaid.vue +73 -0
  12. package/src/components/about/ContentCard.astro +27 -0
  13. package/src/components/about/IconCard.astro +77 -0
  14. package/src/components/about/SocialLinks.astro +54 -0
  15. package/src/components/about/TagCard.astro +65 -0
  16. package/src/components/about/TagGroup.astro +33 -0
  17. package/src/components/about/TimelineCard.astro +52 -0
  18. package/src/components/blog/FloatingToc.vue +198 -0
  19. package/src/components/blog/Hero.astro +147 -0
  20. package/src/components/blog/NavigationTabs.vue +245 -0
  21. package/src/components/blog/PostCard.astro +161 -0
  22. package/src/components/blog/PostNavigation.astro +106 -0
  23. package/src/components/blog/RelatedPosts.astro +175 -0
  24. package/src/components/blog/TableOfContents.astro +153 -0
  25. package/src/components/blog/TagCloud.astro +91 -0
  26. package/src/components/home/FeaturedPostsSection.astro +54 -0
  27. package/src/components/home/QuickNavSection.astro +81 -0
  28. package/src/components/home/RecentPostsSection.astro +52 -0
  29. package/src/components/home/StatsSection.astro +44 -0
  30. package/src/components/layout/Footer.astro +103 -0
  31. package/src/components/layout/Header.astro +68 -0
  32. package/src/components/layout/Sidebar.astro +594 -0
  33. package/src/components/media/Bilibili.astro +114 -0
  34. package/src/components/media/Slides.astro +313 -0
  35. package/src/components/media/Video.astro +111 -0
  36. package/src/components/media/VideoPlayer.astro +89 -0
  37. package/src/components/media/YouTube.astro +92 -0
  38. package/src/components/pte/StudyCalendar.vue +1348 -0
  39. package/src/components/ui/Icon.astro +187 -0
  40. package/src/components/ui/MobileMenu.vue +201 -0
  41. package/src/components/ui/Pagination.astro +143 -0
  42. package/src/components/ui/SearchBox.vue +179 -0
  43. package/src/components/ui/SearchInterface.vue +409 -0
  44. package/src/components/ui/SidebarToggle.vue +57 -0
  45. package/src/components/ui/ThemeToggle.vue +90 -0
  46. package/src/layouts/AboutLayout.astro +18 -0
  47. package/src/layouts/BaseLayout.astro +362 -0
  48. package/src/layouts/PageLayout.astro +217 -0
  49. package/src/layouts/SlidesLayout.astro +320 -0
  50. package/src/plugins/rehype-clean-containers.mjs +24 -0
  51. package/src/plugins/rehype-relative-links.mjs +43 -0
  52. package/src/plugins/rehype-tabs.mjs +116 -0
  53. package/src/plugins/remark-containers.mjs +407 -0
  54. package/src/plugins/remark-mermaid.mjs +46 -0
  55. package/src/styles/global.css +870 -0
  56. package/src/styles/slides.css +220 -0
  57. package/src/utils/sidebar.ts +492 -0
  58. package/templates/default/astro.config.mjs +51 -0
  59. package/templates/default/content/pages/about.mdx +93 -0
  60. package/templates/default/content/pages/index.mdx +20 -0
  61. package/templates/default/content/posts/blog_docs/01-quick-start.md +162 -0
  62. package/templates/default/content/posts/blog_docs/02-frontmatter.md +277 -0
  63. package/templates/default/content/posts/blog_docs/03-markdown-basic.md +350 -0
  64. package/templates/default/content/posts/blog_docs/04-containers.md +331 -0
  65. package/templates/default/content/posts/blog_docs/05-code-blocks.md +388 -0
  66. package/templates/default/content/posts/blog_docs/06-mermaid.md +431 -0
  67. package/templates/default/content/posts/blog_docs/07-video.md +243 -0
  68. package/templates/default/content/posts/blog_docs/08-latex.md +382 -0
  69. package/templates/default/content/posts/blog_docs/09-icons.md +326 -0
  70. package/templates/default/content/posts/blog_docs/10-sidebar.md +445 -0
  71. package/templates/default/content/posts/blog_docs/11-config.md +334 -0
  72. package/templates/default/content/posts/blog_docs/12-slides.mdx +552 -0
  73. package/templates/default/content/posts/blog_docs/README.md +151 -0
  74. package/templates/default/content/slides/demo.md +146 -0
  75. package/templates/default/content/slides/docs/basic-demo.md +35 -0
  76. package/templates/default/content/slides/docs/code-demo.md +62 -0
  77. package/templates/default/content/slides/docs/echarts-demo.md +139 -0
  78. package/templates/default/content/slides/docs/fragment-demo.md +35 -0
  79. package/templates/default/content/slides/docs/math-demo.md +48 -0
  80. package/templates/default/content/slides/docs/mermaid-demo.md +105 -0
  81. package/templates/default/content/slides/docs/theme-demo.md +38 -0
  82. package/templates/default/content/slides/docs/vertical-demo.md +50 -0
  83. package/templates/default/package.json +31 -0
  84. package/templates/default/public/favicon-bak.svg +4 -0
  85. package/templates/default/public/images/avatar.jpg +0 -0
  86. package/templates/default/public/images/avatar.svg +142 -0
  87. package/templates/default/public/js/mermaid-container.js +402 -0
  88. package/templates/default/public/js/mermaid-init.js +131 -0
  89. package/templates/default/public/js/mermaid-render.js +98 -0
  90. package/templates/default/public/js/mermaid-simple.js +95 -0
  91. package/templates/default/public/js/tabs-init.js +86 -0
  92. package/templates/default/public/media/individual_portfolio/INDIVIDUAL PORTFOLIO.png +0 -0
  93. package/templates/default/public/slides/plugin/highlight/highlight.js +5 -0
  94. package/templates/default/public/slides/plugin/highlight/monokai.css +71 -0
  95. package/templates/default/public/slides/plugin/markdown/markdown.js +7 -0
  96. package/templates/default/public/slides/plugin/math/math.js +1 -0
  97. package/templates/default/public/slides/plugin/notes/notes.js +1 -0
  98. package/templates/default/public/slides/reveal.css +9 -0
  99. package/templates/default/public/slides/reveal.js +9 -0
  100. package/templates/default/public/slides/theme/beige.css +366 -0
  101. package/templates/default/public/slides/theme/black-contrast.css +362 -0
  102. package/templates/default/public/slides/theme/black.css +359 -0
  103. package/templates/default/public/slides/theme/blood.css +392 -0
  104. package/templates/default/public/slides/theme/dracula.css +385 -0
  105. package/templates/default/public/slides/theme/league.css +368 -0
  106. package/templates/default/public/slides/theme/moon.css +362 -0
  107. package/templates/default/public/slides/theme/night.css +360 -0
  108. package/templates/default/public/slides/theme/serif.css +363 -0
  109. package/templates/default/public/slides/theme/simple.css +362 -0
  110. package/templates/default/public/slides/theme/sky.css +370 -0
  111. package/templates/default/public/slides/theme/solarized.css +363 -0
  112. package/templates/default/public/slides/theme/white-contrast.css +362 -0
  113. package/templates/default/public/slides/theme/white.css +359 -0
  114. package/templates/default/public/slides/theme/white_contrast_compact_verbatim_headers.css +360 -0
  115. package/templates/default/public/test-complete.html +43 -0
  116. package/templates/default/public/test-mermaid.html +124 -0
  117. package/templates/default/src/config/index.ts +114 -0
  118. package/templates/default/src/content.config.ts +96 -0
  119. package/templates/default/src/pages/[...slug].astro +27 -0
  120. package/templates/default/src/pages/archives/[year]/[month]/page/[page].astro +176 -0
  121. package/templates/default/src/pages/archives/[year]/[month].astro +158 -0
  122. package/templates/default/src/pages/archives/index.astro +210 -0
  123. package/templates/default/src/pages/categories/[category]/page/[page].astro +218 -0
  124. package/templates/default/src/pages/categories/[category].astro +198 -0
  125. package/templates/default/src/pages/categories/index.astro +190 -0
  126. package/templates/default/src/pages/container-test.astro +79 -0
  127. package/templates/default/src/pages/mermaid-direct.html +78 -0
  128. package/templates/default/src/pages/posts/[...slug].astro +335 -0
  129. package/templates/default/src/pages/posts/index.astro +541 -0
  130. package/templates/default/src/pages/posts/page/[page].astro +146 -0
  131. package/templates/default/src/pages/rss.xml.ts +28 -0
  132. package/templates/default/src/pages/search-index.json.ts +21 -0
  133. package/templates/default/src/pages/search.astro +50 -0
  134. package/templates/default/src/pages/slides/[...slug].astro +54 -0
  135. package/templates/default/src/pages/slides/index.astro +135 -0
  136. package/templates/default/src/pages/tags/[tag]/page/[page].astro +211 -0
  137. package/templates/default/src/pages/tags/[tag].astro +191 -0
  138. package/templates/default/src/pages/tags/index.astro +167 -0
  139. package/templates/default/tailwind.config.mjs +78 -0
  140. package/templates/default/tsconfig.json +9 -0
@@ -0,0 +1,360 @@
1
+ /**
2
+ * Black theme for reveal.js.
3
+ *
4
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
5
+ */
6
+ @import url(https://fonts.googleapis.com/css?family=Montserrat:700);
7
+ @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
8
+ 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 {
9
+ color: #222;
10
+ }
11
+
12
+ /*********************************************
13
+ * GLOBAL STYLES
14
+ *********************************************/
15
+ :root {
16
+ --r-background-color: #111;
17
+ --r-main-font: Open Sans, sans-serif;
18
+ --r-main-font-size: 40px;
19
+ --r-main-color: #eee;
20
+ --r-block-margin: 20px;
21
+ --r-heading-margin: 0 0 20px 0;
22
+ --r-heading-font: Montserrat, Impact, sans-serif;
23
+ --r-heading-color: #eee;
24
+ --r-heading-line-height: 1.2;
25
+ --r-heading-letter-spacing: -0.03em;
26
+ --r-heading-text-transform: none;
27
+ --r-heading-text-shadow: none;
28
+ --r-heading-font-weight: normal;
29
+ --r-heading1-text-shadow: none;
30
+ --r-heading1-size: 3.77em;
31
+ --r-heading2-size: 2.11em;
32
+ --r-heading3-size: 1.55em;
33
+ --r-heading4-size: 1em;
34
+ --r-code-font: monospace;
35
+ --r-link-color: #e7ad52;
36
+ --r-link-color-dark: rgb(225.2802030457, 153.4573604061, 40.7697969543);
37
+ --r-link-color-hover: rgb(235.8, 189.4, 116.6);
38
+ --r-selection-background-color: #e7ad52;
39
+ --r-selection-color: #fff;
40
+ --r-overlay-element-bg-color: 240, 240, 240;
41
+ --r-overlay-element-fg-color: 0, 0, 0;
42
+ }
43
+
44
+ .reveal-viewport {
45
+ background: #111;
46
+ background-color: var(--r-background-color);
47
+ }
48
+
49
+ .reveal {
50
+ font-family: var(--r-main-font);
51
+ font-size: var(--r-main-font-size);
52
+ font-weight: normal;
53
+ color: var(--r-main-color);
54
+ }
55
+
56
+ .reveal ::selection {
57
+ color: var(--r-selection-color);
58
+ background: var(--r-selection-background-color);
59
+ text-shadow: none;
60
+ }
61
+
62
+ .reveal ::-moz-selection {
63
+ color: var(--r-selection-color);
64
+ background: var(--r-selection-background-color);
65
+ text-shadow: none;
66
+ }
67
+
68
+ .reveal .slides section,
69
+ .reveal .slides section > section {
70
+ line-height: 1.3;
71
+ font-weight: inherit;
72
+ }
73
+
74
+ /*********************************************
75
+ * HEADERS
76
+ *********************************************/
77
+ .reveal h1,
78
+ .reveal h2,
79
+ .reveal h3,
80
+ .reveal h4,
81
+ .reveal h5,
82
+ .reveal h6 {
83
+ margin: var(--r-heading-margin);
84
+ color: var(--r-heading-color);
85
+ font-family: var(--r-heading-font);
86
+ font-weight: var(--r-heading-font-weight);
87
+ line-height: var(--r-heading-line-height);
88
+ letter-spacing: var(--r-heading-letter-spacing);
89
+ text-transform: var(--r-heading-text-transform);
90
+ text-shadow: var(--r-heading-text-shadow);
91
+ word-wrap: break-word;
92
+ }
93
+
94
+ .reveal h1 {
95
+ font-size: var(--r-heading1-size);
96
+ }
97
+
98
+ .reveal h2 {
99
+ font-size: var(--r-heading2-size);
100
+ }
101
+
102
+ .reveal h3 {
103
+ font-size: var(--r-heading3-size);
104
+ }
105
+
106
+ .reveal h4 {
107
+ font-size: var(--r-heading4-size);
108
+ }
109
+
110
+ .reveal h1 {
111
+ text-shadow: var(--r-heading1-text-shadow);
112
+ }
113
+
114
+ /*********************************************
115
+ * OTHER
116
+ *********************************************/
117
+ .reveal p {
118
+ margin: var(--r-block-margin) 0;
119
+ line-height: 1.3;
120
+ }
121
+
122
+ /* Remove trailing margins after titles */
123
+ .reveal h1:last-child,
124
+ .reveal h2:last-child,
125
+ .reveal h3:last-child,
126
+ .reveal h4:last-child,
127
+ .reveal h5:last-child,
128
+ .reveal h6:last-child {
129
+ margin-bottom: 0;
130
+ }
131
+
132
+ /* Ensure certain elements are never larger than the slide itself */
133
+ .reveal img,
134
+ .reveal video,
135
+ .reveal iframe {
136
+ max-width: 95%;
137
+ max-height: 95%;
138
+ }
139
+
140
+ .reveal strong,
141
+ .reveal b {
142
+ font-weight: bold;
143
+ }
144
+
145
+ .reveal em {
146
+ font-style: italic;
147
+ }
148
+
149
+ .reveal ol,
150
+ .reveal dl,
151
+ .reveal ul {
152
+ display: inline-block;
153
+ text-align: left;
154
+ margin: 0 0 0 1em;
155
+ }
156
+
157
+ .reveal ol {
158
+ list-style-type: decimal;
159
+ }
160
+
161
+ .reveal ul {
162
+ list-style-type: disc;
163
+ }
164
+
165
+ .reveal ul ul {
166
+ list-style-type: square;
167
+ }
168
+
169
+ .reveal ul ul ul {
170
+ list-style-type: circle;
171
+ }
172
+
173
+ .reveal ul ul,
174
+ .reveal ul ol,
175
+ .reveal ol ol,
176
+ .reveal ol ul {
177
+ display: block;
178
+ margin-left: 40px;
179
+ }
180
+
181
+ .reveal dt {
182
+ font-weight: bold;
183
+ }
184
+
185
+ .reveal dd {
186
+ margin-left: 40px;
187
+ }
188
+
189
+ .reveal blockquote {
190
+ display: block;
191
+ position: relative;
192
+ width: 70%;
193
+ margin: var(--r-block-margin) auto;
194
+ padding: 5px;
195
+ font-style: italic;
196
+ background: rgba(255, 255, 255, 0.05);
197
+ box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
198
+ }
199
+
200
+ .reveal blockquote p:first-child,
201
+ .reveal blockquote p:last-child {
202
+ display: inline-block;
203
+ }
204
+
205
+ .reveal q {
206
+ font-style: italic;
207
+ }
208
+
209
+ .reveal pre {
210
+ display: block;
211
+ position: relative;
212
+ width: 90%;
213
+ margin: var(--r-block-margin) auto;
214
+ text-align: left;
215
+ font-size: 0.55em;
216
+ font-family: var(--r-code-font);
217
+ line-height: 1.2em;
218
+ word-wrap: break-word;
219
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
220
+ }
221
+
222
+ .reveal code {
223
+ font-family: var(--r-code-font);
224
+ text-transform: none;
225
+ tab-size: 2;
226
+ }
227
+
228
+ .reveal pre code {
229
+ display: block;
230
+ padding: 5px;
231
+ overflow: auto;
232
+ max-height: 400px;
233
+ word-wrap: normal;
234
+ }
235
+
236
+ .reveal .code-wrapper {
237
+ white-space: normal;
238
+ }
239
+
240
+ .reveal .code-wrapper code {
241
+ white-space: pre;
242
+ }
243
+
244
+ .reveal table {
245
+ margin: auto;
246
+ border-collapse: collapse;
247
+ border-spacing: 0;
248
+ }
249
+
250
+ .reveal table th {
251
+ font-weight: bold;
252
+ }
253
+
254
+ .reveal table th,
255
+ .reveal table td {
256
+ text-align: left;
257
+ padding: 0.2em 0.5em 0.2em 0.5em;
258
+ border-bottom: 1px solid;
259
+ }
260
+
261
+ .reveal table th[align=center],
262
+ .reveal table td[align=center] {
263
+ text-align: center;
264
+ }
265
+
266
+ .reveal table th[align=right],
267
+ .reveal table td[align=right] {
268
+ text-align: right;
269
+ }
270
+
271
+ .reveal table tbody tr:last-child th,
272
+ .reveal table tbody tr:last-child td {
273
+ border-bottom: none;
274
+ }
275
+
276
+ .reveal sup {
277
+ vertical-align: super;
278
+ font-size: smaller;
279
+ }
280
+
281
+ .reveal sub {
282
+ vertical-align: sub;
283
+ font-size: smaller;
284
+ }
285
+
286
+ .reveal small {
287
+ display: inline-block;
288
+ font-size: 0.6em;
289
+ line-height: 1.2em;
290
+ vertical-align: top;
291
+ }
292
+
293
+ .reveal small * {
294
+ vertical-align: top;
295
+ }
296
+
297
+ .reveal img {
298
+ margin: var(--r-block-margin) 0;
299
+ }
300
+
301
+ /*********************************************
302
+ * LINKS
303
+ *********************************************/
304
+ .reveal a {
305
+ color: var(--r-link-color);
306
+ text-decoration: none;
307
+ transition: color 0.15s ease;
308
+ }
309
+
310
+ .reveal a:hover {
311
+ color: var(--r-link-color-hover);
312
+ text-shadow: none;
313
+ border: none;
314
+ }
315
+
316
+ .reveal .roll span:after {
317
+ color: #fff;
318
+ background: var(--r-link-color-dark);
319
+ }
320
+
321
+ /*********************************************
322
+ * Frame helper
323
+ *********************************************/
324
+ .reveal .r-frame {
325
+ border: 4px solid var(--r-main-color);
326
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
327
+ }
328
+
329
+ .reveal a .r-frame {
330
+ transition: all 0.15s linear;
331
+ }
332
+
333
+ .reveal a:hover .r-frame {
334
+ border-color: var(--r-link-color);
335
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
336
+ }
337
+
338
+ /*********************************************
339
+ * NAVIGATION CONTROLS
340
+ *********************************************/
341
+ .reveal .controls {
342
+ color: var(--r-link-color);
343
+ }
344
+
345
+ /*********************************************
346
+ * PROGRESS BAR
347
+ *********************************************/
348
+ .reveal .progress {
349
+ background: rgba(0, 0, 0, 0.2);
350
+ color: var(--r-link-color);
351
+ }
352
+
353
+ /*********************************************
354
+ * PRINT BACKGROUND
355
+ *********************************************/
356
+ @media print {
357
+ .backgrounds {
358
+ background-color: var(--r-background-color);
359
+ }
360
+ }
@@ -0,0 +1,363 @@
1
+ /**
2
+ * A simple theme for reveal.js presentations, similar
3
+ * to the default theme. The accent color is brown.
4
+ *
5
+ * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
6
+ */
7
+ .reveal a {
8
+ line-height: 1.3em;
9
+ }
10
+
11
+ section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
12
+ color: #fff;
13
+ }
14
+
15
+ /*********************************************
16
+ * GLOBAL STYLES
17
+ *********************************************/
18
+ :root {
19
+ --r-background-color: #F0F1EB;
20
+ --r-main-font: Palatino Linotype, Book Antiqua, Palatino, FreeSerif, serif;
21
+ --r-main-font-size: 40px;
22
+ --r-main-color: #000;
23
+ --r-block-margin: 20px;
24
+ --r-heading-margin: 0 0 20px 0;
25
+ --r-heading-font: Palatino Linotype, Book Antiqua, Palatino, FreeSerif, serif;
26
+ --r-heading-color: #383D3D;
27
+ --r-heading-line-height: 1.2;
28
+ --r-heading-letter-spacing: normal;
29
+ --r-heading-text-transform: none;
30
+ --r-heading-text-shadow: none;
31
+ --r-heading-font-weight: normal;
32
+ --r-heading1-text-shadow: none;
33
+ --r-heading1-size: 3.77em;
34
+ --r-heading2-size: 2.11em;
35
+ --r-heading3-size: 1.55em;
36
+ --r-heading4-size: 1em;
37
+ --r-code-font: monospace;
38
+ --r-link-color: #51483D;
39
+ --r-link-color-dark: rgb(68.85, 61.2, 51.85);
40
+ --r-link-color-hover: rgb(122.9830985915, 109.3183098592, 92.6169014085);
41
+ --r-selection-background-color: #26351C;
42
+ --r-selection-color: #fff;
43
+ --r-overlay-element-bg-color: 0, 0, 0;
44
+ --r-overlay-element-fg-color: 240, 240, 240;
45
+ }
46
+
47
+ .reveal-viewport {
48
+ background: #F0F1EB;
49
+ background-color: var(--r-background-color);
50
+ }
51
+
52
+ .reveal {
53
+ font-family: var(--r-main-font);
54
+ font-size: var(--r-main-font-size);
55
+ font-weight: normal;
56
+ color: var(--r-main-color);
57
+ }
58
+
59
+ .reveal ::selection {
60
+ color: var(--r-selection-color);
61
+ background: var(--r-selection-background-color);
62
+ text-shadow: none;
63
+ }
64
+
65
+ .reveal ::-moz-selection {
66
+ color: var(--r-selection-color);
67
+ background: var(--r-selection-background-color);
68
+ text-shadow: none;
69
+ }
70
+
71
+ .reveal .slides section,
72
+ .reveal .slides section > section {
73
+ line-height: 1.3;
74
+ font-weight: inherit;
75
+ }
76
+
77
+ /*********************************************
78
+ * HEADERS
79
+ *********************************************/
80
+ .reveal h1,
81
+ .reveal h2,
82
+ .reveal h3,
83
+ .reveal h4,
84
+ .reveal h5,
85
+ .reveal h6 {
86
+ margin: var(--r-heading-margin);
87
+ color: var(--r-heading-color);
88
+ font-family: var(--r-heading-font);
89
+ font-weight: var(--r-heading-font-weight);
90
+ line-height: var(--r-heading-line-height);
91
+ letter-spacing: var(--r-heading-letter-spacing);
92
+ text-transform: var(--r-heading-text-transform);
93
+ text-shadow: var(--r-heading-text-shadow);
94
+ word-wrap: break-word;
95
+ }
96
+
97
+ .reveal h1 {
98
+ font-size: var(--r-heading1-size);
99
+ }
100
+
101
+ .reveal h2 {
102
+ font-size: var(--r-heading2-size);
103
+ }
104
+
105
+ .reveal h3 {
106
+ font-size: var(--r-heading3-size);
107
+ }
108
+
109
+ .reveal h4 {
110
+ font-size: var(--r-heading4-size);
111
+ }
112
+
113
+ .reveal h1 {
114
+ text-shadow: var(--r-heading1-text-shadow);
115
+ }
116
+
117
+ /*********************************************
118
+ * OTHER
119
+ *********************************************/
120
+ .reveal p {
121
+ margin: var(--r-block-margin) 0;
122
+ line-height: 1.3;
123
+ }
124
+
125
+ /* Remove trailing margins after titles */
126
+ .reveal h1:last-child,
127
+ .reveal h2:last-child,
128
+ .reveal h3:last-child,
129
+ .reveal h4:last-child,
130
+ .reveal h5:last-child,
131
+ .reveal h6:last-child {
132
+ margin-bottom: 0;
133
+ }
134
+
135
+ /* Ensure certain elements are never larger than the slide itself */
136
+ .reveal img,
137
+ .reveal video,
138
+ .reveal iframe {
139
+ max-width: 95%;
140
+ max-height: 95%;
141
+ }
142
+
143
+ .reveal strong,
144
+ .reveal b {
145
+ font-weight: bold;
146
+ }
147
+
148
+ .reveal em {
149
+ font-style: italic;
150
+ }
151
+
152
+ .reveal ol,
153
+ .reveal dl,
154
+ .reveal ul {
155
+ display: inline-block;
156
+ text-align: left;
157
+ margin: 0 0 0 1em;
158
+ }
159
+
160
+ .reveal ol {
161
+ list-style-type: decimal;
162
+ }
163
+
164
+ .reveal ul {
165
+ list-style-type: disc;
166
+ }
167
+
168
+ .reveal ul ul {
169
+ list-style-type: square;
170
+ }
171
+
172
+ .reveal ul ul ul {
173
+ list-style-type: circle;
174
+ }
175
+
176
+ .reveal ul ul,
177
+ .reveal ul ol,
178
+ .reveal ol ol,
179
+ .reveal ol ul {
180
+ display: block;
181
+ margin-left: 40px;
182
+ }
183
+
184
+ .reveal dt {
185
+ font-weight: bold;
186
+ }
187
+
188
+ .reveal dd {
189
+ margin-left: 40px;
190
+ }
191
+
192
+ .reveal blockquote {
193
+ display: block;
194
+ position: relative;
195
+ width: 70%;
196
+ margin: var(--r-block-margin) auto;
197
+ padding: 5px;
198
+ font-style: italic;
199
+ background: rgba(255, 255, 255, 0.05);
200
+ box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
201
+ }
202
+
203
+ .reveal blockquote p:first-child,
204
+ .reveal blockquote p:last-child {
205
+ display: inline-block;
206
+ }
207
+
208
+ .reveal q {
209
+ font-style: italic;
210
+ }
211
+
212
+ .reveal pre {
213
+ display: block;
214
+ position: relative;
215
+ width: 90%;
216
+ margin: var(--r-block-margin) auto;
217
+ text-align: left;
218
+ font-size: 0.55em;
219
+ font-family: var(--r-code-font);
220
+ line-height: 1.2em;
221
+ word-wrap: break-word;
222
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
223
+ }
224
+
225
+ .reveal code {
226
+ font-family: var(--r-code-font);
227
+ text-transform: none;
228
+ tab-size: 2;
229
+ }
230
+
231
+ .reveal pre code {
232
+ display: block;
233
+ padding: 5px;
234
+ overflow: auto;
235
+ max-height: 400px;
236
+ word-wrap: normal;
237
+ }
238
+
239
+ .reveal .code-wrapper {
240
+ white-space: normal;
241
+ }
242
+
243
+ .reveal .code-wrapper code {
244
+ white-space: pre;
245
+ }
246
+
247
+ .reveal table {
248
+ margin: auto;
249
+ border-collapse: collapse;
250
+ border-spacing: 0;
251
+ }
252
+
253
+ .reveal table th {
254
+ font-weight: bold;
255
+ }
256
+
257
+ .reveal table th,
258
+ .reveal table td {
259
+ text-align: left;
260
+ padding: 0.2em 0.5em 0.2em 0.5em;
261
+ border-bottom: 1px solid;
262
+ }
263
+
264
+ .reveal table th[align=center],
265
+ .reveal table td[align=center] {
266
+ text-align: center;
267
+ }
268
+
269
+ .reveal table th[align=right],
270
+ .reveal table td[align=right] {
271
+ text-align: right;
272
+ }
273
+
274
+ .reveal table tbody tr:last-child th,
275
+ .reveal table tbody tr:last-child td {
276
+ border-bottom: none;
277
+ }
278
+
279
+ .reveal sup {
280
+ vertical-align: super;
281
+ font-size: smaller;
282
+ }
283
+
284
+ .reveal sub {
285
+ vertical-align: sub;
286
+ font-size: smaller;
287
+ }
288
+
289
+ .reveal small {
290
+ display: inline-block;
291
+ font-size: 0.6em;
292
+ line-height: 1.2em;
293
+ vertical-align: top;
294
+ }
295
+
296
+ .reveal small * {
297
+ vertical-align: top;
298
+ }
299
+
300
+ .reveal img {
301
+ margin: var(--r-block-margin) 0;
302
+ }
303
+
304
+ /*********************************************
305
+ * LINKS
306
+ *********************************************/
307
+ .reveal a {
308
+ color: var(--r-link-color);
309
+ text-decoration: none;
310
+ transition: color 0.15s ease;
311
+ }
312
+
313
+ .reveal a:hover {
314
+ color: var(--r-link-color-hover);
315
+ text-shadow: none;
316
+ border: none;
317
+ }
318
+
319
+ .reveal .roll span:after {
320
+ color: #fff;
321
+ background: var(--r-link-color-dark);
322
+ }
323
+
324
+ /*********************************************
325
+ * Frame helper
326
+ *********************************************/
327
+ .reveal .r-frame {
328
+ border: 4px solid var(--r-main-color);
329
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
330
+ }
331
+
332
+ .reveal a .r-frame {
333
+ transition: all 0.15s linear;
334
+ }
335
+
336
+ .reveal a:hover .r-frame {
337
+ border-color: var(--r-link-color);
338
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
339
+ }
340
+
341
+ /*********************************************
342
+ * NAVIGATION CONTROLS
343
+ *********************************************/
344
+ .reveal .controls {
345
+ color: var(--r-link-color);
346
+ }
347
+
348
+ /*********************************************
349
+ * PROGRESS BAR
350
+ *********************************************/
351
+ .reveal .progress {
352
+ background: rgba(0, 0, 0, 0.2);
353
+ color: var(--r-link-color);
354
+ }
355
+
356
+ /*********************************************
357
+ * PRINT BACKGROUND
358
+ *********************************************/
359
+ @media print {
360
+ .backgrounds {
361
+ background-color: var(--r-background-color);
362
+ }
363
+ }