From f7b0d4c9c3189c78b6fe1e1a41a7c004aceb0ec2 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 2 Jan 2010 00:47:57 +0100 Subject: [PATCH] #293: line blocks are styled properly in HTML output. --- CHANGES | 2 ++ sphinx/themes/basic/static/basic.css | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGES b/CHANGES index cace9d01c..9a6a5e456 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ Release 0.6.4 (in development) ============================== +* #293: line blocks are styled properly in HTML output. + * #285: make the ``locale_dirs`` config value work again. * #303: ``html_context`` values given on the command line via ``-A`` diff --git a/sphinx/themes/basic/static/basic.css b/sphinx/themes/basic/static/basic.css index 64964c983..a04d6545b 100644 --- a/sphinx/themes/basic/static/basic.css +++ b/sphinx/themes/basic/static/basic.css @@ -332,6 +332,18 @@ dl.glossary dt { background-color: #ffa } +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + /* -- code displays --------------------------------------------------------- */ pre {