Simplified spacing and anchor handling.
This commit is contained in:
parent
94bd9aab61
commit
465794755b
6 changed files with 39 additions and 49 deletions
|
|
@ -89,12 +89,8 @@ $ff-subheader: 'Eras ITC',
|
|||
var(--#{$prefix}font-sans-serif);
|
||||
|
||||
main {
|
||||
@extend .pb-4;
|
||||
padding-top: 7rem !important;
|
||||
}
|
||||
|
||||
body.has-hero main {
|
||||
@extend .pt-3;
|
||||
@extend .pb-4;
|
||||
}
|
||||
|
||||
section,
|
||||
|
|
@ -108,12 +104,8 @@ main>* {
|
|||
background-color: $red-200;
|
||||
}
|
||||
|
||||
:target::before {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 6rem;
|
||||
margin-top: -6rem;
|
||||
visibility: hidden;
|
||||
:target {
|
||||
scroll-margin-top: 4.5rem;
|
||||
}
|
||||
|
||||
.anchor-link {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue