From 762fcbfbadd7016e21dfb1162d6433c558fedb7b Mon Sep 17 00:00:00 2001 From: Are0h Date: Thu, 3 Sep 2020 12:28:34 -0700 Subject: [PATCH] responsive tweaks for tag and archive page templates --- .../theme-fipamo-default/fipamo-default/tags.pug | 1 + .../theme-fipamo-default/styles/_structure.styl | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/themes/theme-fipamo-default/fipamo-default/tags.pug b/src/themes/theme-fipamo-default/fipamo-default/tags.pug index cd46084..b842071 100644 --- a/src/themes/theme-fipamo-default/fipamo-default/tags.pug +++ b/src/themes/theme-fipamo-default/fipamo-default/tags.pug @@ -6,6 +6,7 @@ block main-content span= title article .page + br - var index = 0; - for ( index; index < tag_list.length; index++) a(href='/'+tag_list[index].path+'/'+tag_list[index].slug) !{tag_list[index].title} diff --git a/src/themes/theme-fipamo-default/styles/_structure.styl b/src/themes/theme-fipamo-default/styles/_structure.styl index 12b9b9c..7126005 100644 --- a/src/themes/theme-fipamo-default/styles/_structure.styl +++ b/src/themes/theme-fipamo-default/styles/_structure.styl @@ -116,6 +116,7 @@ header display inline-block vertical-align top width 30% + padding 5px span.month color $secondary font-size 1.5em @@ -170,14 +171,20 @@ header @media only screen and (max-width: 640px) header - .menu + nav width 98% span font-size 2.5em + .container + article + .index, .page + .archive-item + .archive-month + width 45% @media only screen and (max-width: 480px) header - .menu + nav width 96% .container article @@ -193,7 +200,7 @@ header @media only screen and (max-width: 375px) header - .menu + nav width 95% .container article @@ -201,3 +208,6 @@ header margin 0 p font 300 0.9em/1.7em $bodyTypeSans + .archive-item + .archive-month + width 95%