From bd1b6690c6847532e59841149b89bc7a8469f586 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 11 Nov 2023 23:52:05 +0100 Subject: Added basic syntax highlighting to wiki --- docs/wiki_src/custom.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'docs/wiki_src/custom.css') diff --git a/docs/wiki_src/custom.css b/docs/wiki_src/custom.css index 170b4cc..d68a10c 100644 --- a/docs/wiki_src/custom.css +++ b/docs/wiki_src/custom.css @@ -2,7 +2,16 @@ pre { width: 100%; white-space: pre; overflow-x: scroll; - display: inline-grid; + display: grid; +} + +/* to match std */ +pre, pre > code, code.bruijn { + background-color: #222222; +} + +pre a { + color: var(--font-color); } .headerlink { -- cgit v1.2.3