diff --git a/docs/theme/css/general.css b/docs/theme/css/general.css index 61b373651a..138a3a325b 100644 --- a/docs/theme/css/general.css +++ b/docs/theme/css/general.css @@ -79,20 +79,34 @@ h6 code { display: none !important; } +h1 { + font-size: 3.4rem; +} + h2 { padding-bottom: 1rem; border-bottom: 1px solid; border-color: var(--border-light); } -h2, h3 { - margin-block-start: 1.5em; - margin-block-end: 0; + font-size: 2rem; } + +h4 { + font-size: 1.8rem; +} + +h5 { + font-size: 1.6rem; +} + +h2, +h3, h4, h5 { - margin-block-start: 2em; + margin-block-start: 1.5em; + margin-block-end: 0; } .header + .header h3,