From 60edf69e9f34684fd384677d54d095fc0870e509 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 28 Aug 2024 02:23:03 -0700 Subject: [PATCH] style: better underline for links --- src/lib/app.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/app.css b/src/lib/app.css index c0fec56..4c62190 100644 --- a/src/lib/app.css +++ b/src/lib/app.css @@ -109,11 +109,11 @@ var(--dot-color); } .link { - @apply relative inline-block hover:text-violet-700 dark:hover:text-violet-600; + @apply hover:text-violet-700 dark:hover:text-violet-600 underline decoration-violet-800 dark:decoration-violet-500 decoration-solid decoration-4; } - .link::after { - content: ''; - @apply absolute w-full left-0 h-0.5 bottom-0.5 bg-violet-800 dark:bg-violet-500; - } + /* .link::after { */ + /* content: ''; */ + /* @apply absolute w-full left-0 h-0.5 bottom-0.5 bg-violet-800 dark:bg-violet-500; */ + /* } */ }