[css] fix issue where code had same background colour as the body
This commit is contained in:
parent
0ba2202cec
commit
f44ac61763
2
gen.sh
2
gen.sh
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue