From 59d678f994b8f14a50da7af57b9b7f05311f2714 Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Tue, 6 Oct 2020 12:03:56 +0200 Subject: [PATCH] Responsive tweaks + content updates. WIP #3928 @3 --- .../CCV/resources/assets/styles/widgets/fancy-list.styl | 3 +++ .../CCV/resources/assets/styles/widgets/image-box.styl | 3 +++ .../partials/content-single-scientific_news.blade.php | 2 +- wp-content/themes/CCV/webpack.mix.js | 9 +++++++++ 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/CCV/resources/assets/styles/widgets/fancy-list.styl b/wp-content/themes/CCV/resources/assets/styles/widgets/fancy-list.styl index 59cbc41..faff272 100644 --- a/wp-content/themes/CCV/resources/assets/styles/widgets/fancy-list.styl +++ b/wp-content/themes/CCV/resources/assets/styles/widgets/fancy-list.styl @@ -10,6 +10,9 @@ margin-bottom: @padding-bottom margin-left: 0 + +below(1000px) + @apply text-xl + &:before top: auto bottom: 0 diff --git a/wp-content/themes/CCV/resources/assets/styles/widgets/image-box.styl b/wp-content/themes/CCV/resources/assets/styles/widgets/image-box.styl index 6b19393..7bd21e9 100644 --- a/wp-content/themes/CCV/resources/assets/styles/widgets/image-box.styl +++ b/wp-content/themes/CCV/resources/assets/styles/widgets/image-box.styl @@ -11,5 +11,8 @@ display: flex justify-content: center + + * + margin-top: 0.25rem + &-title @apply font-body text-lg mb-6 diff --git a/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php b/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php index 11126d5..9b85275 100644 --- a/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php @@ -1,6 +1,6 @@
-
+
@if ($published_by) diff --git a/wp-content/themes/CCV/webpack.mix.js b/wp-content/themes/CCV/webpack.mix.js index 35a9dda..66ef476 100644 --- a/wp-content/themes/CCV/webpack.mix.js +++ b/wp-content/themes/CCV/webpack.mix.js @@ -138,6 +138,15 @@ mix.purgeCss({ 'xs:mx-auto', 'sm:text-base', 'sm:mx-2v', + 'sm:mt-0', + 'sm:mb-0', + 'sm:mb-2v', + 'sm:mb-4', + 'sm:mb-6', + 'sm:pt-0', + 'sm:pb-0', + 'sm:pb-4', + 'sm:pb-6', ], whitelistPatterns: [ ...whitelistPatterns, -- 2.39.5