[PATCH 3/9] docs: css: Add a gray box around table of contents of RST based docs

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

 



Emphasise the table of contents visually.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 docs/libvirt.css | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/docs/libvirt.css b/docs/libvirt.css
index d323b6ec0f..227b9ebed6 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -598,8 +598,13 @@ th p, td p {
 /* Elements with id 'contents' contain the table of contents generated by docutils */

 #contents {
-    margin-top: 2em;
-    margin-bottom: 2em;
+    margin-top: 1em;
+    margin-bottom: 1em;
+    background: rgb(230, 230, 230);
+    padding: 0.5em;
+    padding-left: 0px;
+    display: inline-block;
+    border: 1px solid #999999;
 }

 #contents p.topic-title {
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux