paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2ea12c973fdfe4583a515278e3774b0e81f06736
parent 6c5088a76a3f9c49ba51a44f534430d25fd8ba38
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 16 Feb 2021 23:36:27 -0500

Remove no longer used syntax highlighting and improve code

Diffstat:
Mhttp/style/main.css | 39++-------------------------------------
1 file changed, 2 insertions(+), 37 deletions(-)

diff --git a/http/style/main.css b/http/style/main.css @@ -205,7 +205,6 @@ th { } } -/* Syntax highlighting */ pre { background-color: var(--code); overflow: auto; @@ -213,48 +212,14 @@ pre { border: 2px var(--border-dark) solid; border-radius: 5px; text-indent: -0.25em; /*Needed otherwise first line indented for some reason*/ + line-height: 1rem; } code { - font-family: "DejaVu Sans Mono", monospace; + font-family: monospace; background-color: var(--code); color: var(--fg-bright); font-size: var(--small-font); padding: 1px 4px; border-radius: 5px; } - -code a, code a:hover { - color: var(--fg-bright) !important; -} - -/* Colours taken from pandoc .theme files with extra tweaks */ -code span.al { color: #fba5a2; } /* Alert */ -code span.an { color: var(--fg); font-weight: bold; } /* Annotation */ -code span.at { color: var(--fg-bright); } /* Attribute */ -code span.bn { color: #beb8d5; } /* BaseN */ -code span.bu { color: #bac17c; } /* BuiltIn */ -code span.cf { color: #9dbfe4; } /* ControlFlow */ -code span.ch { color: #beb8d5; } /* Char */ -code span.cn { color: #beb8d5; font-weight: bold; } /* Constant */ -code span.co { color: var(--fg); font-style: italic; } /* Comment */ -code span.cv { color: var(--fg); font-weight: bold; font-style: italic; } /* CommentVar */ -code span.do { color: var(--fg); font-style: italic; } /* Documentation */ -code span.dt { color: #e4b285; } /* DataType */ -code span.dv { color: #beb8d5; } /* DecVal */ -code span.er { color: #fba5a2; } /* Error */ -code span.ex { color: #bac17c; } /* Extension */ -code span.fl { color: #beb8d5; } /* Float */ -code span.fu { color: #e4b285; } /* Function */ -code span.im { color: var(--fg-bright); } /* Import */ -code span.in { color: var(--fg); font-weight: bold; } /* Information */ -code span.kw { color: #9dbfe4; font-weight: bold; } /* Keyword */ -code span.op { color: var(--fg-bright); } /* Operator */ -code span.ot { color: #9dbfe4; } /* Other */ -code span.pp { color: #bac17c; font-weight: bold; } /* Preprocessor */ -code span.sc { color: #e4b285; } /* SpecialChar */ -code span.ss { color: #88c6cd; } /* SpecialString */ -code span.st { color: #88c6cd; } /* String */ -code span.va { color: #bac17c; } /* Variable */ -code span.vs { color: #88c6cd; } /* VerbatimString */ -code span.wa { color: var(--fg); font-weight: bold; } /* Warning */