FEATURE introducing class underline link
This commit is contained in:
parent
588d3c4467
commit
d3641a3453
|
|
@ -1,4 +1,7 @@
|
|||
a[target='_blank'] {
|
||||
@apply external-link;
|
||||
}
|
||||
.external-link {
|
||||
&:after {
|
||||
@apply content-[''] w-7 h-7 ml-2 inline-block;
|
||||
background-image: url('../resources/img/carhop-fleche-lien-externe-full--green.svg');
|
||||
|
|
@ -9,6 +12,24 @@ a[target='_blank'] {
|
|||
background-position: center;
|
||||
}
|
||||
}
|
||||
.underlined-link {
|
||||
transition: all 0.3s ease-out;
|
||||
@apply underline underline-offset-8;
|
||||
text-decoration-thickness: 1px;
|
||||
&--white {
|
||||
@apply decoration-white;
|
||||
&:hover {
|
||||
@apply decoration-carhop-green-300;
|
||||
}
|
||||
}
|
||||
&--green {
|
||||
@apply decoration-carhop-green-700;
|
||||
&:hover {
|
||||
@apply decoration-carhop-green-400;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.internal-link-with-icon {
|
||||
@apply flex items-center;
|
||||
transition: transform 0.3s ease-out;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user