[css] fix issue where code had same background colour as the body

This commit is contained in:
opfez 2021-08-21 19:58:08 +02:00
parent 0ba2202cec
commit f44ac61763
2 changed files with 4 additions and 4 deletions

2
gen.sh
View File

@ -3,7 +3,7 @@
# Strip the CSS file of whitespace to reduce file size # Strip the CSS file of whitespace to reduce file size
echo "Generating CSS" echo "Generating CSS"
sed "s/FG/#ddd/g" < resources/style-formatted.css | sed "s/FG/#ddd/g" < resources/style-formatted.css |
sed "s/BG/#111/g" | sed "s/NORMALBG/#111/g" |
sed "s/CODEBG/#1a1a1a/g" | sed "s/CODEBG/#1a1a1a/g" |
tr -d " \t\n\r" > resources/style.css tr -d " \t\n\r" > resources/style.css

View File

@ -1,6 +1,6 @@
body { body {
color: FG; color: FG;
background: BG; background: NORMALBG;
font-family: serif; font-family: serif;
margin: 2em; margin: 2em;
max-width: 50em; max-width: 50em;
@ -14,12 +14,12 @@ a {
} }
a:hover { a:hover {
color: BG; color: NORMALBG;
background: FG; background: FG;
} }
pre { pre {
background: BG; background: CODEBG;
padding: 0.5em; padding: 0.5em;
} }