default links css

This commit is contained in:
Julian Brammer 2024-08-24 23:21:20 +02:00
parent b0355500c1
commit c4d831fa68

View File

@ -2,7 +2,8 @@
--bg-color: rgb(16, 16, 16); --bg-color: rgb(16, 16, 16);
--primary: rgb(240, 240, 240); --primary: rgb(240, 240, 240);
--secondary-color: hsl(210, 60%, 40%); --secondary-color: hsl(210, 80%, 60%);
--secondary-color2: hsl(210, 60%, 30%);
/*--secondary-color: rgb(0, 138, 216);*/ /*--secondary-color: rgb(0, 138, 216);*/
--font-weight: 400; --font-weight: 400;
@ -25,10 +26,15 @@ body {
& a { & a {
color: var(--secondary-color); color: var(--secondary-color);
text-decoration: underline solid var(--secondary-color2) 1px;
top: 0;
position: relative;
} }
& a:hover { & a:hover {
text-decoration: none; text-decoration: underline solid var(--secondary-color) 1px;
filter: drop-shadow(0px 0px 5px var(--secondary-color2)) brightness(1.02);
top: -2px;
} }
& h1, p { & h1, p {