From 8782680fe7e09345c2ad79d4eb28413876ad4e5f Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sun, 31 Jan 2021 01:30:09 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/notion.css | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) 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; }