From 66023c7c3cddd91dd359fbd1a00808f95e8dbfad Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 15 Jul 2025 23:20:39 -0400 Subject: [PATCH] update list styling --- content/static/style.css | 65 +++++++++++++++++++++++++++++++++++----- templates/post_list.html | 23 ++++++++++++++ 2 files changed, 81 insertions(+), 7 deletions(-) create mode 100644 templates/post_list.html diff --git a/content/static/style.css b/content/static/style.css index 56644c3..caa0eef 100644 --- a/content/static/style.css +++ b/content/static/style.css @@ -61,13 +61,11 @@ header { } .site-logo.hover-symbol::before { - content: "@"; - /* color: var(--main-bullet-color);*/ + content: "~/"; } .title.hover-symbol::before { - content: ">"; - /* color: var(--main-bullet-color);*/ + content: "$"; } .hover-symbol { @@ -93,11 +91,28 @@ header { .hover-symbol:hover::before { opacity: 1; - color: var(--main-placeholder-color); /* only the symbol changes color */ + color: var(--main-placeholder-color); } .hover-symbol:hover { background-color: transparent; - /* color: var(--main-placeholder-color);*/ +} + +.toc ul { + font-family: monospace; + text-transform: lowercase; + margin: auto; + width: 50%; +} + +.toc ul ul { + padding-left: 1em; + margin-left: 1em; + /* list-style-type: "–– ";*/ +} +.toc ul ul ul { + padding-left: 1em; + margin-left: 1em; + /* list-style-type: "-- ";*/ } .toclink { @@ -105,6 +120,15 @@ header { text-decoration: none; color: inherit; transition: color 0.15s ease; + text-transform: lowercase; + font-family: monospace; +} +.post-list a { + position: relative; + text-decoration: none; + transition: color 0.15s ease; + text-transform: lowercase; + font-family: monospace; } .toclink::before { @@ -212,8 +236,35 @@ h6 { font-weight: bold; } +/*ul {*/ +/* list-style-type: disc;*/ +/*}*/ + ul { - list-style-type: disc; + list-style-type: "– "; +} +ul ul { + padding-left: 1em; + margin-left: 1em; + list-style-type: "+ "; +} +ul ul ul { + list-style-type: "~ "; +} +ul ul ul ul { + list-style-type: "• "; +} +ul ul ul ul ul { + list-style-type: "– "; +} +ul ul ul ul ul ul { + list-style-type: "+ "; +} +ul ul ul ul ul ul ul { + list-style-type: "~ "; +} +ul ul ul ul ul ul ul ul { + list-style-type: "• "; } li::marker { diff --git a/templates/post_list.html b/templates/post_list.html new file mode 100644 index 0000000..e98693a --- /dev/null +++ b/templates/post_list.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} {% block content %} + +{% if metadata.show_title %} +{% include "title.html" %} +{% endif %} + +
{{ content | safe }}
+ +{% if post_list %} +
+ +
+{% endif %} {% endblock %} + +