diff --git a/doc/_static/boost.css b/doc/_static/boost.css index 28f8935991..582f421eb7 100644 --- a/doc/_static/boost.css +++ b/doc/_static/boost.css @@ -714,3 +714,22 @@ span.purple { color: purple; } span.gold { color: gold; } span.silver { color: silver; } /* lighter gray */ span.gray { color: #808080; } /* light gray */ + +/* 2022 fix */ + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 6be6d55e28..9aada3d2aa 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -49,6 +49,9 @@ {%- for scriptfile in script_files %} {%- endfor %} + + + {%- if use_opensearch %}