From 058d4c640062230171cf0252ade22ffe67f62954 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 25 Nov 2021 18:48:48 +0100 Subject: [PATCH] style: fix display for h3 in slides --- .marp/theme.scss | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.marp/theme.scss b/.marp/theme.scss index 4267bd6..4fa8fb1 100644 --- a/.marp/theme.scss +++ b/.marp/theme.scss @@ -54,7 +54,9 @@ section > h6:first-child { font-weight: bold; position: relative; } -section > h1:first-child::before { +section > h1:first-child::before, +section > h2:first-child::before, +section > h3:first-child::before { content: ""; position: absolute; display: block; @@ -62,11 +64,10 @@ section > h1:first-child::before { left: -100px; width: 70px; height: 0.9em; - background-color: white; } - -section:not(.chapter) > h2:first-child { - font-size: 100%; } + background-color: white; +} +/* section > h2:first-child::before { content: ""; position: absolute; @@ -76,6 +77,10 @@ section > h2:first-child::before { width: 70px; height: 0.9em; background-color: #662d91; } +*/ + +section:not(.chapter) > h2:first-child { + font-size: 100%; } a { color: inherit;