0.0.2 • Published 5 years ago
reveal-pwr-theme v0.0.2
RevealJS PWR Theme (university template)
Adds university theme into presentation. Demo (go to menu and change theme to PWR or WUST).
This theme only works with RevealJS
v4.xor higher.
No external dependencies.
Installation
Copy dist/*.png and dist/*-theme.css into dist/theme/*:
[...]
<link rel="stylesheet" href="dist/theme/pwr-theme.css" id="theme" />
[...]and/or (english version of the logo)
[...]
<link rel="stylesheet" href="dist/theme/wust-theme.css" id="theme" />
[...]Copy dist/pwr-theme.js into plugins/pwr-theme/pwr-theme.js and import script:
[...]
<script src="plugin/pwr-theme/pwr-theme.js"></script>
[...]Add PWRTheme into your plugins initialization:
plugins: [PWRTheme];Usage
Add class for different types of slides (optional):
main-slidecompressed-slide(default)full-width-slidefull-width-compressed-slide
example:
<section class="main-slide">
<h2>Presentation Template</h2>
<small>Authors...</small>
</section>