From: Mischa POSLAWSKY Date: Wed, 17 May 2017 09:51:45 +0000 (+0200) Subject: sample: delineate preformatted block X-Git-Tag: v1.11~75 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/57d952f371c05456947e113885607dc8eaa23509 sample: delineate preformatted block Indicate line end for a more balanced look and to highlight incorrect monospace rendering. --- diff --git a/base.css b/base.css index 9953dee..0fdf109 100644 --- 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 */