diff --git a/styles/notion.css b/styles/notion.css index 444dbbd..e4c0434 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -203,24 +203,11 @@ .notion-link { position: relative; - border: 0 none; transition: unset; } -.notion-link::after { - position: absolute; - bottom: -2px; - left: 0; - width: 100%; - height: 2px; - content: ''; - display: block; - border-radius: 4px; - background: var(--fg-color-2); -} - -.notion-link:hover::after { - bottom: -4px; - height: 4px; - background: linear-gradient(90.68deg, #b439df 0.26%, #e5337e 102.37%); +.notion-link:hover { + border-width: 4px; + border-image: linear-gradient(90.68deg, #b439df 0.26%, #e5337e 102.37%); + border-image-slice: 1; }