From d8e2284e61665cb540fd30536c3007c4ee8ea48a Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Mon, 29 Jul 2024 17:29:15 +0100 Subject: [PATCH] website/slides: Style and navigation improvements. - Style

in title pages (including the title of the whole presentation and section titles) differently from

elements in normal content pages, plus other minor style tweaks. - Add a sequence number to the hash (#1-title instead of just #title), which can be used to remember the location when refreshing if the title has changed. - Escape # and % in the hash, and handle exception from invalid hashes. --- website/slides/template.html | 40 ++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/website/slides/template.html b/website/slides/template.html index 8f1d2af88..65e4fda76 100644 --- a/website/slides/template.html +++ b/website/slides/template.html @@ -7,9 +7,14 @@