consolidate underline-link, fix image border radius

This commit is contained in:
Inhji 2023-07-20 07:20:49 +02:00
parent e90327fedd
commit 1f41afe151

View file

@ -79,8 +79,8 @@
@apply prose-invert; @apply prose-invert;
} }
.prose a { .prose a, a.underline-link {
@apply underline decoration-2 decoration-theme-primary hover:bg-theme-primary hover:text-theme-background transition; @apply underline decoration-1 decoration-theme-primary hover:decoration-theme-base transition;
} }
.prose a[href^="http://"], .prose a[href^="https://"] { .prose a[href^="http://"], .prose a[href^="https://"] {
@ -116,7 +116,7 @@
} }
.prose img { .prose img {
@apply rounded; @apply rounded-lg;
} }
} }
@ -143,10 +143,4 @@
body > header nav a { body > header nav a {
@apply inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold; @apply inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold;
} }
}
@layer utilities {
a.underline-link {
@apply underline decoration-2 decoration-theme-primary hover:decoration-theme-secondary transition;
}
} }