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 9953dee..0fdf109 100644 (file)
--- a/base.css
+++ b/base.css
@@ -102,6 +102,12 @@ pre {
        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 */