From 297c726220e1c7fb65ad0b730f4236dba6ac609a Mon Sep 17 00:00:00 2001 From: Jerakin Date: Mon, 19 Feb 2024 21:10:10 +0100 Subject: [PATCH 1/2] fix: improve rendering of list page --- static/css/wiki.css | 28 ---------------------------- static/css/wiki.dark.css | 27 ++++++++++++--------------- templates/list_files.html | 12 ++++++------ 3 files changed, 18 insertions(+), 49 deletions(-) diff --git a/static/css/wiki.css b/static/css/wiki.css index 3a5c929..ea70b86 100644 --- a/static/css/wiki.css +++ b/static/css/wiki.css @@ -115,14 +115,6 @@ h4{ font-family: "quicksand"; } -body { - font-family: "Gothic A1"; -} - -.folder{ - font-family: 'Gothic A1', sans-serif; - font-weight: 700; -} .alert i[class^="bi-"]{ font-size: 1.5em; @@ -130,31 +122,11 @@ body { margin-right: 10px; } -#list a{ - border-bottom: none; -} - -#list a.folder{ - border-bottom: 1px solid black; - font-weight: 800; -} - div.html-integration{ background-color: var(--html-integration-background-light); padding: 20px; } -.container a:any-link{ - font-weight: 500; - color:black; - text-decoration: none; - border-bottom: 1px solid black; - padding-bottom: 2px; -} - -.container a.nostyle{ - border-bottom: none; -} .mermaid { text-align: center; diff --git a/static/css/wiki.dark.css b/static/css/wiki.dark.css index 695ad3b..c0fdfa9 100644 --- a/static/css/wiki.dark.css +++ b/static/css/wiki.dark.css @@ -39,24 +39,21 @@ div.html-integration{ background-color: var(--bg-codeblock-dark); } -#list a.folder{ - border-bottom: 1px solid var(--txt-dark); - font-weight: 800; -} - - -.container a:any-link{ - color:var(--txt-dark); - border-bottom: 1px solid var(--txt-dark); -} - -.container a.nostyle { - border-bottom: none; -} - .form-control, .form-control:focus { background-color: var(--bg-codeblock-dark); border-color: var(--bg-modal-dark); color: var(--txt-dark); } + +.list-group-item, +.list-group-item { + background-color: var(--bg-dark); + color: var(--txt-dark); +} + +.link-dark:visited, +.link-dark:hover, +.link-dark { + color: var(--txt-dark); +} \ No newline at end of file diff --git a/templates/list_files.html b/templates/list_files.html index 70bec74..980c058 100644 --- a/templates/list_files.html +++ b/templates/list_files.html @@ -34,16 +34,16 @@ {% endblock %} {% block content %} - Sort ({% if system.listsortMTime %}last modified{% else %}a-z{% endif%}) + Sort ({% if system.listsortMTime %}last modified{% else %}a-z{% endif%})

{{ folder }} ALL FILES

-