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.
This commit is contained in:
trotFunky 2024-07-30 23:09:55 +01:00
parent 072889173f
commit f7efe0b66c

View file

@ -29,15 +29,8 @@
border-bottom: slategray solid 0.15em; border-bottom: slategray solid 0.15em;
} }
.individual_truth > a, .individual_truth > a:link, .individual_truth > a:visited { .individual_truth p {
color: black; padding: 0 0.5em;
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;
} }
.editor { .editor {
@ -64,13 +57,15 @@
top: 25%; 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; color: black;
text-decoration: none; text-decoration: none;
transition: all .2s ease-in-out; 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; color: mediumpurple;
text-shadow: 0 2px 2px slategray; text-shadow: 0 2px 2px slategray;
} }