From ca29b4dd43ab0d482e0ae7c14febe62b1e076efa Mon Sep 17 00:00:00 2001 From: zeroth Date: Thu, 16 Jan 2020 22:30:30 +0000 Subject: [PATCH] last css adjustment pdf --- static/css/stylepandoc.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/static/css/stylepandoc.css b/static/css/stylepandoc.css index d1b869f..bb92476 100644 --- a/static/css/stylepandoc.css +++ b/static/css/stylepandoc.css @@ -1,8 +1,11 @@ @page { /*size: 8.5in 11in !important;*/ + size:"A4"; bleed: 0 !important; - padding: 0 !important; - margin: 0 !important; + /*padding: 0 !important;*/ + /*margin: 0 !important;*/ + margin: 0; + padding: 15mm 0mm 15mm 0mm; } html,body{ @@ -29,7 +32,7 @@ div#scorecontentpage{ div.scorenumber{ font-size: 3em; /*background-color: silver;*/ - margin: 50% auto 0 auto; + margin: 45% auto 0 auto; width: 50%; border: 0.5mm solid black; padding:2mm 0 2mm 0; @@ -44,7 +47,7 @@ div.author{ } div.publisher{ margin-bottom: : 3mm; - margin-top: 60%; + margin-top: 57.5%; } div.time{ @@ -55,5 +58,5 @@ div#scorecontentpage{ margin:auto; color: black; text-align: left; - width: 65%; + width: 60%; }