From 3913b19fc08a459ec9ef8f1773ae0c335149a37b Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 4 Jul 2021 18:09:14 +0200 Subject: Update the header section to use BEM convention --- app/print.styl | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'app/print.styl') diff --git a/app/print.styl b/app/print.styl index c28d6f4..043e442 100644 --- a/app/print.styl +++ b/app/print.styl @@ -1,32 +1,15 @@ @page { margin-left: 1cm margin-right: 1cm - margin-top: 1.5cm + margin-top: 1cm margin-bottom: 0.3cm } body { - margin-left: 0 - margin-right: 0 font-size: 9pt } -// Header section styling -header { - - // Name - h1 { - font-size: 27pt - margin-top: 0.2em - margin-bottom: 0 - } - - // Address/Contacts - address { - .tel { display: inline } - .web { display: inline } - } -} +@require "stylesheets/print/header.styl" article { h1 { -- cgit v1.2.3