From bc5c74737a40ca250bdad8b8463bd0adc59f2d78 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 3 Aug 2020 08:23:11 +0200 Subject: [PATCH] docs: css: Add separation for table of contents generated from RST MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The table of contents of documents generated from RST is quite squeezed together. Add 2em-s worth of vertical separation on each side. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- docs/libvirt.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/libvirt.css b/docs/libvirt.css index 551adac2f2..6b1e86c7d8 100644 --- a/docs/libvirt.css +++ b/docs/libvirt.css @@ -590,3 +590,10 @@ th p, td p { margin-top: 0px; margin-bottom: 0px; } + +/* Elements with id 'contents' contain the table of contents generated by docutils */ + +#contents { + margin-top: 2em; + margin-bottom: 2em; +}