From: Peter Krempa Date: Mon, 3 Aug 2020 06:33:58 +0000 (+0200) Subject: docs: css: Add a gray box around table of contents of RST based docs X-Git-Tag: v6.10.0-rc1~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95f059838e56eb515b2e2679173364b7c9609026;p=thirdparty%2Flibvirt.git docs: css: Add a gray box around table of contents of RST based docs Emphasise the table of contents visually. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- 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 {