Improved link usability for touch

This commit is contained in:
Edgar P. Burkhart 2022-01-28 09:47:39 +01:00
parent 21c6b4606c
commit f53cc405f5
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -39,8 +39,9 @@ h1 {
a { a {
color: var(--link-01); color: var(--link-01);
position: relative;
} }
a:hover { a:hover, a:visited:hover {
color: var(--hover-primary-text); color: var(--hover-primary-text);
} }
a:active { a:active {
@ -52,3 +53,12 @@ a:focus {
a:visited { a:visited {
color: var(--visited-link); color: var(--visited-link);
} }
a:before {
content: '';
position: absolute;
left: 0;
top: -1rem;
bottom: -1rem;
right: 0;
}