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

25 lines
445 B
SCSS
Raw Permalink Normal View History

.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;
2024-10-16 05:34:37 +00:00
margin-block-start: 0.15em;
display: grid;
place-items: center;
align-self: start;
2024-10-18 07:33:33 +00:00
&:before {
content: "[link]";
display: inline-block;
font-size: 1rem;
}
}
}