Change color on click

This commit is contained in:
Nox Sluijtman 2023-02-21 09:59:48 +01:00
parent f00d5420a8
commit 78d0d2d803

View file

@ -15,9 +15,10 @@ html{
background-color: var(--ansi00-hard); background-color: var(--ansi00-hard);
} }
body{ padding: 0; margin: 0; } body{ padding: 0; margin: 0; }
a{ color: var(--ansi03); } a:hover:active{ transform: translate(0, 3pt) ; background-color: var(--ansi03); }
a:hover{ color: var(--ansi00-hard); background-color: var(--ansi03); text-decoration: none;} a{ color: var(--ansi11); }
a:hover > code{ color: var(--ansi00-hard); background-color: var(--ansi03); text-decoration: none;} a:hover{ color: var(--ansi00-hard); background-color: var(--ansi11); text-decoration: none;}
a:hover > code{ color: var(--ansi00-hard); background-color: var(--ansi11); text-decoration: none;}
audio{ width: 100%; display: block; margin-top: 1em; } audio{ width: 100%; display: block; margin-top: 1em; }
a.anchor{visibility:hidden; text-decoration: none;} a.anchor{visibility:hidden; text-decoration: none;}
h1:hover>a,h2:hover>a,h3:hover>a,h4:hover>a,h5:hover>a,h6:hover>a,h1:hover>a{visibility:visible;} h1:hover>a,h2:hover>a,h3:hover>a,h4:hover>a,h5:hover>a,h6:hover>a,h1:hover>a{visibility:visible;}