From 1f90d2dac9c47951e3740899649fe4aa47a7a5a6 Mon Sep 17 00:00:00 2001 From: Ed Ward Date: Tue, 26 Feb 2019 12:59:29 +0100 Subject: [PATCH] More CSS simplification, hopefully no visual change. Made the left bar active title readable (lighter red) --- build.py | 6 +++--- onepage-template.txt | 4 +--- page-template.txt | 14 +++++--------- source/css/app.css | 42 ++++-------------------------------------- source/css/luadoc.css | 2 +- 5 files changed, 14 insertions(+), 54 deletions(-) diff --git a/build.py b/build.py index ddfdfa3..3762049 100755 --- a/build.py +++ b/build.py @@ -332,7 +332,7 @@ def BuildList(lst, fs, pagePos, cList): elif (pagePos > curPos) and (pagePos < nextPos): content = content + BuildList(cList[curPos], fs, pagePos, cList) - content = content + '\n' + content = content + '\n\n' return content @@ -396,10 +396,10 @@ def BuildOnePageSidebar(fs): def CreateLinkSidebar(fs, pos, childList): # Build the list recursively from the top level nodes - #content = BuildList(FindTopLevelNodes(fs), fs, pos, childList) content = BuildList(FindTopLevelNodes(fs), fs, pos, childList) # Shove the TOC link and one file link at the top... - content = content[:7] + '
Table of Contents
\n' + content[7:] + active = ' class=active' if pos<0 else '' + content = content.replace('