trwnh.com/unified.test.hugo/assets/styles/layouts/_default/_markup/render-heading.scss

23 lines
No EOL
396 B
SCSS

.rendered-heading {
display: grid;
grid-template-columns: 1fr auto;
gap: 0.5em;
&:is(h2) {
border-block-end: 1px solid var(--ui-text-muted);
padding-block-end: 1rem;
}
&__text {
grid-column: 1;
}
&__anchor-link {
grid-column: 2;
line-height: 1em;
margin-block-start: 0.15em;
display: grid;
place-items: center;
align-self: start;
&__text {
font-size: 1rem;
}
}
}