From: Stephen Cameron Date: Thu, 25 Apr 2019 17:45:17 +0000 (+0200) Subject: WIP #2684 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d39b179be429f611c6887e0af04c836eaf63ed50;p=c6-wordpress.git WIP #2684 @1 --- diff --git a/wp-content/themes/c6/resources/assets/styles/common/utilities.styl b/wp-content/themes/c6/resources/assets/styles/common/utilities.styl index 5a0d4ea..45cd5cc 100644 --- a/wp-content/themes/c6/resources/assets/styles/common/utilities.styl +++ b/wp-content/themes/c6/resources/assets/styles/common/utilities.styl @@ -12,3 +12,10 @@ .pb0, .pb0 > .elementor-widget-container padding-bottom: 0 !important + + +.font-smoothing + font-smoothing() + +.font-smoothing-off + font-smoothing-reset() diff --git a/wp-content/themes/c6/resources/assets/styles/layouts/footer.styl b/wp-content/themes/c6/resources/assets/styles/layouts/footer.styl index 8edbb67..fbb2f7c 100644 --- a/wp-content/themes/c6/resources/assets/styles/layouts/footer.styl +++ b/wp-content/themes/c6/resources/assets/styles/layouts/footer.styl @@ -4,7 +4,6 @@ $breakpoint-footer-cols-1 = 710px // When to break to 1 col view .footer &-site - center() font-smoothing() font-size: 16px background-color: $colors.footer diff --git a/wp-content/themes/c6/resources/assets/styles/widgets/text-block.styl b/wp-content/themes/c6/resources/assets/styles/widgets/text-block.styl index cef1902..5cd633a 100644 --- a/wp-content/themes/c6/resources/assets/styles/widgets/text-block.styl +++ b/wp-content/themes/c6/resources/assets/styles/widgets/text-block.styl @@ -1,9 +1,9 @@ // Text block widget (Elementor defaults) // Padding is applied here so it can be overridden by Elementor .elementor-widget-cube-text .elementor-widget-container - center(480px) - horizontal-spacing(5vw) + horizontal-spacing(7.5vw) vertical-spacing(10vw) + max-width: 480px box-sizing: content-box // So padding doesn't influence max-width // When in a "default" section layout, add some padding