Merge pull request #329 from CappeSun/dev

Fixed blog post header hiding part of section when navigating using table of contents
This commit is contained in:
William Oldham 2025-01-28 17:06:50 +00:00 committed by GitHub
commit c011287ab0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,6 +196,17 @@ header {
margin-bottom: 30px;
}
@media screen and (min-width: 901px) {
.blog-card h1,
.blog-card h2,
.blog-card h3,
.blog-card h4,
.blog-card h5,
.blog-card h6 {
scroll-margin-top: 110px;
}
}
@media screen and (max-width: 800px) {
.blog-card {
padding: 40px;