Add styles for TIP and IMPORTANT boxes to CSS.

This commit is contained in:
tastytea 2019-09-23 05:44:12 +02:00
parent db77792c7e
commit f9a3c36280
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 6 additions and 0 deletions

View File

@ -66,6 +66,8 @@ for file in style.css style-compat.css; do
sed -i 's/$/div.note td.icon{color:var(--green)}/' tastytea/static/assets/${file}
sed -i 's/$/div.warning td.icon{color:var(--red)}/' tastytea/static/assets/${file}
sed -i 's/$/div.tip td.icon{color:var(--blue)}/' tastytea/static/assets/${file}
sed -i 's/$/div.important td.icon{color:var(--yellow)}/' tastytea/static/assets/${file}
# Float images .
sed -i 's/$/.right{float:right}/' tastytea/static/assets/${file}

View File

@ -297,5 +297,7 @@ div.admonitionblock {margin-bottom:1em; margin-left: 1em}
div.admonitionblock td {padding:0.5em 1em}
div.note td.icon {color:var(--green)}
div.warning td.icon {color:var(--red)}
div.tip td.icon {color:var(--blue)}
div.important td.icon {color:var(--yellow)}
.right {float:right}
.left {float:left}

View File

@ -330,5 +330,7 @@ div.admonitionblock {margin-bottom:1em; margin-left: 1em}
div.admonitionblock td {padding:0.5em 1em}
div.note td.icon {color:var(--green)}
div.warning td.icon {color:var(--red)}
div.tip td.icon {color:var(--blue)}
div.important td.icon {color:var(--yellow)}
.right {float:right}
.left {float:left}