Remove inline styles Resolves part of https://codeberg.org/alanpearce/zola-bearblog/issues/4
3 files changed, 6 insertions(+), 2 deletions(-)
M templates/section.html → templates/section.html
@@ -3,7 +3,7 @@ {% block main %} <main> {%- if taxonomy.term %} - <h3 style="margin-bottom:0">Filtering for "{{ section.title }}"</h3> + <h3 class="filter">Filtering for "{{ section.title }}"</h3> <small> <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">Remove filter</a> </small>
M templates/style.css.html → templates/style.css.html
@@ -39,6 +39,10 @@ .title span { font-weight: 400; } + .filter { + margin-bottom: 0; + } + nav a { margin-right: 10px; }
M templates/taxonomy_single.html → templates/taxonomy_single.html
@@ -3,7 +3,7 @@ {% block main %} <main> {%- if term %} - <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3> + <h3 class="filter">Filtering for "{{ term.name }}"</h3> <small> <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">Remove filter</a> </small>