From a270fbbece8a7f9b412dcbbb0fd384b2baabbf06 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 14 Jan 2020 20:10:20 +0100 Subject: [PATCH] wip #3332 @0.25 --- config/markdown.php | 2 +- resources/styles/common/headings.styl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/markdown.php b/config/markdown.php index aa94f1e..5f7115c 100644 --- a/config/markdown.php +++ b/config/markdown.php @@ -162,7 +162,7 @@ return [ 'max_nesting_level' => INF, - 'heading_offset' => 1, + 'heading_offset' => 0, 'heading_max' => 6 ]; diff --git a/resources/styles/common/headings.styl b/resources/styles/common/headings.styl index b810c39..a7b3114 100644 --- a/resources/styles/common/headings.styl +++ b/resources/styles/common/headings.styl @@ -12,7 +12,7 @@ h1, h2, h3, h4 content: '' display: block -.h1, .markdown h1 +.h1 @apply text-6xl &:after @@ -26,7 +26,7 @@ h1, h2, h3, h4 +below(1000px) @apply text-4xl -.h2, .markdown h2 +.h2, .markdown h1 @apply text-4xl &:after @@ -35,5 +35,5 @@ h1, h2, h3, h4 constrain(width, 2.5vw) height: 4px -.h3, .markdown h3 +.h3, .markdown h2 font-size: 1.375rem -- 2.39.5