diff --git a/assets/css/components.pcss b/assets/css/components.pcss index eff65c35..31833979 100644 --- a/assets/css/components.pcss +++ b/assets/css/components.pcss @@ -1,10 +1,16 @@ @layer components { .link { - @apply text-blue-800 dark:text-blue-400; - @apply text-decoration-blue-800 dark:text-decoration-blue-400; - text-decoration-line: underline; + @apply underline text-blue-800 hover:text-blue-900 dark:text-blue-400 dark:hover:text-white; text-decoration-thickness: 1px; text-underline-offset: 0.1em; + + + &:focus { + @apply no-underline; + outline-color: currentColor; + outline-offset: 2px; + outline-style: solid; + } } .markdown { diff --git a/source/_partials/footer.html.twig b/source/_partials/footer.html.twig index e6c25c25..e6ad9b1b 100644 --- a/source/_partials/footer.html.twig +++ b/source/_partials/footer.html.twig @@ -1,7 +1,7 @@ diff --git a/source/_partials/navbar.html.twig b/source/_partials/navbar.html.twig index bcb7cd27..e154d649 100644 --- a/source/_partials/navbar.html.twig +++ b/source/_partials/navbar.html.twig @@ -21,7 +21,7 @@