Website Summary Files Commits Branches @commit @diff @stats
path: root / exampleSite / layouts / partials
diff options
context:
space:
mode:
Commitad823cc4d72edbab10f0dadf99b30df91c3f7c50 (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-16 08:38:04 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-16 08:38:04 +0300
Files6666a19acc2316d6ad5ad00291066d6d6fd42a5b /exampleSite/layouts/partials
IPL-ad823cc4d72edbab10f0dadf99b30df91c3f7c50.tar
IPL-ad823cc4d72edbab10f0dadf99b30df91c3f7c50.tar.gz
IPL-ad823cc4d72edbab10f0dadf99b30df91c3f7c50.zip
Squashed 'website/themes/reveal-hugo/' content from commit ff9f389
git-subtree-dir: website/themes/reveal-hugo git-subtree-split: ff9f389743ae2fe5c5cc6101455db0616e8548e2
diff --git a/exampleSite/layouts/partials/highlightjs-linenumbers-example/reveal-hugo/body.html b/exampleSite/layouts/partials/highlightjs-linenumbers-example/reveal-hugo/body.html
new file mode 100644
index 0000000..64a94d9
--- /dev/null
+++ b/exampleSite/layouts/partials/highlightjs-linenumbers-example/reveal-hugo/body.html
@@ -0,0 +1,6 @@
+<!-- hide Highlight.js line numbers -->
+<style>
+ .hljs-ln-numbers {
+ display: none;
+ }
+</style> \ No newline at end of file
diff --git a/exampleSite/layouts/partials/home/reveal-hugo/body.html b/exampleSite/layouts/partials/home/reveal-hugo/body.html
new file mode 100644
index 0000000..1dba7f9
--- /dev/null
+++ b/exampleSite/layouts/partials/home/reveal-hugo/body.html
@@ -0,0 +1,9 @@
+<!-- This partial is included before the end of the body tag for only the 'example' presentation -->
+<!-- A common use would be to add JavaScript to the page to customize interactions -->
+<!-- The Reveal.js JavaScript API is located at https://github.com/hakimel/reveal.js/#api -->
+<script type="text/javascript">
+// Log the current slide to the console when it changes
+Reveal.addEventListener('slidechanged', function(event) {
+ console.log("🎞️ Slide is now " + event.indexh);
+});
+</script>
diff --git a/exampleSite/layouts/partials/home/reveal-hugo/end.html b/exampleSite/layouts/partials/home/reveal-hugo/end.html
new file mode 100644
index 0000000..39d6fcd
--- /dev/null
+++ b/exampleSite/layouts/partials/home/reveal-hugo/end.html
@@ -0,0 +1,4 @@
+<div class="line top"></div>
+<div class="line bottom"></div>
+<div class="line left"></div>
+<div class="line right"></div>
diff --git a/exampleSite/layouts/partials/home/reveal-hugo/head.html b/exampleSite/layouts/partials/home/reveal-hugo/head.html
new file mode 100644
index 0000000..c99b743
--- /dev/null
+++ b/exampleSite/layouts/partials/home/reveal-hugo/head.html
@@ -0,0 +1,39 @@
+<!-- This partial is included before the end of the head tag for only the 'example' presentation -->
+<!-- A common use would be to add CSS to the page to customize the theme -->
+<style>
+/* Add padding, margin and a hover effect on code samples */
+.reveal section pre {
+ box-shadow: none;
+ margin-top: 25px;
+ margin-bottom: 25px;
+ border: 1px solid lightgrey;
+}
+.reveal section pre:hover {
+ border: 1px solid grey;
+ transition: border 0.3s ease;
+}
+.reveal section pre > code {
+ padding: 10px;
+}
+.reveal table {
+ font-size: 0.65em;
+}
+/* For slide-specific CSS example */
+.reveal section.side-by-side h1 {
+ position: absolute;
+}
+.reveal section.side-by-side h1:first-of-type {
+ left: 25%;
+}
+.reveal section.side-by-side h1:nth-of-type(2) {
+ right: 25%;
+}
+.reveal section[data-background-image] a,
+.reveal section[data-background-image] p,
+.reveal section[data-background-image] h2 {
+ color: white;
+}
+.reveal section[data-background-image] a {
+ text-decoration: underline;
+}
+</style>
diff --git a/exampleSite/layouts/partials/logo-example/reveal-hugo/body.html b/exampleSite/layouts/partials/logo-example/reveal-hugo/body.html
new file mode 100644
index 0000000..b54ef2f
--- /dev/null
+++ b/exampleSite/layouts/partials/logo-example/reveal-hugo/body.html
@@ -0,0 +1,9 @@
+<style>
+ #logo {
+ position: absolute;
+ top: 20px;
+ left: 20px;
+ width: 250px;
+ }
+</style>
+<img id="logo" src="{{ .Param "logo.src" }}" alt="{{ .Param "logo.alt" }}"> \ No newline at end of file
diff --git a/exampleSite/layouts/partials/plugin-example/reveal-hugo/head.html b/exampleSite/layouts/partials/plugin-example/reveal-hugo/head.html
new file mode 100644
index 0000000..7c4c42d
--- /dev/null
+++ b/exampleSite/layouts/partials/plugin-example/reveal-hugo/head.html
@@ -0,0 +1 @@
+<link rel="stylesheet" href="/plugin/gallery/gallery.css"> \ No newline at end of file