Reduced margin between list items; Styled [NOTE]

This commit is contained in:
tastytea 2019-02-16 03:28:19 +01:00
parent e7b56130fd
commit 60677103a6
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 11 additions and 4 deletions

View File

@ -19,11 +19,18 @@ 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}
# Add dark background to <code>
sed -i 's/$/p>code,td>code{background-color:#10111280;}/' 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}
# Reduce margin between list items
sed -i 's/$/li>p{margin:0.1em;}/' tastytea/static/assets/${file}
# Style NOTE: (AsciiDoc)
sed -i 's/$/div.note>table,div.note td{border:0;}/' tastytea/static/assets/${file}
sed -i 's/$/div.note td.icon{background-color:#282a2e;color:#b5bd68;border-radius:20%;}/' tastytea/static/assets/${file}
sed -i 's/#1d1f21/#101112/g' tastytea/static/assets/${file} # Code Background

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long