diff options
Moved site to website folder
19 files changed, 999 insertions, 0 deletions
diff --git a/website/themes/reveal-hugo/exampleSite/.forestry/settings.yml b/website/themes/reveal-hugo/exampleSite/.forestry/settings.yml new file mode 100644 index 0000000..8130263 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/.forestry/settings.yml @@ -0,0 +1,12 @@ +--- +new_page_extension: md +auto_deploy: false +admin_path: +webhook_url: +sections: +upload_dir: "./exampleSite/static/uploads" +public_path: "/uploads" +front_matter_path: '' +use_front_matter_path: false +file_template: ":filename:" +version: 0.38.1 diff --git a/website/themes/reveal-hugo/exampleSite/config.toml b/website/themes/reveal-hugo/exampleSite/config.toml new file mode 100644 index 0000000..a5910a0 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/config.toml @@ -0,0 +1,20 @@ +baseURL = "https://example.com/" +languageCode = "en-us" +title = "A Hugo theme for creating Reveal.js presentations" +disableKinds = ["sitemap", "RSS"] +theme = "." +themesDir = "../" + +[author] +name = "Josh Dzielak" + +[params] +description = "Includes a handy markdown-based syntax and shortcodes to help you get presentations done fast" + +[params.reveal_hugo] +history = true + +[outputFormats.Reveal] +baseName = "index" +mediaType = "text/html" +isHTML = true diff --git a/website/themes/reveal-hugo/exampleSite/content/_index.md b/website/themes/reveal-hugo/exampleSite/content/_index.md new file mode 100644 index 0000000..fba3be6 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/_index.md @@ -0,0 +1,22 @@ ++++ +title = "reveal-hugo" +description = "A Hugo theme for creating Reveal.js presentations" +outputs = ["Reveal"] +[reveal_hugo] +custom_theme = "reveal-hugo/themes/robot-lung.css" +margin = 0.2 +highlight_theme = "color-brewer" +transition = "slide" +transition_speed = "fast" +[reveal_hugo.templates.hotpink] +class = "hotpink" +background = "#FF4081" ++++ + +# đŊī¸ + +# reveal-hugo + +A Hugo theme for creating Reveal.js presentations. + +~ made by [@dzello](https://dzello.com/) ~
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/example/_index.md b/website/themes/reveal-hugo/exampleSite/content/example/_index.md new file mode 100644 index 0000000..91a81a7 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/example/_index.md @@ -0,0 +1,10 @@ ++++ +title = "Example of a section presentation" +outputs = ["Reveal"] +[reveal_hugo] +theme = "moon" ++++ + +# Section Presentation + +Only content from this section will go into this presentation.
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/example/presentation.md b/website/themes/reveal-hugo/exampleSite/content/example/presentation.md new file mode 100644 index 0000000..585bab5 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/example/presentation.md @@ -0,0 +1,7 @@ ++++ +weight = 10 ++++ + +# Including... + +Content from files like this one.
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/home/features.md b/website/themes/reveal-hugo/exampleSite/content/home/features.md new file mode 100644 index 0000000..b00c363 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/features.md @@ -0,0 +1,19 @@ ++++ +weight = 10 ++++ + +## What's included? + +- All Reveal.js HTML, CSS and JS (v3.6.0) +- All out-of-the-box Reveal.js themes +- Two custom Reveal.js themes (including this one) + +--- + +## Features + +- Write slides in Markdown in one or more files +- Shorcodes for fragments, sections, slides & more +- All Reveal.js parameters can be customized +- Any Hugo section can be output as a presentation + diff --git a/website/themes/reveal-hugo/exampleSite/content/home/resources.md b/website/themes/reveal-hugo/exampleSite/content/home/resources.md new file mode 100644 index 0000000..e19cbc1 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/resources.md @@ -0,0 +1,43 @@ ++++ +weight = 42 ++++ + +# Resources + +--- + +## Code and docs + +- [reveal-hugo Github README](https://github.com/dzello/reveal-hugo) +- [Content for this presentation](https://github.com/dzello/reveal-hugo/tree/master/exampleSite) + +--- + +## External resources + +- [Reveal.js](https://revealjs.com/) +- [Hugo docs](https://gohugo.io/) +- [Hugo output format docs](https://gohugo.io/templates/output-formats/) + +--- + +## Designed to... + +- Deploy to [Netlify](https://netlify.com/) +- Edit with [Forestry](https://forestry.io/) + +--- + +# đ + +Contribute by opening issues and pull requests. + +--- + +# Thanks! + +--- + +# âŠī¸ + +#### [Start over](#) diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/fragment.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/fragment.md new file mode 100644 index 0000000..e53592c --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/fragment.md @@ -0,0 +1,41 @@ ++++ +weight = 30 ++++ + +## Fragment + +The `fragment` shortcode makes content appear incrementally. + +``` +{{%/* fragment */%}} One {{%/* /fragment */%}} +{{%/* fragment */%}} Two {{%/* /fragment */%}} +{{%/* fragment */%}} Three {{%/* /fragment */%}} +``` + +{{% fragment %}} One {{% /fragment %}} +{{% fragment %}} Two {{% /fragment %}} +{{% fragment %}} Three {{% /fragment %}} + +--- + +## Frag + +The `frag` shortcode is more terse than `fragment`. It accepts a `c` attribute. + +``` +{{</* frag c="One" */>}} +{{</* frag c="Two" */>}} +{{</* frag c="Three" */>}} +``` + +{{< frag c="One" >}} +{{< frag c="Two" >}} +{{< frag c="Three" >}} + +--- + +Both `fragment` and `frag` accept two additional parameters: + +- `class`: sets the class of the wrapping `span` element +- `index`: controls the order in which sections will appear + diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/introduction.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/introduction.md new file mode 100644 index 0000000..2978a52 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/introduction.md @@ -0,0 +1,11 @@ ++++ +weight = 29 ++++ + +# Shortcodes + +--- + +Hugo's shortcodes are similar to functions or templates that extend what you can do with Markdown. + +[Shortcode documentation](https://gohugo.io/content-management/shortcodes/)
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/markdown.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/markdown.md new file mode 100644 index 0000000..21167bd --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/markdown.md @@ -0,0 +1,38 @@ ++++ +weight = 36 ++++ + +{{< markdown >}} + +## Markdown + +Reveal.js has its own [markdown processor](https://github.com/hakimel/reveal.js#markdown). To use that instead of Hugo, surround a slide with the markdown shortcode. + +``` +{{</* markdown */>}} + +# Hello world! + +{{</* /markdown */>}} +``` + +<br> +<small> +đĄ Make sure to use the `{{</* */>}}` shortcode syntax to avoid rendering by Hugo. +</small> + +--- + +<!-- .slide: data-background="#FF4081" --> + +Reveal.js markdown uses HTML comments to change slide properties, like background color. + +``` +{{</* markdown */>}} +<!-- .slide: data-background="#FF4081" --> +# I'm a colorful slide +{{</* /markdown */>}} +``` + +{{< /markdown >}} + diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/other.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/other.md new file mode 100644 index 0000000..abc9d5a --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/other.md @@ -0,0 +1,33 @@ ++++ +weight = 38 ++++ + +## Note + +Add speaker notes to your presentation with the note shortcode. + +```markdown +{{%/* note */%}} + +Type 's' to see this slide's speaker notes. + +{{%/* /note */%}} +``` + +{{% note %}} + +You found the speaker notes! + +{{% /note %}} + +--- + +<section data-noprocess> + <h2>Write slides in HTML</h2> + <p>Use a <code>section</code> tag with a <code>data-noprocess</code> attribute to avoid any processing by reveal-hugo.</p> + <pre> +<section data-noprocess> + <h1>Hello world!</h1> +<section></pre> + <small>đĄ This is useful if you can't get Markdown to output exactly what you want.</small> +</section> diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/section.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/section.md new file mode 100644 index 0000000..797ba21 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/section.md @@ -0,0 +1,44 @@ ++++ +weight = 33 ++++ + +{{% section %}} + +## Section + +The `section` shortcode groups slides into a **vertical display**. + +<br> +<small> +use the down arrow or swipe down to continue +</small> +<br> +<a href="#" class="navigate-down">đŊ</a> + +--- + +Put the shortcode around the slides you want to group together. + +```markdown +{{%/* section */%}} + +## Section slide 1 + +--- + +## Section slide 2 + +{{%/* /section */%}} +``` + +Keep going down. + +--- + +## That's it! + +Use the right arrow or swipe right to continue. + +{{% /section %}} + + diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/slide.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/slide.md new file mode 100644 index 0000000..473199e --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/slide.md @@ -0,0 +1,137 @@ ++++ +weight = 34 ++++ + +## Slide + +Customize individual slide attributes like id, class, background color and transition. Use the same keys as Reveal.js but omit the 'data-' prefix. + +--- + +{{% slide id="custom-1" transition="zoom" transition-speed="fast" %}} + +## Custom slide 1 + +``` +{{%/* slide id="custom-1" transition="zoom" transition-speed="fast" */%}} + +## Custom slide 1 + +{{%/* /slide */%}} +``` + +{{% /slide %}} + +--- + +{{% slide id="custom-2" background="#FF4081" %}} + +## Custom slide 2 + +``` +{{%/* slide id="custom-2" background="#FF4081" */%}} + +## Custom slide 2 + +{{%/* /slide */%}} +``` + +{{% /slide %}} + +--- + +đĄ Tip: Setting a slide's `id` attribute makes it easy to link to from other parts of the presentation. + +<br> +```markdown +Go to [custom slide 1](#custom-1) +``` + +<small> +Go to [custom slide 1](#custom-1) +</small> + +--- + +Slide attribute possibilities from the [Reveal.js docs](https://github.com/hakimel/reveal.js): + +- `autoslide` +- `state` +- `background` +- `background-color` +- `background-image` +- `background-size` +- `background-position` +- `background-repeat` + +--- + +- `background-video` +- `background-video-loop` +- `background-video-muted` +- `background-interactive` +- `background-iframe` +- `background-transition` +- `transition` (can have different in and out transitions) +- `transition-speed` +- `notes` (can also use the note shortcode) +- `timing` + +--- + +{{% section %}} + +## Slide templates + +Store sets of common slide attributes in front matter variables and apply them to slides with the template attribute. + +<br> +<small> +navigate down to learn more +</small> +<br> +<a href="#" class="navigate-down">đŊ</a> + +--- + +Create templates in config.toml, _index.md or the current page's front matter. Put them under the **templates** key with a meaningful name: + +```toml +[reveal_hugo.templates.hotpink] +class = "hotpink" +background = "#FF4081" +``` + +--- + +{{% slide template="hotpink" %}} + +Apply the template using the **template** attribute of the slide shortcode: + +```markdown +{{%/* slide template="hotpink" */%}} + +# I'm a hot pink slide! + +{{%/* /slide */%}} +``` + +{{% /slide %}} + +--- + +If a template exists in multiple configurations, it's properties will be merged. If a property is declared multiple times, the order of precedence is: + +- page +- section (_index.md) +- site (config.toml) + +{{% /section %}} + +--- + +{{% section %}} + +{{% slide content="home.example" /%}} + +{{% /section %}} diff --git a/website/themes/reveal-hugo/exampleSite/content/home/usage.md b/website/themes/reveal-hugo/exampleSite/content/home/usage.md new file mode 100644 index 0000000..af50dfa --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/content/home/usage.md @@ -0,0 +1,173 @@ ++++ +weight = 20 ++++ + +# Usage + +--- + +## Prerequisite + +First, add this to your `config.toml`: + +```toml +[outputFormats.Reveal] +baseName = "index" +mediaType = "text/html" +isHTML = true +``` + +--- + +### Presentation at site root + +Create `content/_index.md`: + +```markdown ++++ +outputs = ["Reveal"] ++++ + +# Slide 1 + +Hello world! +``` + +--- + +### Add slides in same file + +Separate them by `---`: + +``` + +# Slide 1 + +Hello world! + +--- + +# Slide 2 + +Hello program! + +``` + +--- + +### Add slides with other files + +Add slides to `content/home/*.md` + +```markdown ++++ +weight = 10 ++++ + +# Slide 3 + +--- + +# Slide 4 +``` + +<small>đĄ Tip: Use `weight` to specify the order that files should be added.</small> + +--- + +### Presentation at '/{section}/' + +In `content/{section}/_index.md`: + +```markdown ++++ +outputs = ["Reveal"] ++++ + +# Slide 1 + +--- + +# Slide 2 + +``` + +--- + +Add slides from other files in `content/{section}/*.md` + +```markdown ++++ +weight = 10 ++++ + +# Slide 3 + +--- + +# Slide 4 +``` + +<small>đĄ Tip: Use `weight` to specify the order that files should be added.</small> + +--- + +# Configuration + +--- + +## Reveal.js themes + +Put in `config.toml` or a presentation's front matter. + +Use the `theme` key for themes that come with Reveal.js. + +```toml +[params.reveal_hugo] +theme = "moon" +highlight_theme = "zenburn" +``` + +[Reveal.js themes](https://github.com/hakimel/reveal.js/#theming) · +[highlight.js themes](https://highlightjs.org/static/demo/) + +--- + +## Use a custom theme + +Use the `custom_theme` key to point to a CSS file in the `static` directory. + +```toml +[params.reveal_hugo] +custom_theme = "reveal-hugo/themes/robot-lung.css" +``` + +--- + +## Like this theme? + +reveal-hugo comes with 2 extra Reveal.js themes: + +- [robot-lung](https://github.com/dzello/revealjs-themes#robot-lung) (this one) +- [sunblind](https://github.com/dzello/revealjs-themes#sunblind) + +<br> +<small> +They live in the `static/reveal-hugo/themes` folder and also [on Github](https://github.com/dzello/revealjs-themes). +</small> + +--- + +## Reveal.js params + +Set **snakecase** versions of Reveal.js params, which will be camelized and passed to `Reveal.initialize`. + +```toml +[params.reveal_hugo] +history = true +slide_number = true +transition = 'zoom' +transition_speed = 'fast' +``` + +[Full list of params](https://github.com/hakimel/reveal.js/#configuration) diff --git a/website/themes/reveal-hugo/exampleSite/data/home.toml b/website/themes/reveal-hugo/exampleSite/data/home.toml new file mode 100644 index 0000000..f242290 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/data/home.toml @@ -0,0 +1,42 @@ +example = ''' + +# Reusable slides + +Store markdown in a [data template](https://gohugo.io/templates/data-templates/) and reuse it in multiple sections or presentations. + +<br> +<small> +navigate down to learn more +</small> +<br> +<a href="#" class="navigate-down">đŊ</a> + +--- + +Add an `example` key to data/home.toml: + +``` +example = "I'm a slide" +``` +<br> + +Set the `content` attribute to "home.example": + +``` +{{% slide content="home.example" /%}} +``` + +<br> +<small> +đĄ Make sure to use a closing or self-closing shortcode. +</small> + +--- + +đĄ Each data template entry can contain one or more slides, separated by `---` with newlines. + +--- + +đĄ All other slide shortcode attributes (background, transition, etc.) can be used and will be applied to each slide in the data template entry. + +''' diff --git a/website/themes/reveal-hugo/exampleSite/layouts/partials/reveal-hugo/body.html b/website/themes/reveal-hugo/exampleSite/layouts/partials/reveal-hugo/body.html new file mode 100644 index 0000000..9caa4c7 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/layouts/partials/reveal-hugo/body.html @@ -0,0 +1,12 @@ +<div class="line top"></div> +<div class="line bottom"></div> +<div class="line left"></div> +<div class="line right"></div> + +<script async src="https://www.googletagmanager.com/gtag/js?id=UA-24132749-1"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + gtag('config', "UA-24132749-1"); +</script>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/static/_redirects b/website/themes/reveal-hugo/exampleSite/static/_redirects new file mode 100644 index 0000000..b711d67 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/static/_redirects @@ -0,0 +1,2 @@ +# Redirect default Netlify subdomain to primary domain +https://revealjs-hugo.netlify.com/* https://revealjs-hugo.dzello.com/:splat 301!
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/static/favicon.ico b/website/themes/reveal-hugo/exampleSite/static/favicon.ico Binary files differnew file mode 100644 index 0000000..64b7e45 --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/static/favicon.ico diff --git a/website/themes/reveal-hugo/exampleSite/static/reveal-hugo/themes/robot-lung.css b/website/themes/reveal-hugo/exampleSite/static/reveal-hugo/themes/robot-lung.css new file mode 100644 index 0000000..a080f8e --- /dev/null +++ b/website/themes/reveal-hugo/exampleSite/static/reveal-hugo/themes/robot-lung.css @@ -0,0 +1,333 @@ +/** + + [ robot-lung ] + + A hot pink theme for Reveal.js with Roboto fonts and a colorful border. + By Josh Dzielak, https://dzello.com/, License MIT + + The bold border is optional and requires some HTML. To use it: + + 1. Add 4 divs to your HTML page: + <div class="line top"></div> + <div class="line bottom"></div> + <div class="line left"></div> + <div class="line right"></div> + + 2. Set { margin: 0.2 } in the Reveal.js initializer to make sure + your presentation content doesn't collide with the frame. + + Like the theme but don't like the colors? Don't fret. Just change + $borderColor and/or $linkColor below to something else and rebuild. + + Or if you don't want to rebuild the theme just override the .line background + property with some CSS: + + .line { + background: <new-color>; + } + +*/ +@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,700); +@import url(https://fonts.googleapis.com/css?family=Roboto:700); +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 { + color: #141414; } + +.reveal .controls { + right: 50px; + bottom: 50px; } + +.line { + content: ''; + position: fixed; + background: #FF4081; + z-index: 105; } + .line.top { + left: 0; + top: 0; + width: 100%; + height: 30px; } + @media (max-width: 840px) { + .line.top { + height: 15px; } } + .line.bottom { + left: 0; + top: auto; + bottom: 0; + width: 100%; + height: 30px; } + @media (max-width: 840px) { + .line.bottom { + height: 15px; } } + .line.left { + left: 0; + top: 0; + width: 30px; + height: 200%; } + @media (max-width: 840px) { + .line.left { + width: 15px; } } + .line.right { + left: auto; + right: 0; + top: 0; + width: 30px; + height: 200%; } + @media (max-width: 840px) { + .line.right { + width: 15px; } } + +/********************************************* + * GLOBAL STYLES + *********************************************/ +body { + background: #fff; + background-color: #fff; } + +.reveal { + font-family: "Roboto Slab", serif; + font-size: 32px; + font-weight: normal; + color: #363636; } + +::selection { + color: #fff; + background: #ffc0d5; + text-shadow: none; } + +::-moz-selection { + color: #fff; + background: #ffc0d5; + text-shadow: none; } + +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.3; + font-weight: inherit; } + +/********************************************* + * HEADERS + *********************************************/ +.reveal h1, +.reveal h2, +.reveal h3, +.reveal h4, +.reveal h5, +.reveal h6 { + margin: 0 0 20px 0; + color: #141414; + font-family: "Roboto", sans-serif; + font-weight: 700; + line-height: 1.2; + letter-spacing: normal; + text-transform: uppercase; + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 2.6em; } + +.reveal h2 { + font-size: 2.2em; } + +.reveal h3 { + font-size: 1.7em; } + +.reveal h4 { + font-size: 1.4em; } + +.reveal h1 { + text-shadow: none; } + +/********************************************* + * OTHER + *********************************************/ +.reveal p { + margin: 20px 0; + line-height: 1.3; } + +/* Ensure certain elements are never larger than the slide itself */ +.reveal img, +.reveal video, +.reveal iframe { + max-width: 95%; + max-height: 95%; } + +.reveal strong, +.reveal b { + font-weight: bold; } + +.reveal em { + font-style: italic; } + +.reveal ol, +.reveal dl, +.reveal ul { + display: inline-block; + text-align: left; + margin: 0 0 0 1em; } + +.reveal ol { + list-style-type: decimal; } + +.reveal ul { + list-style-type: disc; } + +.reveal ul ul { + list-style-type: square; } + +.reveal ul ul ul { + list-style-type: circle; } + +.reveal ul ul, +.reveal ul ol, +.reveal ol ol, +.reveal ol ul { + display: block; + margin-left: 40px; } + +.reveal dt { + font-weight: bold; } + +.reveal dd { + margin-left: 40px; } + +.reveal blockquote { + display: block; + position: relative; + width: 70%; + margin: 20px auto; + padding: 5px; + font-style: italic; + background: rgba(255, 255, 255, 0.05); + box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } + +.reveal blockquote p:first-child, +.reveal blockquote p:last-child { + display: inline-block; } + +.reveal q { + font-style: italic; } + +.reveal pre { + display: block; + position: relative; + width: 90%; + margin: 20px auto; + text-align: left; + font-size: 0.55em; + font-family: monospace; + line-height: 1.2em; + word-wrap: break-word; + box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } + +.reveal code { + font-family: monospace; + text-transform: none; } + +.reveal pre code { + display: block; + padding: 5px; + overflow: auto; + max-height: 400px; + word-wrap: normal; } + +.reveal table { + margin: auto; + border-collapse: collapse; + border-spacing: 0; } + +.reveal table th { + font-weight: bold; } + +.reveal table th, +.reveal table td { + text-align: left; + padding: 0.2em 0.5em 0.2em 0.5em; + border-bottom: 1px solid; } + +.reveal table th[align="center"], +.reveal table td[align="center"] { + text-align: center; } + +.reveal table th[align="right"], +.reveal table td[align="right"] { + text-align: right; } + +.reveal table tbody tr:last-child th, +.reveal table tbody tr:last-child td { + border-bottom: none; } + +.reveal sup { + vertical-align: super; } + +.reveal sub { + vertical-align: sub; } + +.reveal small { + display: inline-block; + font-size: 0.6em; + line-height: 1.2em; + vertical-align: top; } + +.reveal small * { + vertical-align: top; } + +/********************************************* + * LINKS + *********************************************/ +.reveal a { + color: #FF4081; + text-decoration: none; + -webkit-transition: color .15s ease; + -moz-transition: color .15s ease; + transition: color .15s ease; } + +.reveal a:hover { + color: #ff8db3; + text-shadow: none; + border: none; } + +.reveal .roll span:after { + color: #fff; + background: #f30053; } + +/********************************************* + * IMAGES + *********************************************/ +.reveal section img { + margin: 15px 0px; + background: rgba(255, 255, 255, 0.12); + border: 4px solid #363636; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } + +.reveal section img.plain { + border: 0; + box-shadow: none; } + +.reveal a img { + -webkit-transition: all .15s linear; + -moz-transition: all .15s linear; + transition: all .15s linear; } + +.reveal a:hover img { + background: rgba(255, 255, 255, 0.2); + border-color: #FF4081; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } + +/********************************************* + * NAVIGATION CONTROLS + *********************************************/ +.reveal .controls { + color: #FF4081; } + +/********************************************* + * PROGRESS BAR + *********************************************/ +.reveal .progress { + background: rgba(0, 0, 0, 0.2); + color: #FF4081; } + +.reveal .progress span { + -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); + -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); + transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } |
