From ac9abf57860eb59ab1f9fc311d1b0806fb677b9b Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sun, 31 Jan 2021 00:05:49 -0500 Subject: [PATCH] feat: spice up links --- styles/notion.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/styles/notion.css b/styles/notion.css index c64e7be..444dbbd 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -200,3 +200,27 @@ border: 1px solid rgba(229, 231, 235, 1); border-radius: 0.375rem; } + +.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%); +}