theme: reserve space for anchor icon to avoid overflow-y #364

This commit is contained in:
Sören Weber 2022-11-07 20:55:38 +01:00
parent a13a13172a
commit e24c33c7aa
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 9 additions and 0 deletions

View file

@ -136,6 +136,10 @@
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; /* var(--MAIN-TITLES-TEXT-font) */
}
h2, h3, h4, h5, h6 {
padding-right: 2rem;
}
div.box {
background-color: rgba( 128, 128, 128, 1 ); /* var(--INTERNAL-BOX-NEUTRAL-color) */
}

View file

@ -407,6 +407,11 @@ h2, h3, .article-subheading, h4, h5, h6 {
text-rendering: optimizeLegibility;
}
h2, h3, h4, h5, h6 {
/* leave space for anchor to avoid overflow */
padding-inline-end: 2rem;
}
blockquote {
border-inline-start: 10px solid rgba( 134, 134, 134, .4 );
}