From d39b179be429f611c6887e0af04c836eaf63ed50 Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Thu, 25 Apr 2019 19:45:17 +0200 Subject: [PATCH] WIP #2684 @1 --- .../c6/resources/assets/styles/common/utilities.styl | 7 +++++++ .../themes/c6/resources/assets/styles/layouts/footer.styl | 1 - .../c6/resources/assets/styles/widgets/text-block.styl | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) 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 -- 2.39.5