From 39e57b91cd4a1991afbaa281832f9bb6f960ea70 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 29 Jan 2026 20:03:03 +0700 Subject: _static: improve styling on header and table of contents In the header, we made the authors, version, date, remark to be italic. In the ToC, we show the "Table of Contents" title back, re-align it to match with the top and bottom elements. --- _static/ciigo.css | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to '_static') diff --git a/_static/ciigo.css b/_static/ciigo.css index 73f5bb8..a319bb8 100644 --- a/_static/ciigo.css +++ b/_static/ciigo.css @@ -152,6 +152,10 @@ table.tableblock > .title, /* #header author, version, date, and remark */ /*{{{*/ +#header .details { + font-style: italic; +} + #header .details .author + br { display: none; } @@ -166,18 +170,26 @@ table.tableblock > .title, #toc { font-size: 0.875rem; + margin: 1rem 0; +} + +#toctitle { + font-size: 1rem; + padding-bottom: 0.2rem; } #toc ul { list-style-type: none; + padding: 0; + margin: 0; } -#toc a { - text-decoration: none; +#toc ul li ul { + padding-left: 1rem; } -#toctitle { - display: none; +#toc a { + text-decoration: none; } /*}}}*/ -- cgit v1.3