rem done
Showing
5 changed files
with
30 additions
and
31 deletions
| ... | @@ -12547,7 +12547,7 @@ figure.woocommerce-product-gallery__wrapper { | ... | @@ -12547,7 +12547,7 @@ figure.woocommerce-product-gallery__wrapper { |
| 12547 | } | 12547 | } |
| 12548 | .fa { | 12548 | .fa { |
| 12549 | display: inline-block; | 12549 | display: inline-block; |
| 12550 | font: normal normal normal 14px/1 FontAwesome; | 12550 | font: normal normal normal 0.875rem/1 FontAwesome; |
| 12551 | font-size: inherit; | 12551 | font-size: inherit; |
| 12552 | text-rendering: auto; | 12552 | text-rendering: auto; |
| 12553 | -webkit-font-smoothing: antialiased; | 12553 | -webkit-font-smoothing: antialiased; |
| ... | @@ -15616,21 +15616,21 @@ figure.woocommerce-product-gallery__wrapper { | ... | @@ -15616,21 +15616,21 @@ figure.woocommerce-product-gallery__wrapper { |
| 15616 | 15616 | ||
| 15617 | p { | 15617 | p { |
| 15618 | font-family: "Calibri"; | 15618 | font-family: "Calibri"; |
| 15619 | font-size: 18px; | 15619 | font-size: 1.125rem; |
| 15620 | color: #5b6770; | 15620 | color: #5b6770; |
| 15621 | line-height: 21px; | 15621 | line-height: 1.3125rem; |
| 15622 | } | 15622 | } |
| 15623 | 15623 | ||
| 15624 | ol li { | 15624 | ol li { |
| 15625 | font-size: 18px; | 15625 | font-size: 1.125rem; |
| 15626 | color: #5b6770; | 15626 | color: #5b6770; |
| 15627 | line-height: 21px; | 15627 | line-height: 1.3125rem; |
| 15628 | margin-bottom: 10px; | 15628 | margin-bottom: 10px; |
| 15629 | } | 15629 | } |
| 15630 | 15630 | ||
| 15631 | h2, .h2 { | 15631 | h2, .h2 { |
| 15632 | font-family: "Calibri-bold"; | 15632 | font-family: "Calibri-bold"; |
| 15633 | font-size: 40px; | 15633 | font-size: 2.5rem; |
| 15634 | color: #012169; | 15634 | color: #012169; |
| 15635 | margin-bottom: 30px; | 15635 | margin-bottom: 30px; |
| 15636 | margin-top: 20px; | 15636 | margin-top: 20px; |
| ... | @@ -15768,7 +15768,7 @@ h2, .h2 { | ... | @@ -15768,7 +15768,7 @@ h2, .h2 { |
| 15768 | .header-image .header-text h1, .header-image .header-text .h1 { | 15768 | .header-image .header-text h1, .header-image .header-text .h1 { |
| 15769 | font-family: "Calibri-bold"; | 15769 | font-family: "Calibri-bold"; |
| 15770 | color: #fff; | 15770 | color: #fff; |
| 15771 | font-size: 60px; | 15771 | font-size: 3.75rem; |
| 15772 | } | 15772 | } |
| 15773 | @media (max-width: 768px) { | 15773 | @media (max-width: 768px) { |
| 15774 | .header-image .header-text h1, .header-image .header-text .h1 { | 15774 | .header-image .header-text h1, .header-image .header-text .h1 { |
| ... | @@ -15790,7 +15790,7 @@ h2, .h2 { | ... | @@ -15790,7 +15790,7 @@ h2, .h2 { |
| 15790 | .numbers-top .wp-block-column:first-child h1, .numbers-top .wp-block-column:first-child .h1 { | 15790 | .numbers-top .wp-block-column:first-child h1, .numbers-top .wp-block-column:first-child .h1 { |
| 15791 | font-family: "Calibri-bold"; | 15791 | font-family: "Calibri-bold"; |
| 15792 | color: #fff; | 15792 | color: #fff; |
| 15793 | font-size: 36px; | 15793 | font-size: 2.25rem; |
| 15794 | display: none; | 15794 | display: none; |
| 15795 | } | 15795 | } |
| 15796 | @media (max-width: 768px) { | 15796 | @media (max-width: 768px) { |
| ... | @@ -15816,17 +15816,17 @@ h2, .h2 { | ... | @@ -15816,17 +15816,17 @@ h2, .h2 { |
| 15816 | } | 15816 | } |
| 15817 | .numbers-top .wp-block-column:first-child p { | 15817 | .numbers-top .wp-block-column:first-child p { |
| 15818 | color: #fff; | 15818 | color: #fff; |
| 15819 | font-size: 30px; | 15819 | font-size: 1.875rem; |
| 15820 | line-height: 34px; | 15820 | line-height: 2.125rem; |
| 15821 | } | 15821 | } |
| 15822 | @media (max-width: 768px) { | 15822 | @media (max-width: 768px) { |
| 15823 | .numbers-top .wp-block-column:first-child p { | 15823 | .numbers-top .wp-block-column:first-child p { |
| 15824 | font-size: 18px; | 15824 | font-size: 1.125rem; |
| 15825 | } | 15825 | } |
| 15826 | } | 15826 | } |
| 15827 | .numbers-top .wp-block-column:first-child span { | 15827 | .numbers-top .wp-block-column:first-child span { |
| 15828 | color: #fff; | 15828 | color: #fff; |
| 15829 | font-size: 14px; | 15829 | font-size: 0.875rem; |
| 15830 | display: block; | 15830 | display: block; |
| 15831 | float: right; | 15831 | float: right; |
| 15832 | margin-top: 10px; | 15832 | margin-top: 10px; |
| ... | @@ -15869,7 +15869,7 @@ h2, .h2 { | ... | @@ -15869,7 +15869,7 @@ h2, .h2 { |
| 15869 | margin-top: -15px; | 15869 | margin-top: -15px; |
| 15870 | color: #fff; | 15870 | color: #fff; |
| 15871 | width: 100%; | 15871 | width: 100%; |
| 15872 | font-size: 18px; | 15872 | font-size: 1.125rem; |
| 15873 | } | 15873 | } |
| 15874 | @media (min-width: 800px) and (max-width: 1000px) { | 15874 | @media (min-width: 800px) and (max-width: 1000px) { |
| 15875 | .numbers-top .wp-block-column:last-child p { | 15875 | .numbers-top .wp-block-column:last-child p { |
| ... | @@ -15877,9 +15877,9 @@ h2, .h2 { | ... | @@ -15877,9 +15877,9 @@ h2, .h2 { |
| 15877 | } | 15877 | } |
| 15878 | } | 15878 | } |
| 15879 | .numbers-top .wp-block-column:last-child span.doller-number { | 15879 | .numbers-top .wp-block-column:last-child span.doller-number { |
| 15880 | font-size: 205px; | 15880 | font-size: 12.8125rem; |
| 15881 | color: #fff; | 15881 | color: #fff; |
| 15882 | line-height: 100px; | 15882 | line-height: 6.25rem; |
| 15883 | display: inline-block; | 15883 | display: inline-block; |
| 15884 | } | 15884 | } |
| 15885 | @media (min-width: 800px) and (max-width: 1000px) { | 15885 | @media (min-width: 800px) and (max-width: 1000px) { |
| ... | @@ -15888,7 +15888,7 @@ h2, .h2 { | ... | @@ -15888,7 +15888,7 @@ h2, .h2 { |
| 15888 | } | 15888 | } |
| 15889 | } | 15889 | } |
| 15890 | .numbers-top .wp-block-column:last-child span.doller-sign { | 15890 | .numbers-top .wp-block-column:last-child span.doller-sign { |
| 15891 | font-size: 100px; | 15891 | font-size: 6.25rem; |
| 15892 | color: #fff; | 15892 | color: #fff; |
| 15893 | display: inline-block; | 15893 | display: inline-block; |
| 15894 | margin-top: -100px; | 15894 | margin-top: -100px; |
| ... | @@ -15929,7 +15929,7 @@ h2, .h2 { | ... | @@ -15929,7 +15929,7 @@ h2, .h2 { |
| 15929 | } | 15929 | } |
| 15930 | @media (max-width: 768px) { | 15930 | @media (max-width: 768px) { |
| 15931 | .numbers-second .wp-block-column:first-child h2, .numbers-second .wp-block-column:first-child .h2 { | 15931 | .numbers-second .wp-block-column:first-child h2, .numbers-second .wp-block-column:first-child .h2 { |
| 15932 | font-size: 28px; | 15932 | font-size: 1.75rem; |
| 15933 | } | 15933 | } |
| 15934 | } | 15934 | } |
| 15935 | .numbers-second .wp-block-column:first-child a.wp-block-button__link { | 15935 | .numbers-second .wp-block-column:first-child a.wp-block-button__link { |
| ... | @@ -15937,7 +15937,7 @@ h2, .h2 { | ... | @@ -15937,7 +15937,7 @@ h2, .h2 { |
| 15937 | background-color: #012169; | 15937 | background-color: #012169; |
| 15938 | text-transform: uppercase; | 15938 | text-transform: uppercase; |
| 15939 | font-family: "Calibri-bold"; | 15939 | font-family: "Calibri-bold"; |
| 15940 | font-size: 30px; | 15940 | font-size: 1.875rem; |
| 15941 | padding: 15px 70px; | 15941 | padding: 15px 70px; |
| 15942 | border-radius: 0px; | 15942 | border-radius: 0px; |
| 15943 | width: 368px; | 15943 | width: 368px; |
| ... | @@ -16022,18 +16022,18 @@ h2, .h2 { | ... | @@ -16022,18 +16022,18 @@ h2, .h2 { |
| 16022 | margin-top: -15px; | 16022 | margin-top: -15px; |
| 16023 | color: #fff; | 16023 | color: #fff; |
| 16024 | width: 100%; | 16024 | width: 100%; |
| 16025 | font-size: 18px; | 16025 | font-size: 1.125rem; |
| 16026 | } | 16026 | } |
| 16027 | .numbers-second .wp-block-column:last-child h3, .numbers-second .wp-block-column:last-child .h3 { | 16027 | .numbers-second .wp-block-column:last-child h3, .numbers-second .wp-block-column:last-child .h3 { |
| 16028 | font-family: "Calibri-bold"; | 16028 | font-family: "Calibri-bold"; |
| 16029 | font-size: 40px; | 16029 | font-size: 2.5rem; |
| 16030 | color: #fff; | 16030 | color: #fff; |
| 16031 | margin-bottom: 20px; | 16031 | margin-bottom: 20px; |
| 16032 | margin-top: 20px; | 16032 | margin-top: 20px; |
| 16033 | } | 16033 | } |
| 16034 | @media (min-width: 800px) and (max-width: 1000px) { | 16034 | @media (min-width: 800px) and (max-width: 1000px) { |
| 16035 | .numbers-second .wp-block-column:last-child h3, .numbers-second .wp-block-column:last-child .h3 { | 16035 | .numbers-second .wp-block-column:last-child h3, .numbers-second .wp-block-column:last-child .h3 { |
| 16036 | font-size: 36px; | 16036 | font-size: 2.25rem; |
| 16037 | } | 16037 | } |
| 16038 | } | 16038 | } |
| 16039 | 16039 | ||
| ... | @@ -16073,7 +16073,7 @@ h2, .h2 { | ... | @@ -16073,7 +16073,7 @@ h2, .h2 { |
| 16073 | overflow: auto; | 16073 | overflow: auto; |
| 16074 | } | 16074 | } |
| 16075 | .wp-block-group.register .terms p { | 16075 | .wp-block-group.register .terms p { |
| 16076 | line-height: 21px; | 16076 | line-height: 1.3125rem; |
| 16077 | } | 16077 | } |
| 16078 | .wp-block-group.register .thank-you { | 16078 | .wp-block-group.register .thank-you { |
| 16079 | display: none; | 16079 | display: none; |
| ... | @@ -16126,7 +16126,7 @@ h2, .h2 { | ... | @@ -16126,7 +16126,7 @@ h2, .h2 { |
| 16126 | background-color: #012169; | 16126 | background-color: #012169; |
| 16127 | text-transform: uppercase; | 16127 | text-transform: uppercase; |
| 16128 | font-family: "Calibri-bold"; | 16128 | font-family: "Calibri-bold"; |
| 16129 | font-size: 20px; | 16129 | font-size: 1.25rem; |
| 16130 | padding: 5px 50px !important; | 16130 | padding: 5px 50px !important; |
| 16131 | border-radius: 0px; | 16131 | border-radius: 0px; |
| 16132 | color: #fff; | 16132 | color: #fff; |
| ... | @@ -16383,7 +16383,7 @@ h2, .h2 { | ... | @@ -16383,7 +16383,7 @@ h2, .h2 { |
| 16383 | } | 16383 | } |
| 16384 | } | 16384 | } |
| 16385 | .footer-widget p { | 16385 | .footer-widget p { |
| 16386 | font-size: 14px; | 16386 | font-size: 0.875rem; |
| 16387 | text-align: right; | 16387 | text-align: right; |
| 16388 | margin-top: 0px; | 16388 | margin-top: 0px; |
| 16389 | color: #fff; | 16389 | color: #fff; |
| ... | @@ -16876,5 +16876,3 @@ body.understrap-no-sidebar .wp-block-cover.alignwide { | ... | @@ -16876,5 +16876,3 @@ body.understrap-no-sidebar .wp-block-cover.alignwide { |
| 16876 | color: theme-color("danger"); | 16876 | color: theme-color("danger"); |
| 16877 | border: 1px solid #e9ecef; | 16877 | border: 1px solid #e9ecef; |
| 16878 | } | 16878 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 16879 | |||
| 16880 | /*# sourceMappingURL=child-theme.css.map */ | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -16876,3 +16876,4 @@ body.understrap-no-sidebar .wp-block-cover.alignwide { | ... | @@ -16876,3 +16876,4 @@ body.understrap-no-sidebar .wp-block-cover.alignwide { |
| 16876 | color: theme-color("danger"); | 16876 | color: theme-color("danger"); |
| 16877 | border: 1px solid #e9ecef; | 16877 | border: 1px solid #e9ecef; |
| 16878 | } | 16878 | } |
| 16879 | /*# sourceMappingURL=main-rem.css.map */ | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -5,15 +5,15 @@ | ... | @@ -5,15 +5,15 @@ |
| 5 | "main": "index.js", | 5 | "main": "index.js", |
| 6 | "scripts": { | 6 | "scripts": { |
| 7 | "bs": "browser-sync start --config src/build/browser-sync.config.js", | 7 | "bs": "browser-sync start --config src/build/browser-sync.config.js", |
| 8 | "css": "npm-run-all css-compile css-postcss css-minify", | 8 | "css": "npm-run-all css-compile css-postcss css-minify postcss-pxtorem", |
| 9 | "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css --quiet src/sass/child-theme.scss:css/child-theme.css src/sass/custom-editor-style.scss:css/custom-editor-style.css", | 9 | "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css --quiet src/sass/child-theme.scss:css/child-theme.css src/sass/custom-editor-style.scss:css/custom-editor-style.css", |
| 10 | "css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\"", | 10 | "css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\"", |
| 11 | "css-postcss": "postcss --config src/build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\"", | 11 | "css-postcss": "postcss --config src/build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\"", |
| 12 | "js": "npm-run-all js-compile js-minify", | 12 | "js": "npm-run-all js-compile js-minify", |
| 13 | "js-compile": "rollup --config src/build/rollup.config.js --sourcemap", | 13 | "js-compile": "rollup --config src/build/rollup.config.js --sourcemap", |
| 14 | "js-minify": "terser --config-file src/build/terser.config.json --output js/child-theme.min.js js/child-theme.js", | 14 | "js-minify": "terser --config-file src/build/terser.config.json --output js/child-theme.min.js js/child-theme.js", |
| 15 | "watch": "npm-run-all --parallel watch-run-*", | 15 | "watch": "npm-run-all --parallel watch-run-* postcss-pxtorem", |
| 16 | "watch-bs": "npm-run-all --parallel bs watch-run-*", | 16 | "watch-bs": "npm-run-all --parallel bs watch-run-* postcss-pxtorem", |
| 17 | "watch-run-css": "nodemon --watch src/sass/ --ext scss --exec \"npm-run-all css\"", | 17 | "watch-run-css": "nodemon --watch src/sass/ --ext scss --exec \"npm-run-all css\"", |
| 18 | "watch-run-js": "nodemon --watch src/js/ --ext js --exec \"npm-run-all js\"", | 18 | "watch-run-js": "nodemon --watch src/js/ --ext js --exec \"npm-run-all js\"", |
| 19 | "copy-assets": "node src/build/copy-assets.js", | 19 | "copy-assets": "node src/build/copy-assets.js", | ... | ... |
| ... | @@ -15,7 +15,7 @@ var options = { | ... | @@ -15,7 +15,7 @@ var options = { |
| 15 | 15 | ||
| 16 | var processedCss = postcss(pxtorem(options)).process(css).css; | 16 | var processedCss = postcss(pxtorem(options)).process(css).css; |
| 17 | 17 | ||
| 18 | fs.writeFile('./css/main-rem.css', processedCss, function (err) { | 18 | fs.writeFile('./css/child-theme.css', processedCss, function (err) { |
| 19 | if (err) { | 19 | if (err) { |
| 20 | throw err; | 20 | throw err; |
| 21 | } | 21 | } | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.1.15 | 8 | Version: 1.1.16 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
-
Please register or sign in to post a comment