]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: css: Add a gray box around table of contents of RST based docs
authorPeter Krempa <pkrempa@redhat.com>
Mon, 3 Aug 2020 06:33:58 +0000 (08:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Nov 2020 13:04:03 +0000 (14:04 +0100)
Emphasise the table of contents visually.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/libvirt.css

index d323b6ec0fb6ac9bd0a000d3eb98f07ba156bafc..227b9ebed6659249c380292bf576fa38f93f38e8 100644 (file)
@@ -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 {