From 22d3e5ab4d4c2588ee1f56bfc7f42c675618c39b Mon Sep 17 00:00:00 2001 From: Mike Slinn Date: Thu, 8 Sep 2016 07:41:35 -0700 Subject: [PATCH] Update prettify.css Here is a quick hack. It forces all code to white, enlarges it to 10 points and removes the annoying horizontal scroll bar. I do not care about an artistically beautiful color palette, I just want to be able to read the code. --- resources/css/prettify.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/resources/css/prettify.css b/resources/css/prettify.css index a0f857389..e86c6745b 100644 --- a/resources/css/prettify.css +++ b/resources/css/prettify.css @@ -27,3 +27,19 @@ pre.prettyprint { /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin: 0 0 0 40px; } /* IE indents via margin-left */ ol.linenums > li { color: rgba(67, 94, 101, 0.6); line-height: 20px; width: 100%; s} + +/* Quick hack to make the code readable; the above settings use low contrast colors and an annoying horizontal scroll bar shows */ +.prettyprint code, +.prettyprint .str, +.prettyprint .atv, +.prettyprint .lit, +.prettyprint .kwd, +.prettyprint .com, +.prettyprint .dec, +.prettyprint .typ, +.prettyprint .tag { + color: white; + font-size: 10pt; +} + +.main-page-column { width: initial; }