]> _ Git - pmi.git/commitdiff
Further tweaks after content updates. Wait #3332 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Thu, 16 Jan 2020 19:42:09 +0000 (20:42 +0100)
committerStephen Cameron <stephen@cubedesigners.com>
Thu, 16 Jan 2020 19:42:09 +0000 (20:42 +0100)
resources/styles/common/headings.styl
resources/styles/common/markdown.styl
resources/views/pages/solution.blade.php

index a7b3114b1bd42765368362ca13b4396224bb8008..abf4bd54e3d7eacc13f0a0725df1dea976321fce 100644 (file)
@@ -12,7 +12,7 @@ h1, h2, h3, h4
     content: ''
     display: block
 
-.h1
+.h1, .markdown h1
   @apply text-6xl
 
   &:after
@@ -26,7 +26,7 @@ h1, h2, h3, h4
   +below(1000px)
     @apply text-4xl
 
-.h2, .markdown h1
+.h2, .markdown h2
   @apply text-4xl
 
   &:after
@@ -35,5 +35,9 @@ h1, h2, h3, h4
     constrain(width, 2.5vw)
     height: 4px
 
-.h3, .markdown h2
+.h3, .template-text .markdown h2
   font-size: 1.375rem
+
+// On text template pages, the H2's should look like H3's (no underline)
+.template-text .markdown h2:after
+  display: none
index 9cc2eed621bb779609af01e3edc63e8048508745..30033127fd8c70d1c9fbedfbe9ce40830463ff1f 100644 (file)
@@ -1,6 +1,9 @@
 // Markdown blocks
 .markdown
 
+  p + h2
+    margin-top: 1.5em // Give H2's a bit more room when in the middle of text
+
   table
     margin: 1.5em 0;
 
index 46e2ca2c4fe6f04c75bf9ce610a213d39ee583ec..b7bc947f09fbaa2b9022cc19705968bb8562d092 100644 (file)
@@ -2,9 +2,9 @@
 
 @section('content')
 
-    @intro(['padding' => 'pb-4v'])
+    @intro(['padding' => 'pb-2v'])
 
-    <full-width class="bg-grey-100 antialiased">
+    <full-width padding="pt-2v pb-4v" class="bg-grey-100 antialiased">
         <content>
             <text-block title-class="h1" :title="__('Applications')"/>