mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
docs/css: Simplify selector for heading of 'knowledge-base' and 'documentation' pages
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@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
67263604e6
commit
b27937972f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user