website

source code for the ttmaths.uk website
Log | Files | Refs | README

commit afef1853f87dd7e994598d2281e62c62027f89df
parent 0485bf60b04e95f9083d83d3dc9a9b730569f9d7
Author: hrryt <harry@mayesfield.uk>
Date:   Mon, 26 Oct 2026 18:59:07 +0000

Fix inconsistent link style

Diffstat:
Msrc/styles/main.css | 24+++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/src/styles/main.css b/src/styles/main.css @@ -123,10 +123,18 @@ ul { } a { - color: var(--link); + color: inherit; text-decoration: none; } +a:hover { + text-decoration: dotted underline; +} + +a.active { + text-decoration: underline; +} + a[href^="http"]::after { content: " ⎘"; } @@ -140,20 +148,6 @@ nav#sidebar details { font-weight: 400; } -nav#sidebar a { - color: inherit; -} - -nav#sidebar a:hover { - color: var(--link); - text-decoration: dotted underline; -} - -nav#sidebar a.active { - color: var(--link); - text-decoration: underline; -} - header { display: grid;