Adds university theme into presentation. Demo (go to menu and change theme to PWR
or WUST
).
This theme only works with RevealJS
v4.x
or higher.
No external dependencies.
Copy dist/*.svg
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];
Add class for different types of slides (optional):
main-slide
compressed-slide
(default)full-width-slide
full-width-compressed-slide
example:
<section class="main-slide">
<h2>Presentation Template</h2>
<small>Authors...</small>
</section>