Forgot comments.

This commit is contained in:
tastytea 2019-02-16 01:35:40 +01:00
parent 727a6bf479
commit 6525a2cc79
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 1 deletions

View File

@ -19,13 +19,16 @@ for file in style.css style-compat.css; do
# Set maximum characters per line to 100
sed -i 's/body{margin:0}/body{max-width:100ch;margin:auto}/' tastytea/static/assets/${file}
# Reduce margin above listing blocks
sed -i 's/$/div.listingblock pre{margin-top:0.1em;}/' tastytea/static/assets/${file}
# Add dark background to <code>
sed -i 's/$/p>code{background-color:#10111280;}/' tastytea/static/assets/${file}
sed -i 's/#1d1f21/#101112/g' tastytea/static/assets/${file} # Code Background
sed -i 's/#ffffff/#1d1f21/g' tastytea/static/assets/${file} # Background
sed -i 's/#fff/#1d1f21/g' tastytea/static/assets/${file}
sed -i 's/#fff/#1d1f21/g' tastytea/static/assets/${file} # Background
sed -i 's/#efefef/#282a2e/g' tastytea/static/assets/${file} # Current Line
sed -i 's/#eee/#282a2e/g' tastytea/static/assets/${file} # Current Line
sed -i 's/#d6d6d6/#373b41/g' tastytea/static/assets/${file} # Selection