Commits

Georg Brandl  committed 622d9c4

#293: line blocks are styled properly in HTML output.

  • Participants
  • Parent commits 9eb0ce9

Comments (0)

Files changed (2)

 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``

File sphinx/themes/basic/static/basic.css

     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 {