From aa795872aff92d86319f3701ad026bb57b99c33b Mon Sep 17 00:00:00 2001 From: Praneeth Bhandaru Date: Tue, 20 Oct 2020 20:52:31 -0400 Subject: [PATCH] Added Contrast class with mix blend mode --- pages/static/pages/css/styles.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pages/static/pages/css/styles.css b/pages/static/pages/css/styles.css index 5ef61d0..f068943 100644 --- a/pages/static/pages/css/styles.css +++ b/pages/static/pages/css/styles.css @@ -36,7 +36,9 @@ nav { left: 0; width: 100vw; color: white; - background-image: url('img/hero.png') + background-image: url('img/hero.png'); + background-repeat: no-repeat; + background-position: left bottom; } .hero-text { @@ -113,6 +115,10 @@ body { margin-bottom: 10px; } +.news { + margin-bottom: 150px; +} + .segment-quote { color: #444; text-align: left; @@ -158,4 +164,10 @@ body { .hero-text { margin-top: 30vh; + text-weight: bold; + color: white; +} +.contrast { + mix-blend-mode: exclusion; + color: white; } \ No newline at end of file