add anchors strip

This commit is contained in:
isUnknown 2024-09-04 15:23:45 +02:00
parent 01ebd8ed41
commit a2fd20c1cc
3 changed files with 31 additions and 2 deletions

View file

@ -1,5 +1,22 @@
.anchors-strip {
padding: calc(var(--padding-vertical) / 1.6) var(--space-m) !important;
}
.anchors-strip ul {
display: flex;
}
.anchors-strip a:hover {
text-decoration: underline;
text-underline-offset: 0.3rem;
}
.anchors-strip li {
margin-right: 5vw;
}
[data-template="sectioned"] section {
scroll-margin-top: 6rem;
scroll-margin-top: 8rem;
background-color: var(--color);
}