From 162c89b61d08ac0c3e8b351e5b30222d258dd66f Mon Sep 17 00:00:00 2001 From: Dan Leech Date: Wed, 3 May 2017 08:23:48 +0100 Subject: [PATCH 1/2] Tweaks padding and units in CSS --- index.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index e30aed57..ed3df444 100644 --- a/index.html +++ b/index.html @@ -195,7 +195,7 @@ background-color: #EEE; padding: 1.5rem; } - @media (min-width: 720px) { + @media (min-width: 45rem) { .footer { padding: 3rem; } @@ -213,9 +213,14 @@ font-size: 1.5rem; line-height: 2rem; margin: 0; - padding: 4.5rem 1.5rem 1.5rem; + padding: 3rem 1.5rem 1.5rem; text-align: center; } + @media (min-width: 45rem) { + .hero { + padding: 4.5rem 3rem 1.5rem; + } + } .grid { display: flex; @@ -224,7 +229,7 @@ margin: 1.5rem; padding: 0; } - @media (min-width: 720px) { + @media (min-width: 45rem) { .grid { margin: 3rem; } @@ -310,7 +315,7 @@ margin: 0; padding: 0; } - @media (min-width: 720px) { + @media (min-width: 45rem) { .navbar__nav { padding: 0 1.5rem; } @@ -348,7 +353,7 @@
-

{{ site.data.simple-icons.icons | size }} free SVG icons for popular brands

+

{{ site.data.simple-icons.icons | size }} free SVG icons for popular brands

-

{{ site.data.simple-icons.icons | size }} free SVG icons for popular brands

+

Free SVG icons for popular brands

  • @@ -383,8 +400,9 @@