all repos — zola-bearblog @ 5a936b5c413b541c5523da6b4ebdc46f996f7360

Port of bear blog theme to zola

Remove inline styles Resolves part of https://codeberg.org/alanpearce/zola-bearblog/issues/4

Alan Pearce
commit

5a936b5c413b541c5523da6b4ebdc46f996f7360

parent

555ff8a5656cf9fc160de3ec19bc827f6e5da9b7

3 files changed, 6 insertions(+), 2 deletions(-)

jump to
M templates/section.htmltemplates/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.htmltemplates/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.htmltemplates/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>