a mini theme for pelican
git clone https://mcol.xyz/code/mini-theme
Log | Files | Refs | README

commit 7d6892417d5dee5e3df774ddbda298433c44fdff
parent c6cde48ade8c0b70f5693e983540808d2cb12630
Author: mcol <mcol@posteo.net>
Date:   Mon,  5 Oct 2020 00:00:13 +0100

add background color to code tags; yellow->white

Diffstat:
Mstatic/css/main.css | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/static/css/main.css b/static/css/main.css @@ -6,7 +6,7 @@ /* code colours */ --c0: #030405; /* dark */ --c1: #8742a5; /* red */ - --c2: #e6df52; /* green */ + --c2: #FFFFFF; /* green */ --c3: #406794; /* yellow */ --c4: #8f4ff0; /* blue */ --c5: var(--trim); /* purple */ @@ -161,10 +161,15 @@ pre a.d:hover { } .highlight { + background: #dedefe; white-space: pre-wrap; word-wrap: break-word; } +code { + background: #dedefe; +} + .err { color: var(--c1); } /* Error */ .o { color: var(--c1); } /* Operator */ .c { color: var(--c4); } /* Comment */