Fix theme.

It was 3 columns all of a sudden.
This commit is contained in:
tastytea 2019-11-25 07:49:26 +01:00
parent 70b81fb9c8
commit 567911275e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,11 @@ for file in style.css style-compat.css; do
# Remove fonts, save >400KiB (~92,5%) # Remove fonts, save >400KiB (~92,5%)
sed -Ei 's/@font-face\{[^\}]+\}//g' tastytea/static/assets/${file} sed -Ei 's/@font-face\{[^\}]+\}//g' tastytea/static/assets/${file}
sed -Ei 's/@font-face\{[^\}]+\}//g' tastytea/static/assets/${file}
# Remove 3-columns (hotfix).
sed -Ei 's/\.pure-u-md-7-12,\.pure-u-md-14-24\{[^\}]+\}//' tastytea/static/assets/${file}
sed -i 's/#1d1f21/var(--bg-code)/g' tastytea/static/assets/${file} # Code Background sed -i 's/#1d1f21/var(--bg-code)/g' tastytea/static/assets/${file} # Code Background
sed -i 's/#ffffff/var(--bg)/g' tastytea/static/assets/${file} # Background sed -i 's/#ffffff/var(--bg)/g' tastytea/static/assets/${file} # Background

View File

@ -92,7 +92,6 @@ td, th {padding:0}
.pure-u-md-11-24 {width:45.8333%} .pure-u-md-11-24 {width:45.8333%}
.pure-u-md-1-2, .pure-u-md-12-24 {width:50%} .pure-u-md-1-2, .pure-u-md-12-24 {width:50%}
.pure-u-md-13-24 {width:54.1667%} .pure-u-md-13-24 {width:54.1667%}
.pure-u-md-7-12, .pure-u-md-14-24 {width:58.3333%}
.pure-u-md-3-5 {width:60%} .pure-u-md-3-5 {width:60%}
.pure-u-md-5-8, .pure-u-md-15-24 {width:62.5%} .pure-u-md-5-8, .pure-u-md-15-24 {width:62.5%}
.pure-u-md-2-3, .pure-u-md-16-24 {width:66.6667%} .pure-u-md-2-3, .pure-u-md-16-24 {width:66.6667%}

View File

@ -93,7 +93,6 @@ td, th {padding:0}
.pure-u-md-11-24 {width:45.8333%; *width:45.8023%} .pure-u-md-11-24 {width:45.8333%; *width:45.8023%}
.pure-u-md-1-2, .pure-u-md-12-24 {width:50%; *width:49.969%} .pure-u-md-1-2, .pure-u-md-12-24 {width:50%; *width:49.969%}
.pure-u-md-13-24 {width:54.1667%; *width:54.1357%} .pure-u-md-13-24 {width:54.1667%; *width:54.1357%}
.pure-u-md-7-12, .pure-u-md-14-24 {width:58.3333%; *width:58.3023%}
.pure-u-md-3-5 {width:60%; *width:59.969%} .pure-u-md-3-5 {width:60%; *width:59.969%}
.pure-u-md-5-8, .pure-u-md-15-24 {width:62.5%; *width:62.469%} .pure-u-md-5-8, .pure-u-md-15-24 {width:62.5%; *width:62.469%}
.pure-u-md-2-3, .pure-u-md-16-24 {width:66.6667%; *width:66.6357%} .pure-u-md-2-3, .pure-u-md-16-24 {width:66.6667%; *width:66.6357%}