From ec019225bc15b10c18f7512b4d0bc9275b096cd3 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 17 Jun 2022 09:08:44 +0200 Subject: Better font sizes --- templates/partials/gallery_card.html | 13 +++++------- templates/partials/grid_card.html | 11 ++++------ templates/partials/list_card.html | 41 ++++++++++++++++++++++-------------- 3 files changed, 34 insertions(+), 31 deletions(-) (limited to 'templates') diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index 4fe40a7..deffb3f 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html @@ -31,21 +31,18 @@ $if(it.thumbnail)$ $endif$
$if(it.subtitle)$ - $it.title$ - $it.subtitle$ + $it.title$ + $it.subtitle$ $elseif(it.category)$ $it.category$ - $it.title$ + $it.title$ $elseif(it.date)$ - $it.title$ + $it.title$ $else$ $it.title$ diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index c8c110c..9af9415 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html @@ -18,21 +18,18 @@ $if(it.url)$ $endif$
$if(it.subtitle)$ - $it.title$ + $it.title$ $it.subtitle$ $elseif(it.category)$ $it.category$ - $it.title$ + $it.title$ $elseif(it.date)$ - $it.title$ + $it.title$ $else$ $it.title$ diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 6335786..744ca8a 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html @@ -16,27 +16,36 @@ $if(it.url)$ $endif$ -
+
+ $if(it.subtitle)$ + $it.subtitle$ + $it.title$ + $elseif(it.category)$ + $it.category$ + $it.title$ + $elseif(it.date)$ + + $it.title$ + $else$ + + $it.title$ + + $endif$ +
+
$it.title$
$if(it.subtitle)$ -
- - $it.subtitle$ - -
+ + $it.subtitle$ + $elseif(it.category)$ -
- - $it.category$ - -
+ + $it.category$ + $elseif(it.date)$ -