From 0f1d6ef6e75afdeab7687ab52dd7694a966237d8 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 16 May 2023 15:53:11 +0200 Subject: [PATCH] css: Fix styling of the "3 panel" pages MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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

and

used as the column titles as rst2html5 based on version can generate either of them. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- docs/css/libvirt.css | 2 ++ docs/css/mobile.css | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- 2.47.2