From 9e68141b51a42cd26551f742345972d6523b5736 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 17 May 2017 11:54:15 +0200 Subject: [PATCH] source: delineate console width for any preformatted block Adopt sample styling for any text source, which should all have a (preferred) limit of 78 characters. Overflows with default tab stop of 8, but all modern browsers except for msie support customisation. --- base.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base.css b/base.css index 0fdf109..1e88637 100644 --- a/base.css +++ b/base.css @@ -102,8 +102,10 @@ pre { display: inline-block; text-align: left; } -#sample > pre { +body > pre { width: 78ch; + tab-size: 4; + -moz-tab-size: 4; padding: 0 1em; border-width: 0 1px; border-style: solid; -- 2.30.0