From 4e74a82ddfc1ad27d58295e9bae4f8e5ab5bb604 Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 8 Mar 2024 14:01:03 -0500 Subject: themes/default/layouts/_default/section.following: Follow -> Feeds --- assets/css/default.css | 27 ++++++++++++++-------- .../layouts/_default/section.following.html | 2 +- themes/default/layouts/partials/author-card.html | 2 +- themes/default/layouts/partials/pagination.html | 8 +++---- 4 files changed, 24 insertions(+), 15 deletions(-) diff --git a/assets/css/default.css b/assets/css/default.css index 7ef9a4d..faa56f9 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -873,14 +873,20 @@ micro-author micro-card > a:hover { } button svg, -nav[data-type="pagination"] svg, -micro-author micro-card > a svg { +micro-author micro-card a svg, +nav[data-type="pagination"] a svg { height: 1.25rem; width: 1.25rem; } -svg ~ header, -header ~ svg { +micro-author micro-card a svg { + font-size: 85%; +} + +micro-author a svg ~ span, +micro-author a span ~ svg, +nav[data-type="pagination"] a svg ~ span, +nav[data-type="pagination"] a span ~ svg { margin-left: 0.25rem; } @@ -1072,8 +1078,10 @@ micro-author micro-card { border: none; } -micro-author micro-card > *, -micro-author micro-card > article { +micro-author micro-card header, +micro-author micro-card > a, +micro-author micro-card > article, +micro-author micro-card > p:not(:last-child) { margin: 0 0.5rem; } @@ -1097,7 +1105,7 @@ micro-author article h3 { font-weight: 400; } -micro-author micro-card header figure { +micro-author micro-card header figure:first-child { margin: 0; } @@ -2424,7 +2432,8 @@ nav[hidden] { flex-direction: column; text-align: center; } - micro-author micro-card > :not(:last-child) { + micro-author micro-card > *:not(:last-child), + micro-author micro-card > p:not(:last-child) { margin-bottom: 0.5rem; } micro-author article { @@ -2439,8 +2448,8 @@ nav[hidden] { } @media screen and (max-width: 1080px) { - column-base[position="left"], search-entry, + column-base[position="left"], column-base[position="middle"] > nav:first-child section { display: none; } diff --git a/themes/default/layouts/_default/section.following.html b/themes/default/layouts/_default/section.following.html index eb74049..2bfcc2e 100644 --- a/themes/default/layouts/_default/section.following.html +++ b/themes/default/layouts/_default/section.following.html @@ -65,7 +65,7 @@ title="Follow {{ $distinct.FeedName }}" href="{{ $href }}"> {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/rss.svg")) }} -
Follow
+ Feed diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html index 65228cc..561fef3 100644 --- a/themes/default/layouts/partials/author-card.html +++ b/themes/default/layouts/partials/author-card.html @@ -75,7 +75,7 @@

{{ .Data.description | markdownify | plainify | htmlUnescape | truncate 60 "..." }}

{{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/rss.svg")) }} -
Follow
+ Feed
diff --git a/themes/default/layouts/partials/pagination.html b/themes/default/layouts/partials/pagination.html index 3e5acd8..e64bfcf 100644 --- a/themes/default/layouts/partials/pagination.html +++ b/themes/default/layouts/partials/pagination.html @@ -30,21 +30,21 @@