mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
style: better underline for links
This commit is contained in:
parent
acadbe216a
commit
60edf69e9f
1 changed files with 5 additions and 5 deletions
|
@ -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; */
|
||||
/* } */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue