[PATCH 1/2] docs/css: Simplify selector for heading of 'knowledge-base' and 'documentation' pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux