[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
echo "Generating 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" |
tr -d " \t\n\r" > resources/style.css

View File

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