diff --git a/themes/modify_slick.sh b/themes/modify_slick.sh index b27da6e..6bd59bd 100755 --- a/themes/modify_slick.sh +++ b/themes/modify_slick.sh @@ -13,6 +13,11 @@ for file in style.css style-compat.css; do # 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} + + # 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/#ffffff/var(--bg)/g' tastytea/static/assets/${file} # Background diff --git a/themes/tastytea/static/assets/style-compat.css b/themes/tastytea/static/assets/style-compat.css index ecf8026..0105772 100644 --- a/themes/tastytea/static/assets/style-compat.css +++ b/themes/tastytea/static/assets/style-compat.css @@ -92,7 +92,6 @@ td, th {padding:0} .pure-u-md-11-24 {width:45.8333%} .pure-u-md-1-2, .pure-u-md-12-24 {width:50%} .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-5-8, .pure-u-md-15-24 {width:62.5%} .pure-u-md-2-3, .pure-u-md-16-24 {width:66.6667%} diff --git a/themes/tastytea/static/assets/style.css b/themes/tastytea/static/assets/style.css index 59ef62f..1138ed6 100644 --- a/themes/tastytea/static/assets/style.css +++ b/themes/tastytea/static/assets/style.css @@ -93,7 +93,6 @@ td, th {padding:0} .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-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-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%}