]> _ Git - ccv-wordpress.git/commitdiff
News styling adjustments. WIP #3053 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Tue, 14 Apr 2020 09:20:04 +0000 (11:20 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Tue, 14 Apr 2020 09:20:04 +0000 (11:20 +0200)
wp-content/themes/CCV/resources/assets/styles/components/news.styl
wp-content/themes/CCV/resources/views/partials/content-single.blade.php
wp-content/themes/CCV/resources/views/partials/content.blade.php

index 03df58272ccf792e943e01fd4b260f208693b9a9..8fa4259193b715b0c5f0b5e30de3c641c508747c 100644 (file)
@@ -9,5 +9,8 @@
     min-width: 150px
     flex-basis: 30%
 
+    +below('medium')
+      flex-basis: 100%
+
     &-sizer
       padding-bottom: 100%
index f22c4b9c1581f1b2a57a5435c7b23dac7be589bb..71a4e7c9f91806db70ce475bbd3350baae20953f 100644 (file)
@@ -3,10 +3,10 @@
     <div class="post-featured-image-sizer">{{-- Just here as a proportional sizer thanks to the padding --}}</div>
   </header>
 
-  <div class="entry-content">
+  <div class="w-full">
     @include('partials/entry-meta')
 
-    <h1 class="plain my-4">
+    <h1 class="plain my-4 text-xl">
       {!! $title !!}
     </h1>
 
index f96dafc7e4426b9d007d4c51aeffd43b2565bae4..bfe141f933206423240a8907fbd26c84dd1deab2 100644 (file)
@@ -6,10 +6,10 @@
     </a>
   </div>
 
-  <header style="flex-basis: 100%">
+  <header class="w-full">
     @include('partials/entry-meta')
 
-    <h2 class="plain my-4">
+    <h2 class="plain my-4 text-xl">
       <a href="{{ get_permalink() }}">
         {!! $title !!}
       </a>