Added padding to NOTE:.

This commit is contained in:
tastytea 2019-04-20 14:28:20 +02:00
parent 8bbd7357b3
commit b7754b4f93
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,7 @@ for file in style.css style-compat.css; do
sed -i 's/$/div.note table{background-color:var(--note)}/' tastytea/static/assets/${file}
sed -i 's/$/div.note td.icon div.title::after{content:":"}/' tastytea/static/assets/${file}
sed -i 's/$/div.note{margin-bottom:1em;margin-left: 1em}/' tastytea/static/assets/${file}
sed -i 's/$/div.note td{padding:0.5em 1em}/' tastytea/static/assets/${file}
# Make CSS more readable
sed -i 's/}/}\n/g' tastytea/static/assets/${file}

View File

@ -293,3 +293,4 @@ div.note td.icon {color:var(--green); font-size:120%; border-right: 0.2em solid
div.note table {background-color:var(--note)}
div.note td.icon div.title::after {content:":"}
div.note {margin-bottom:1em; margin-left: 1em}
div.note td {padding:0.5em 1em}

View File

@ -326,3 +326,4 @@ div.note td.icon {color:var(--green); font-size:120%; border-right: 0.2em solid
div.note table {background-color:var(--note)}
div.note td.icon div.title::after {content:":"}
div.note {margin-bottom:1em; margin-left: 1em}
div.note td {padding:0.5em 1em}