[PATCH 1/2] docs/css: Simplify selector for heading of 'knowledge-base' and 'documentation' pages
Peter Krempa
pkrempa at redhat.com
Tue Apr 12 11:53:04 UTC 2022
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 at 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
More information about the libvir-list
mailing list