From d051bf2c3fdc5b542b168996b33b4bd555fc46e8 Mon Sep 17 00:00:00 2001 From: Egor Tensin <Egor.Tensin@gmail.com> Date: Sat, 1 Jul 2017 02:46:05 +0300 Subject: lighter background-color of <pre> and <code> --- css/common/misc.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'css/common') diff --git a/css/common/misc.css b/css/common/misc.css index c6cbd9d..95b80bf 100644 --- a/css/common/misc.css +++ b/css/common/misc.css @@ -1,6 +1,20 @@ +/* Utility classes to prevent blocks from expanding unreasonably. */ .wide-enough { max-width: 400px; } .wider { max-width: 600px; } +/* Lighter background for <pre> and <code> elements. */ +pre { + font-size: inherit; + background-color: #fbfbfb; +} +.highlight { + background-color: #fbfbfb !important; +} +code { + color: inherit; + background-color: #fbfbfb; + font-size: inherit; +} -- cgit v1.2.3