From 4ca84cf0003fde827b91696a06f8f853438e15cb Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 30 Nov 2021 13:33:29 +0100 Subject: [PATCH] style: Fix design of slides --- .marp/theme.scss | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.marp/theme.scss b/.marp/theme.scss index 6f23a2d..40aabb5 100644 --- a/.marp/theme.scss +++ b/.marp/theme.scss @@ -43,6 +43,17 @@ section.chapter h5:first-child::before { display: none; } */ + +section > bc-title { + line-height: 39px; + font-size: 32px; + padding-bottom: 9.36px; +} + +section > h1 { + color: var(--text-color); +} + section > bc-title:first-child, section > h1:first-child, section > h2:first-child, @@ -69,8 +80,15 @@ section > h3:first-child::before { background-color: white; } -/* -section > h2:first-child::before { + +section > bc-title:first-child::before, +section > h1:first-child::before, +section > h2:first-child::before, +section > h3:first-child::before, +section > h4:first-child::before, +section > h5:first-child::before, +section > h6:first-child::before +{ content: ""; position: absolute; display: block; @@ -78,8 +96,8 @@ section > h2:first-child::before { left: -100px; width: 70px; height: 0.9em; - background-color: #662d91; } -*/ +background-color: #662d91; } + section:not(.chapter) > h2:first-child { font-size: 100%; }