From ddcffe424167b27ee4f9c574590a7e2df1c551ef Mon Sep 17 00:00:00 2001 From: codecalm Date: Wed, 25 Mar 2020 19:51:59 +0100 Subject: award icon fix, styles for print --- src/style.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/style.scss') diff --git a/src/style.scss b/src/style.scss index 49a1b2f6..d2afbd78 100644 --- a/src/style.scss +++ b/src/style.scss @@ -46,6 +46,10 @@ a { @media (max-width: #{$breakpoint}) { padding: 0; } + + @media print { + padding: 0; + } } .row { @@ -77,11 +81,19 @@ a { padding: 2rem; background: #ffff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 1px rgba(0, 0, 0, .1); + page-break-before: always; + margin-bottom: 2rem; @media (max-width: #{$breakpoint}) { padding: .5rem; box-shadow: none; } + + @media print { + padding: 0; + box-shadow: none; + margin-bottom: 0; + } } .icon-title { -- cgit v1.2.1