Select direct 'h1' children of elements named 'knowledge-base' and
'documentation. It's simpler and will also work properly with
docutils-0.17 and later where we don't have a div with class 'document'
wrapping everything.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
docs/css/libvirt.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css
index 2ae80f8595..2b2208f56e 100644
--- a/docs/css/libvirt.css
+++ b/docs/css/libvirt.css
@@ -425,8 +425,8 @@ div.panel h2,
height: 300px;
}
-#documentation.document > h1,
-#knowledge-base.document > h1 {
+#documentation > h1,
+#knowledge-base > h1 {
text-align: center;
padding: 1em;
}
--
2.35.1