mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: reserve space for anchor icon to avoid overflow-y #364
This commit is contained in:
parent
a13a13172a
commit
e24c33c7aa
2 changed files with 9 additions and 0 deletions
|
@ -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) */
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue