From: Mark Wooding Date: Wed, 21 Jun 2023 09:57:05 +0000 (+0100) Subject: mason/dhandler (.view), static/tgal.css: Use SVG arrows. X-Git-Url: https://git.distorted.org.uk/~mdw/tgal/commitdiff_plain/548ad771d89100cdd1cda2ffa7e3dc085a6ba154 mason/dhandler (.view), static/tgal.css: Use SVG arrows. Rather than the single-guillemets and the rather dodgy heuristics to centre them in their spaces. Also add title texts, for whatever accessibility benefit they might offer. --- diff --git a/mason/dhandler b/mason/dhandler index c6f0f33..8c151ba 100755 --- a/mason/dhandler +++ b/mason/dhandler @@ -287,7 +287,14 @@ Failed to find ‘<% $path |h %>’. %
% if ($link{prev}) { - + % } @@ -305,7 +312,14 @@ Failed to find ‘<% $path |h %>’. % if ($link{next}) { - + % }
% diff --git a/static/tgal.css b/static/tgal.css index c4753e4..a2bc7fb 100644 --- a/static/tgal.css +++ b/static/tgal.css @@ -136,14 +136,10 @@ div.prev, div.next { } div.prev { left: 0%; } div.next { right: 0%; } -a.prev, a.next { - font-size: 400%; - font-weight: bold; - background-color: #0006; - min-width: 1em; - text-align: center; - min-height: 3ex; -} +a.nav { background-color: #0006; } +a.nav svg { display: block; } +a.nav .fg { fill: #00c; } + a.view { flex-grow: 1; flex-basis: 0; display: flex; flex-direction: column;