25 lines
No EOL
445 B
SCSS
25 lines
No EOL
445 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;
|
|
&:before {
|
|
content: "[link]";
|
|
display: inline-block;
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
} |