[PATCH 3/7] docs: css: Add separation for table of contents generated from RST

Peter Krempa pkrempa at redhat.com
Mon Aug 3 11:53:45 UTC 2020


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 <pkrempa at redhat.com>
---
 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;
+}
-- 
2.26.2




More information about the libvir-list mailing list