From 8bd12b25cb9139e2d43eef068f7073a8fbe41b30 Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Sat, 5 Sep 2020 20:11:18 +0100 Subject: [PATCH] Simplified CSS a little. More to do. --- .../css/style.css | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/FrontendMentor/huddle-landing-page-with-single-introductory-section-master/css/style.css b/FrontendMentor/huddle-landing-page-with-single-introductory-section-master/css/style.css index 31d01c2..0ecc4d7 100644 --- a/FrontendMentor/huddle-landing-page-with-single-introductory-section-master/css/style.css +++ b/FrontendMentor/huddle-landing-page-with-single-introductory-section-master/css/style.css @@ -5,6 +5,10 @@ --site-color: hsl(257, 40%, 49%); } +* { + margin: 0; +} + body { background-color: var(--site-color); background-image: url("../images/bg-desktop.svg"); @@ -12,7 +16,6 @@ body { /*background-size: contain; */ color: white; - margin: 0; font-family: 'Open Sans', sans-serif; } @@ -42,7 +45,6 @@ h1 { .siteBlurb h1 { margin-right: 2em; - margin-bottom: 0; } .siteBlurb p { @@ -78,11 +80,9 @@ h1 { padding: 0.5rem; margin-left: 0.5rem; margin-top: 0.9375rem; - margin-right: 0; } .circleIcon { - margin: 0; color: white; background: transparent; border: 1.75px solid #fff; @@ -111,7 +111,6 @@ h1 { /* background-size: contain; */ color: white; - margin: 0; padding: 0; } @@ -131,19 +130,14 @@ h1 { } .middleSection { - margin: 0; display: flex; flex-direction: column; } .siteBlurb { - margin:0; margin-top: 0.9375rem; text-align: center; - - /* line-height: 2rem; - font-weight: 400; */ } .siteBlurb h1 { @@ -178,7 +172,6 @@ h1 { .socialButtonsSection { /* display: block; */ text-align: center; - margin:0; margin-top: 3rem; } @@ -186,11 +179,9 @@ h1 { /* padding: 0.5rem; */ margin-left: 0.375rem; margin-top: 0.9375rem; - margin-right: 0; } .circleIcon { - margin: 0; padding: 0; color: white; background: transparent;