diff --git a/src/styles/markdown.css b/src/styles/markdown.css index 815324f8..23bdad17 100644 --- a/src/styles/markdown.css +++ b/src/styles/markdown.css @@ -22,9 +22,14 @@ a:not(.no-styling) { @apply relative bg-none link font-medium text-[var(--primary)] underline decoration-[var(--link-underline)] decoration-1 decoration-dashed underline-offset-4; - + box-decoration-break: clone; + -webkit-box-decoration-break: clone; + &:hover, &:active { @apply decoration-transparent; + background: var(--btn-plain-bg-hover); + border-bottom: 1px dashed var(--link-hover); + text-decoration: none; } }