summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-02 00:47:57 +0100
committerGeorg Brandl <georg@python.org>2010-01-02 00:47:57 +0100
commit33c21bf483282d39028b380822a61a76f3f62d4c (patch)
treef7f2a1d42423d318bd92a4a0912f42ae02980591
parentc8a7702905889677b41326fb87c084f5fef33ac5 (diff)
downloadsphinx-33c21bf483282d39028b380822a61a76f3f62d4c.tar.gz
#293: line blocks are styled properly in HTML output.
-rw-r--r--CHANGES2
-rw-r--r--sphinx/themes/basic/static/basic.css12
2 files changed, 14 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index cace9d01..9a6a5e45 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 64964c98..a04d6545 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 {