]> _ Git - ccv-wordpress.git/commitdiff
Responsive tweaks + content updates. WIP #3928 @3
authorStephen Cameron <stephen@cubedesigners.com>
Tue, 6 Oct 2020 10:03:56 +0000 (12:03 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Tue, 6 Oct 2020 10:03:56 +0000 (12:03 +0200)
wp-content/themes/CCV/resources/assets/styles/widgets/fancy-list.styl
wp-content/themes/CCV/resources/assets/styles/widgets/image-box.styl
wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php
wp-content/themes/CCV/webpack.mix.js

index 59cbc4195bd713d3268e260c2c97652abe98c178..faff272894aa59a96f4e6f98a3f82be860f41287 100644 (file)
@@ -10,6 +10,9 @@
       margin-bottom: @padding-bottom
       margin-left: 0
 
+      +below(1000px)
+        @apply text-xl
+
     &:before
       top: auto
       bottom: 0
index 6b193931af7842e9b2d5ce54e6b6428a7481c20f..7bd21e94ad4ddcf1d4379f7a8c7110ce9de38748 100644 (file)
@@ -11,5 +11,8 @@
     display: flex
     justify-content: center
 
+    + *
+      margin-top: 0.25rem
+
   &-title
     @apply font-body text-lg mb-6
index 11126d55c3e102c06c49c155d440a869c44b91d8..9b852756b1c416e91ef978aab985eb84c408c2fd 100644 (file)
@@ -1,6 +1,6 @@
 <article @php(post_class('container px-2v pb-2v flex items-start sm:flex-wrap sm:flex-col-reverse'))>
 
-  <header class="mr-2v mb-2v">
+  <header class="mr-2v mb-2v sm:mx-auto">
 
 
     @if ($published_by)
index 35a9dda9d81821be6e82009345d3c966d6bd7104..66ef47683ac51ae16b8341a66f88ff58477cec0c 100644 (file)
@@ -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,