Add styles for TIP and IMPORTANT boxes to CSS.
This commit is contained in:
parent
db77792c7e
commit
f9a3c36280
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user