From d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 1 Jan 2021 22:29:18 +0100 Subject: Small design revisions --- assets/css/_basics.scss | 4 ++++ assets/css/_vars.scss | 2 +- templates/base.html | 11 ++--------- templates/list.html | 22 ++++++++++++++++++++-- templates/partials/categoriesByCount.html | 7 ------- templates/partials/categoriesById.html | 7 ------- templates/partials/pagelistByYear.html | 11 ----------- 7 files changed, 27 insertions(+), 37 deletions(-) delete mode 100644 templates/partials/categoriesByCount.html delete mode 100644 templates/partials/categoriesById.html delete mode 100644 templates/partials/pagelistByYear.html diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index 0844e3e..0b785d5 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -167,6 +167,10 @@ p { color: var(--link--hover--fg); text-decoration: none; } + + strong { + color: currentColor; + } } hr { diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index b023ffe..1c46660 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss @@ -18,7 +18,7 @@ $nav--font-size: $font-size - 1; $nav--item--spacing: 4ch; $nav--item--spacing-sm: 3ch; $nav--item--pad-h: 1ch; -$nav--item--pad-v: 1em; +$nav--item--pad-v: .9em; $page--item-prefix--max-chars: 3ch; $page--item-prefix--pad: 2ch; diff --git a/templates/base.html b/templates/base.html index 0856b47..225ef3f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,9 +15,6 @@ $if(keywords)$ $endif$ - $-- $if(feed.url.abs)$ - $-- - $-- $endif$ $for(feeds)$ $endfor$ @@ -50,16 +47,12 @@ - $endif$ - $if(is_home)$ ${page()} - $else$ - $if(pages)$ + $elseif(pages)$ ${list()} - $else$ + $else$ ${page()} - $endif$ $endif$ diff --git a/templates/list.html b/templates/list.html index 3522754..4d62d47 100644 --- a/templates/list.html +++ b/templates/list.html @@ -1,4 +1,22 @@ $body$ -${partials/categoriesById()} -${partials/pagelistByYear()} +$if(categories.by_id)$ + +$endif$ + +$for(pages)$ + $for(it.by_year)$ + + $endfor$ +$endfor$ + diff --git a/templates/partials/categoriesByCount.html b/templates/partials/categoriesByCount.html deleted file mode 100644 index 9388cf9..0000000 --- a/templates/partials/categoriesByCount.html +++ /dev/null @@ -1,7 +0,0 @@ -$if(categories.by_count)$ - -$endif$ diff --git a/templates/partials/categoriesById.html b/templates/partials/categoriesById.html deleted file mode 100644 index fc11cc2..0000000 --- a/templates/partials/categoriesById.html +++ /dev/null @@ -1,7 +0,0 @@ -$if(categories.by_id)$ - -$endif$ diff --git a/templates/partials/pagelistByYear.html b/templates/partials/pagelistByYear.html deleted file mode 100644 index ff55f0f..0000000 --- a/templates/partials/pagelistByYear.html +++ /dev/null @@ -1,11 +0,0 @@ -$for(pages)$ - $for(it.by_year)$ - - $endfor$ -$endfor$ -- cgit v1.2.3-70-g09d2