style: better underline for links

This commit is contained in:
Youwen Wu 2024-08-28 02:23:03 -07:00
parent acadbe216a
commit 60edf69e9f
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -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; */
/* } */
}