refactor: improve heading layout

This commit is contained in:
Cotes Chung
2024-08-25 00:12:00 +08:00
parent 80bd7928a0
commit 707a209424
2 changed files with 15 additions and 17 deletions

View File

@@ -10,17 +10,6 @@
font-family: $font-family-heading;
}
%section {
main & {
margin-top: 2.5rem;
margin-bottom: 1.25rem;
&:focus {
outline: none; /* avoid outline in Safari */
}
}
}
%anchor {
.anchor {
font-size: 80%;