This website is modified from https://getbootstrap.com/docs/3.4/examples/cover/
Assets/
: Pictures and Videoscss/
: minimum version of Bootstrap and customized CSScover.css
: modified CSS from the original Cover theme, which is shared among HTMLs
Overrides are defined in the separate CSS section in the respective HTMLCurrently unusedsakura.css
: used for sakura petals effect
js/
: Helper JavaScript functionsCurrently unused due to weird bugssakura.js
event.js
: Main content in theevents.html
markdown/
: Markdown file for the content of event pageCNAME
: GitHub Pages wants this file for proper DNS CNAME registrationevents.html
: Events page skeletonindex.html
: Index pagestaff.html
: Staff information page
The most frequently changed page, namely the events page, its content is populated by events.md
.
Other pages, like the index and staff page, which are less frequently modified, are written in HTML.
Markdown files are gathered separately on the client browser side, then parsed using commonmark.js into HTML.
All img
tags in the parsed HTML are injected with the local CSS class .responsive-img
. When the viewport is wider than 768px, the image width will be 50% for a better view experience on the desktop.
Then the HTML is injected into the main
tag with the id of main
.