summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-12 20:50:11 +0200
committerWolfgang Müller2021-06-12 20:50:11 +0200
commita93322c905e3c41c4332d2940027ccc2e4d733e9 (patch)
tree69e0f4c4a1e4c20dda463f5f4c933e3acfa2845a
parent34f0c8a527f443c0a296ce301631f2625a808d25 (diff)
downloadzunzuncito-a93322c905e3c41c4332d2940027ccc2e4d733e9.tar.gz
templates: Set mute class on banner's <h2>
This way we do not have to specify the color in its selector.
Diffstat (limited to '')
-rw-r--r--sass/style.sass1
-rw-r--r--templates/macros.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/sass/style.sass b/sass/style.sass
index 375664b..82400e7 100644
--- a/sass/style.sass
+++ b/sass/style.sass
@@ -150,7 +150,6 @@ div.banner h2
display: inline-block
margin: 0
- color: var(--fg-color-mute)
font-size: inherit
font-style: italic
font-weight: inherit
diff --git a/templates/macros.html b/templates/macros.html
index 354eb6e..20905fe 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -10,7 +10,7 @@
<div class="info">
<a class="bold-hover" title="permalink to this post" href="{{ post.permalink }}">{% if mention %}№ {{ post.slug }} {% else %}§{% endif %}</a>
<time class="mute" datetime="{{ post.date }}" title="{{ post.date }}">{{ post.date | date(format="%F %R") }}</time>
- {%- if post.title %} · <h2>{{ post.title }}</h2>{% endif %}
+ {%- if post.title %} · <h2 class="mute">{{ post.title }}</h2>{% endif %}
{%- if post.draft %}<span class="warning">DRAFT</span>{% endif %}
</div>
{%- if "tags" in post.taxonomies %}