diff options
author | Peter Krempa <pkrempa@redhat.com> | 2023-05-16 15:53:11 +0200 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2023-05-17 16:54:23 +0200 |
commit | 0f1d6ef6e75afdeab7687ab52dd7694a966237d8 (patch) | |
tree | d139f49cde2ecf76dec3d0a291b095e2b21f037e | |
parent | 82db6fb7659225dd3dd21ce4d885389ad484ba8e (diff) | |
download | libvirt-0f1d6ef6e75afdeab7687ab52dd7694a966237d8.tar.gz |
css: Fix styling of the "3 panel" pages
Use the same 'margin-bottom' bot for the normal and mobile layout fixing
one of the panels touching the footer.
Use same font size both for <h1> and <h2> used as the column titles as
rst2html5 based on version can generate either of them.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
-rw-r--r-- | docs/css/libvirt.css | 2 | ||||
-rw-r--r-- | docs/css/mobile.css | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css index e198f63fb8..2f4daa4690 100644 --- a/docs/css/libvirt.css +++ b/docs/css/libvirt.css @@ -327,6 +327,7 @@ div.panel, { width: 24%; margin-left: 7%; + margin-bottom: 2em; float: left; background: rgb(230, 230, 230); } @@ -343,6 +344,7 @@ div.panel h2, background: rgb(0, 95, 97); color: rgb(255, 255, 255); text-align: center; + font-size: 1.6em; } #index.document h1 { diff --git a/docs/css/mobile.css b/docs/css/mobile.css index daa459352b..1b0bd8b350 100644 --- a/docs/css/mobile.css +++ b/docs/css/mobile.css @@ -95,7 +95,6 @@ width: 100%; margin-left: 0px; float: none; - margin-bottom: 2em; } #advancedsearch { margin-top: 4em; |