Added float:right and float:left to CSS.
This commit is contained in:
parent
98831da64d
commit
db77792c7e
@ -67,6 +67,10 @@ 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}
|
||||
|
||||
# Float images .
|
||||
sed -i 's/$/.right{float:right}/' tastytea/static/assets/${file}
|
||||
sed -i 's/$/.left{float:left}/' tastytea/static/assets/${file}
|
||||
|
||||
# Make CSS more readable
|
||||
sed -i 's/}/}\n/g' tastytea/static/assets/${file}
|
||||
sed -i 's/{/ {/g' tastytea/static/assets/${file}
|
||||
|
@ -297,3 +297,5 @@ 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)}
|
||||
.right {float:right}
|
||||
.left {float:left}
|
||||
|
@ -330,3 +330,5 @@ 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)}
|
||||
.right {float:right}
|
||||
.left {float:left}
|
||||
|
Loading…
x
Reference in New Issue
Block a user