diff --git a/static/css/ie.css b/static/css/ie.css index e36accc860..11d923f13b 100644 --- a/static/css/ie.css +++ b/static/css/ie.css @@ -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) */ } diff --git a/static/css/theme.css b/static/css/theme.css index 6208f83b7d..67da36bec5 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -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 ); }