From 0b496fbe51d938c5f4811d1cf658fac7b575b0de Mon Sep 17 00:00:00 2001 From: Alexander Bigga Date: Fri, 22 Dec 2023 14:30:56 +0100 Subject: [PATCH] Minor cleanup of styles, remove verdigado specific font --- assets/css/editor-style.css | 35 ++++++++++--- assets/fonts/sarabun-v12-latin-regular.woff | Bin 13536 -> 0 bytes sass/_fonts.scss | 6 --- sass/_themes.scss | 3 +- sass/_widgets.scss | 54 +++++++++----------- sass/wp-blocks/button.scss | 10 ++-- 6 files changed, 60 insertions(+), 48 deletions(-) delete mode 100644 assets/fonts/sarabun-v12-latin-regular.woff diff --git a/assets/css/editor-style.css b/assets/css/editor-style.css index ced268ad..71526660 100644 --- a/assets/css/editor-style.css +++ b/assets/css/editor-style.css @@ -23,11 +23,6 @@ font-style: normal; font-display: swap; } -@font-face { - font-family: Sarabun; - src: url("../fonts/sarabun-v12-latin-regular.woff") format("woff"); - font-display: swap; } - body { font-family: "PTSans"; font-size: 1.1875rem; @@ -117,14 +112,40 @@ h1,h2,h3,h4 { font-family: "GrueneType"; } @media (min-width: 768px) { - h1, .h1, .h1, .has-huge-font-size { + h1, + .h1, + .has-huge-font-size { font-size: 45px; line-height: 1.3em; } - h2, .h2, .h2, .has-large-font-size { + + h2, + .h2, + .has-large-font-size { font-size: 31px; line-height: 1.3em; } + + h3, + .h3, + .has-medium-font-size { + font-size: 27px; + } + + h4, + .h4 { + font-size: 27px; + } + + h5, + .h5 { + font-size: 25px; + } + + h6, + .h6 { + font-size: 22px; + } } /* Main column width */ diff --git a/assets/fonts/sarabun-v12-latin-regular.woff b/assets/fonts/sarabun-v12-latin-regular.woff deleted file mode 100644 index 83b72ccf6cf18b93de1bc2be32298486d8017f5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13536 zcmZvDb8u!)6y=vmCbpeSFtKghww*7wZQGvMwllG9+s?$<{C2l?_mAzWTit#7HtN0Z zd%9ko=PD;E3IG9oC*~ah{C~N2>v#QsBLCI?-y|k1A_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w0+%gJ$FAmww{p!a@OPgUK1#MbjhjQldM$4Rx<1QElD) zwodi+yzKj_wm{S3>@3DGm@GdBQ>45ggTUjwtVK7jqNqWj!mXyF_W?H}$FjI6Kd%D{ z$NHDBX+f0?xuPN`{|v`8C_Y5XAPEoKt?FB6npqxREQ$lnV#u(l4o=bKEKS~*RX4OC ziI*_dFiw_n;W$W=x)R48C2}teONysd6vGbnj%tjbBFiQAHV%u5mjFLKh+qC4UZprA zSt6Yxs)&^wFKJoTq@t;DO5Bj`LUG;5bSs)TGqiNgO zr04VVfJu+5B02IRK`dsZEDp6e&A8pd6qBHhsD(90G-m|og~%5*EI@%AI`cH#)3j{I zfB4F`%AyhtGsuv_Nt_#evy??S@a3m;_y zDKT1M#6q6zomFAL-_9}+6CDxD3-$wd9aSw-tHp#rx-SL1v^143@dzjH$88{rME%}a z1}m=EwDYHK8bgk`>iVoXpo_}`-G>VqCHrv#*?TYI2&IzfTC}&fRVOH{vj5;vk5CK8 SZJbjDjz9&|I@`bZ#Qy-mV^Gil diff --git a/sass/_fonts.scss b/sass/_fonts.scss index fe3f3914..2b65b1d0 100755 --- a/sass/_fonts.scss +++ b/sass/_fonts.scss @@ -54,12 +54,6 @@ font-display: block; } -@font-face { - font-family: Sarabun; - src: url("assets/fonts/sarabun-v12-latin-regular.woff") format("woff"); - font-display: swap; -} - .forkawesome { font-family: ForkAwesome !important; -webkit-font-smoothing: antialiased; diff --git a/sass/_themes.scss b/sass/_themes.scss index 47d999c0..6f6d6884 100644 --- a/sass/_themes.scss +++ b/sass/_themes.scss @@ -1,7 +1,6 @@ $themes: ( default: ("headingFont": "GrueneType", "headingFontBold": "GrueneType", "standardFont": "PTSans"), - contrast: ("headingFont": "GrueneType", "headingFontBold": "GrueneType", "standardFont": "PTSans"), - verdigado: ("headingFont": "Sarabun", "headingFontBold": "Sarabun", "standardFont": "PTSans") + contrast: ("headingFont": "GrueneType", "headingFontBold": "GrueneType", "standardFont": "PTSans") ); @mixin themed() { diff --git a/sass/_widgets.scss b/sass/_widgets.scss index ed0e1676..6d14b95d 100755 --- a/sass/_widgets.scss +++ b/sass/_widgets.scss @@ -62,6 +62,30 @@ input[type="submit"] { display: none; } + + .wp-block-search__button-outside { + + label { + + &.wp-block-search__label { + + @include themed() { + font-family: t("standardFont"); + } + + font-weight: 700; + font-size: 1.3rem; + color: $white; + letter-spacing: 0.3px; + + } + + &::after { + content: ""; + } + } + } + } &_categories { @@ -143,33 +167,3 @@ } } } - -.widget { - - &_search { - - .wp-block-search__button-outside { - - label { - - &.wp-block-search__label { - - @include themed() { - font-family: t("standardFont"); - } - - font-weight: 700; - font-size: 1.3rem; - color: $white; - letter-spacing: 0.3px; - - } - - &::after { - content: ""; - } - } - } - } - -} diff --git a/sass/wp-blocks/button.scss b/sass/wp-blocks/button.scss index b287a45c..d5c82966 100644 --- a/sass/wp-blocks/button.scss +++ b/sass/wp-blocks/button.scss @@ -1,6 +1,6 @@ .wp-block-button__link { background-color: $primary; - color: $white !important; + color: $white; text-transform: uppercase; font-size: 1rem; border-radius: 3px; @@ -10,7 +10,11 @@ } &:hover { - background-color: $secondary !important; - color: $white !important; + background-color: $secondary; + } + + &:hover, + &:visited { + color: $white; } }