From f53cc405f5932f645c8bfe99417dd1838f7ba7a2 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 28 Jan 2022 09:47:39 +0100 Subject: [PATCH] Improved link usability for touch --- saturn/server/static/css/main.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/saturn/server/static/css/main.css b/saturn/server/static/css/main.css index 1d8ac18..6b699b6 100644 --- a/saturn/server/static/css/main.css +++ b/saturn/server/static/css/main.css @@ -39,8 +39,9 @@ h1 { a { color: var(--link-01); + position: relative; } -a:hover { +a:hover, a:visited:hover { color: var(--hover-primary-text); } a:active { @@ -52,3 +53,12 @@ a:focus { a:visited { color: var(--visited-link); } + +a:before { + content: ''; + position: absolute; + left: 0; + top: -1rem; + bottom: -1rem; + right: 0; +}