[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]