From 618c3013df8d73a1dadc612b959b97bddf3c26ef Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 4 May 2021 22:57:56 +0200 Subject: Add styling for sections headers --- app/base.styl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'app/base.styl') diff --git a/app/base.styl b/app/base.styl index 317a625..1dd9cd7 100644 --- a/app/base.styl +++ b/app/base.styl @@ -61,6 +61,27 @@ header { } } +article { + h1 { + display: flex + flex-direction: row + } + + h1:before, h1:after { + content: ""; + border-bottom: 1px solid + margin: auto; + } + h1:before { + margin-right: 0.3em + flex: 5 5; + } + h1:after { + margin-left: 0.3em + flex: 100 0; + } +} + .summary { h1 { display: none } p { -- cgit v1.2.3