[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
|
||||
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
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user