From 0ec2fe450609d23e314f3425077bf8ee133e739a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20=C4=BDach?= <45913977+marek-lach@users.noreply.github.com> Date: Mon, 17 Dec 2018 16:17:08 +0100 Subject: [PATCH 1/3] Specify background color for text in cards --- source/stylesheets/site.css.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/stylesheets/site.css.scss b/source/stylesheets/site.css.scss index 1cd9e43..13e3256 100644 --- a/source/stylesheets/site.css.scss +++ b/source/stylesheets/site.css.scss @@ -1,6 +1,7 @@ $plume: #7765e3; $plumedark: #6457a6; $gray: #F4F4F4; +$black: #25213c @import url('https://fonts.googleapis.com/css?family=Playfair+Display'); @@ -74,6 +75,7 @@ section { .card { background: $gray; + color: $black; padding: 1em; margin: 1em 5vw; display: flex; @@ -163,6 +165,7 @@ section > h2 { footer { padding: 5em 5vw; background: $gray; + color: $black; margin-top: 10vh; text-align: center; } @@ -208,4 +211,4 @@ footer { grid-column: 1; } } -} \ No newline at end of file +} From b9dce1d704e9d18e3c407e25d694883ac6ee6cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20=C4=BDach?= <45913977+marek-lach@users.noreply.github.com> Date: Mon, 17 Dec 2018 16:18:55 +0100 Subject: [PATCH 2/3] Update site.css.scss --- source/stylesheets/site.css.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/stylesheets/site.css.scss b/source/stylesheets/site.css.scss index 13e3256..b6c3373 100644 --- a/source/stylesheets/site.css.scss +++ b/source/stylesheets/site.css.scss @@ -1,7 +1,7 @@ $plume: #7765e3; $plumedark: #6457a6; $gray: #F4F4F4; -$black: #25213c +$black: #25213c; @import url('https://fonts.googleapis.com/css?family=Playfair+Display'); From 96e3dacf2ca0963cfecb94ccf8daf434997e0566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20=C4=BDach?= <45913977+marek-lach@users.noreply.github.com> Date: Tue, 18 Dec 2018 18:37:34 +0100 Subject: [PATCH 3/3] A more concise header --- source/stylesheets/site.css.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/stylesheets/site.css.scss b/source/stylesheets/site.css.scss index b6c3373..bd4bd61 100644 --- a/source/stylesheets/site.css.scss +++ b/source/stylesheets/site.css.scss @@ -16,7 +16,7 @@ h1, h2, h3 { header { margin: auto; - padding: 30vh 20vw; + padding: 12vh 23vw; background: linear-gradient(0deg, $plumedark, $plume); color: white; font-size: 1.5em;