updated styling of lists

This commit is contained in:
Daniel Fichtinger 2025-07-15 23:24:06 -04:00
parent a0fb62ac7a
commit 8ad8bad438
2 changed files with 71 additions and 22 deletions

View file

@ -61,13 +61,11 @@ header {
} }
.site-logo.hover-symbol::before { .site-logo.hover-symbol::before {
content: "@"; content: "~/";
/* color: var(--main-bullet-color);*/
} }
.title.hover-symbol::before { .title.hover-symbol::before {
content: ">"; content: "$";
/* color: var(--main-bullet-color);*/
} }
.hover-symbol { .hover-symbol {
@ -93,11 +91,28 @@ header {
.hover-symbol:hover::before { .hover-symbol:hover::before {
opacity: 1; opacity: 1;
color: var(--main-placeholder-color); /* only the symbol changes color */ color: var(--main-placeholder-color);
} }
.hover-symbol:hover { .hover-symbol:hover {
background-color: transparent; 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 { .toclink {
@ -105,6 +120,15 @@ header {
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;
transition: color 0.15s ease; 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 { .toclink::before {
@ -212,8 +236,35 @@ h6 {
font-weight: bold; font-weight: bold;
} }
/*ul {*/
/* list-style-type: disc;*/
/*}*/
ul { 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 { li::marker {

View file

@ -1,13 +1,11 @@
{% extends "base.html" %} {% block content %} {% extends "base.html" %} {% block content %} {% if metadata.show_title %} {%
include "title.html" %} {% endif %}
{% if metadata.show_title %}
{% include "title.html" %}
{% endif %}
<article>{{ content | safe }}</article> <article>{{ content | safe }}</article>
{% if post_list %} {% if post_list %}
<ul> <div class="post-list">
<ul>
{% for item in post_list %} {% for item in post_list %}
<li> <li>
<time class="post-list-date" datetime="{{ item.metadata.date | safe }}" <time class="post-list-date" datetime="{{ item.metadata.date | safe }}"
@ -15,6 +13,6 @@
>{{ item.metadata.title }}</a> >{{ item.metadata.title }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div>
{% endif %} {% endblock %} {% endif %} {% endblock %}