diff --git a/static/css/theme.css b/static/css/theme.css index 7bb588c1b2..94e0de8710 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1542,21 +1542,21 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right { display: none; } -.include.hide-first-heading h1 + h2:first-of-type, -.include.hide-first-heading h1 + h3:first-of-type, -.include.hide-first-heading h2 + h3:first-of-type, -.include.hide-first-heading h1 + h4:first-of-type, -.include.hide-first-heading h2 + h4:first-of-type, -.include.hide-first-heading h3 + h4:first-of-type, -.include.hide-first-heading h1 + h5:first-of-type, -.include.hide-first-heading h2 + h5:first-of-type, -.include.hide-first-heading h3 + h5:first-of-type, -.include.hide-first-heading h4 + h5:first-of-type, -.include.hide-first-heading h1 + h6:first-of-type, -.include.hide-first-heading h2 + h6:first-of-type, -.include.hide-first-heading h3 + h6:first-of-type, -.include.hide-first-heading h4 + h6:first-of-type, -.include.hide-first-heading h5 + h6:first-of-type { +.include.hide-first-heading h1 ~ h2:first-of-type, +.include.hide-first-heading h1 ~ h3:first-of-type, +.include.hide-first-heading h2 ~ h3:first-of-type, +.include.hide-first-heading h1 ~ h4:first-of-type, +.include.hide-first-heading h2 ~ h4:first-of-type, +.include.hide-first-heading h3 ~ h4:first-of-type, +.include.hide-first-heading h1 ~ h5:first-of-type, +.include.hide-first-heading h2 ~ h5:first-of-type, +.include.hide-first-heading h3 ~ h5:first-of-type, +.include.hide-first-heading h4 ~ h5:first-of-type, +.include.hide-first-heading h1 ~ h6:first-of-type, +.include.hide-first-heading h2 ~ h6:first-of-type, +.include.hide-first-heading h3 ~ h6:first-of-type, +.include.hide-first-heading h4 ~ h6:first-of-type, +.include.hide-first-heading h5 ~ h6:first-of-type { display: block; }