This repository is designed to be used as a template for people wanting to create a University of Melbourne-themed reveal.js slide deck. It is not an official University of Melbourne project, but it does adhere to the typography and colour palette guidelines of the university.
- Install Node.js
- Click Use this template and follow the prompts to create a repository for your slide deck
- Clone your new repository locally
- From inside the project root directory, run
npm install
- Serve the slides locally with
npm start
and navigate to http://localhost:8000/ in your browser. This will reload the presentation anytime you make a change to it - Make your slides!
For customisation topics not addressed below, please first check the reveal.js documentation. If your question is not covered there, then raise an issue.
The entire UoM colour palette is located in the theme SCSS file css/theme/source/uom.scss
. Use those
variables to change the colours of any element in the slides by altering the fields in that theme SCSS file, or adding
any new ones.
All slides have a UoM logo in the bottom left corner. If you want to add additional logos, an example can be found
in index.html
- in the commented logos section. You will see an <img>
tag that has been commented out
which provides a Doherty Institute logo. If you're at the Doherty Institute, then simply uncomment the
line. If you want to add a logo for another entity/organisation, you can copy the same process as was used for the
UoM and Doherty Institute logos.
To change the position of the logos, navigate to the theme SCSS file css/theme/source/uom.scss
(find the logo
positioning section). Change the bottom
, left
etc. fields to place your logo where you want - or change its size.
You can change the width and colour of the border(s) in css/theme/source/uom.scss
. By default, this template has
a top and bottom border in UoM blue. To add/remove borders, (un)comment the relevant <div>
tags in the border section in index.html
.
By default, the main branch of the template is gh-pages
, as such, your slides should be automagically served. On the
GitHub repository, navigate to Settings>Pages and you should see a section saying "Your site is live at ....".
Whenever you push to the repository, the live slides should update in a minute or two.