1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

feat(blog): add anchor links for titles/headers

This commit is contained in:
2023-06-16 23:14:25 +02:00
parent 2dc63ba933
commit 3b76195d71
2 changed files with 42 additions and 1 deletions

View File

@ -8,7 +8,19 @@
}
.prose {
@apply !max-w-5xl text-justify text-gray dark:text-gray-300;
@apply !max-w-5xl scroll-smooth text-gray dark:text-gray-300;
}
.prose p {
@apply text-justify;
}
.prose [id]::before {
content: '';
display: block;
height: 90px;
margin-top: -90px;
visibility: hidden;
}
.prose a,