Adjust code blocks to content width.
--- a/rst.css Fri Mar 27 02:48:39 2015 +0200
+++ b/rst.css Sun Mar 29 01:01:27 2015 +0200
@@ -7,13 +7,14 @@
p { text-indent: 2em; }
p:first-letter { font-weight: bold; }
.formula, .literal-block {
+ display: inline-block;
+ overflow: auto;
+ box-sizing: border-box;
+ max-width: calc(100% - 4em);
margin: 0 0 0 4em;
padding: 5px;
- border: 1px;
- border-style: solid;
- border-color: brown;
- background-color: LightYellow;
- overflow: auto;
+ border: 1px solid brown;
+ background: LightYellow;
}
table {
border-collapse:collapse;