TOC improvements.
h3rald h3rald@h3rald.com
Sat, 16 Mar 2024 18:54:24 +0100
8 files changed,
12 insertions(+),
11 deletions(-)
M
assets/styles/style.css
→
assets/styles/style.css
@@ -706,16 +706,17 @@ display: block;
visibility: hidden; } -.go2toc: { +.go2top { font-size: 80%; vertical-align: super; +} #toc { - padding-left: 1rem; + padding-left: 2rem; } -#toc ul { - list-style-type: none; +#toc li { + list-style-type: none; } /* Used only in Glyph Book */
M
rules.min
→
rules.min
@@ -203,7 +203,7 @@ {}
title %title id %id headings append @headings - "<a class='heading-anchor' id='$1'></a><h3>$2 <a class='go2toc' href='#toc'>⇈</a></h3>" (id title) =% + "<a class='heading-anchor' id='$1'></a><h3>$2 <a class='go2top' href='#top' title='Go to the top'>⇈</a></h3>" (id title) =% ) replace-apply @result (headings size 3 >=) (
M
templates/article.mustache
→
templates/article.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/grimoire.mustache
→
templates/grimoire.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/home.mustache
→
templates/home.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> {{> _header}}
M
templates/page.mustache
→
templates/page.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/project.mustache
→
templates/project.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/projects.mustache
→
templates/projects.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">