fancy links

This commit is contained in:
Aleks Rūtiņš 2024-05-31 21:04:51 -04:00
parent 986ef00dd5
commit 1663f3590d
2 changed files with 5 additions and 2 deletions

View file

@ -22,7 +22,7 @@
text-transform: uppercase; text-transform: uppercase;
color: inherit; color: inherit;
border: 2px solid; border: 2px solid;
transition-property: color border-color background-color; transition-property: color, border-color, background-color;
transition-duration: .5s; transition-duration: .5s;
} }
a span, a svg { a span, a svg {

View file

@ -38,10 +38,13 @@ p {
a { a {
color: var(--color-theme-1); color: var(--color-theme-1);
text-decoration: none; text-decoration: none;
border-bottom: 1px solid transparent;
transition-property: border-color;
transition-duration: .5s;
} }
a:hover { a:hover {
text-decoration: underline; border-color: var(--color-theme-1);
} }
h1 { h1 {