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/_icons/award.svg | 3 ++- src/index.html | 4 ++-- src/style.scss | 12 ++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/_icons/award.svg b/src/_icons/award.svg index 3f488f3..1df308d 100644 --- a/src/_icons/award.svg +++ b/src/_icons/award.svg @@ -2,5 +2,6 @@ --- - + + diff --git a/src/index.html b/src/index.html index 98418eb..f8fc5f9 100644 --- a/src/index.html +++ b/src/index.html @@ -3,7 +3,6 @@ layout: default ---
-
{% for icon in site.icons %} @@ -14,7 +13,8 @@ layout: default {% endfor %}
- +
+
{% for icon in site.icons %} diff --git a/src/style.scss b/src/style.scss index 49a1b2f..d2afbd7 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