14 lines
399 B
CSS
14 lines
399 B
CSS
/* Variant to target all children links without specific link or button classes */
|
|
@custom-variant links (& a:not([class*='link-']):not([class*='button-']));
|
|
|
|
/* Link styles */
|
|
@utility link-base {
|
|
@apply cursor-pointer disabled-default transition;
|
|
}
|
|
@utility link-underline {
|
|
@apply link-base underline hover:decoration-primary;
|
|
}
|
|
@utility link-opacity {
|
|
@apply link-base hover:opacity-80;
|
|
}
|