mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-12 19:38:04 +00:00
Apply scroll-margin-top to all elements with id attribute instead of only headings
This commit is contained in:
parent
52f763859a
commit
069280eea2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1256,6 +1256,10 @@ Usage (In Ghost editor):
|
|||||||
margin-top: 1.2em;
|
margin-top: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-full-content [id] {
|
||||||
|
scroll-margin-top: 110px;
|
||||||
|
}
|
||||||
|
|
||||||
.post-full-content h1,
|
.post-full-content h1,
|
||||||
.post-full-content h2,
|
.post-full-content h2,
|
||||||
.post-full-content h3,
|
.post-full-content h3,
|
||||||
@ -1264,7 +1268,6 @@ Usage (In Ghost editor):
|
|||||||
.post-full-content h6 {
|
.post-full-content h6 {
|
||||||
color: color-mod(var(--darkgrey) l(-5%));
|
color: color-mod(var(--darkgrey) l(-5%));
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||||
scroll-margin-top: 110px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content h1 {
|
.post-full-content h1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user