mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 16:54:49 +08:00
theme: reserve space for anchor icon to avoid overflow-y #364
This commit is contained in:
parent
a13a13172a
commit
e24c33c7aa
@ -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…
x
Reference in New Issue
Block a user