From f7efe0b66c456ad5c49135ea3d8eb80fcc939cd4 Mon Sep 17 00:00:00 2001 From: trotFunky Date: Tue, 30 Jul 2024 23:09:55 +0100 Subject: [PATCH] style: Unify link behaviors, pad truth body Pad the truths bodies a little bit inwards, to give more space. Unify the link styling in one big messy pile of selectors, rather than in multiple places. --- static_files/style.css | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/static_files/style.css b/static_files/style.css index 3e802a5..dda779d 100644 --- a/static_files/style.css +++ b/static_files/style.css @@ -29,15 +29,8 @@ border-bottom: slategray solid 0.15em; } -.individual_truth > a, .individual_truth > a:link, .individual_truth > a:visited { - color: black; - text-decoration: none; - transition: all .2s ease-in-out; -} - -.individual_truth > a:hover, .individual_truth > a:focus { - color: mediumpurple; - text-shadow: 0 2px 2px slategray; +.individual_truth p { + padding: 0 0.5em; } .editor { @@ -64,13 +57,15 @@ top: 25%; } -.week_change:link, .week_change:visited { +.week_change:link, .week_change:visited, +.individual_truth > a, .individual_truth > a:link, .individual_truth > a:visited { color: black; text-decoration: none; transition: all .2s ease-in-out; } -.week_change:hover, .week_change:focus { +.week_change:hover, .week_change:focus, +.individual_truth > a:hover, .individual_truth > a:focus { color: mediumpurple; text-shadow: 0 2px 2px slategray; }