86 lines
1.7 KiB
CSS
86 lines
1.7 KiB
CSS
.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: 8rem;
|
|
background-color: var(--color);
|
|
}
|
|
|
|
[data-template="sectioned"] .section__row {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
[data-template="sectioned"] main p:not(:last-child) {
|
|
font-size: var(--font-size-s);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
[data-template="sectioned"] main p {
|
|
font-size: var(--font-size-s);
|
|
}
|
|
|
|
[data-template="sectioned"] main .big p {
|
|
font-size: var(--font-size-m);
|
|
}
|
|
|
|
[data-template="sectioned"] main h2 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
[data-template="sectioned"] main h2,
|
|
[data-template="sectioned"] main h3 {
|
|
margin-bottom: calc(var(--padding-vertical) / 1.5);
|
|
}
|
|
|
|
[data-template="sectioned"] .blocks > *:not(:last-child) {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Links list */
|
|
[data-template="sectioned"] .links-list li {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: 3fr 3fr 0.5fr;
|
|
border-bottom: 1px solid #000;
|
|
margin-bottom: 0.6rem;
|
|
padding-bottom: 0.6rem;
|
|
font-size: var(--font-size-s);
|
|
}
|
|
|
|
[data-template="sectioned"] .links-list li p {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
[data-template="sectioned"] .links-list li a {
|
|
justify-self: end;
|
|
}
|
|
[data-template="sectioned"] .links-list li a::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
[data-template="sectioned"] .links-list li a::before {
|
|
content: "→";
|
|
display: inline-block;
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
@media screen and (max-width: 800px) {
|
|
.anchors-strip {
|
|
display: none;
|
|
}
|
|
}
|