Personal academic site for Hashara Kumarasinghe — PhD candidate, School of Computing, ANU.
index.html the entire site (one page, project details in <dialog>)
assets/css/styles.css all styling — CSS custom properties, no build step
assets/js/site.js ~150 lines, no dependencies
assets/fonts/ self-hosted latin-subset variable fonts
assets/cv/ CV PDF
images/ WebP images
*.html (8 stubs) redirects from the old per-project URLs to #p-* anchors
python3 -m http.server 8000 # then open http://localhost:8000
# or
npm install && npm start
Pushing to master deploys — GitHub Pages serves this repo's root. There is no
build step; edit the HTML and CSS directly.
- Colours, type scale and spacing live in the
:rootblock at the top ofstyles.css. Dark mode values are in theprefers-color-schemeblock below it. - To add a project: copy an
<li class="project">inindex.htmland its matching<dialog class="detail">, keeping thedata-dialogandidin sync. The#p-<name>hash deep-links to the dialog. - Images are WebP sized for display. Regenerate with
cwebp -q 82 -resize <width> 0 source.png -o images/name.webp.