sample: delineate preformatted block
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 17 May 2017 09:51:45 +0000 (11:51 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 29 May 2017 17:29:34 +0000 (19:29 +0200)
Indicate line end for a more balanced look and to highlight incorrect
monospace rendering.

base.css

index 9953dee96ff730c587544e141f3d58c54ff4a605..0fdf1096f8d935d6c9be54dc75214738757669c4 100644 (file)
--- a/base.css
+++ b/base.css
@@ -102,6 +102,12 @@ pre {
        display: inline-block;
        text-align: left;
 }
        display: inline-block;
        text-align: left;
 }
+#sample > pre {
+       width: 78ch;
+       padding: 0 1em;
+       border-width: 0 1px;
+       border-style: solid;
+}
 
 h2 small {
        position: absolute; /* side note; do not influence alignment */
 
 h2 small {
        position: absolute; /* side note; do not influence alignment */