refining styles

This commit is contained in:
Antoine M 2024-01-10 16:50:58 +01:00
parent 08734440fb
commit db56761e18

View File

@ -94,19 +94,24 @@
} }
.legal-credits { .legal-credits {
@apply text-center col-span-4 xl:col-span-2 flex flex-col md:flex-row justify-end items-center md:items-end gap-3 !text-sm; @apply text-center col-span-4 xl:col-span-2 flex flex-col md:flex-row justify-end items-center md:items-end gap-4 !text-sm;
&__legal-page-link { &__legal-page-link {
@apply font-semibold relative block; @apply font-semibold relative block px-2 rounded-md;
&:hover {
@apply bg-neutral-200;
}
} }
} }
@screen md { @screen md {
.legal-credits__legal-page-link + .legal-credits__legal-page-link { .legal-credits__legal-page-link + .legal-credits__legal-page-link {
&:before { &:before {
@apply mr-3 h-4 bg-neutral-900; @apply mr-3 h-4 bg-neutral-900 absolute;
transform: translateY(3px); transform: translateY(3px);
display: inline-block; display: inline-block;
content: ''; content: '';
width: 1px; width: 1px;
left: -0.5rem;
content: ''; content: '';
} }
} }