From d2fe3bc1c36aa768639451f26055d674d563d124 Mon Sep 17 00:00:00 2001 From: Joe LaChance Date: Thu, 21 May 2020 15:46:52 -0500 Subject: [PATCH 1/5] Updates some media queries, removes some unused styling, updates font-size for the homepage logo --- static/css/content.css | 2 +- static/css/keyfeatures.css | 6 +----- static/css/news.css | 2 +- static/css/section3.css | 4 ++-- static/css/shell.css | 10 +++++++--- static/css/styles.css | 29 ++++------------------------- 6 files changed, 16 insertions(+), 37 deletions(-) diff --git a/static/css/content.css b/static/css/content.css index 4effa7db21..efa393cedf 100644 --- a/static/css/content.css +++ b/static/css/content.css @@ -81,7 +81,7 @@ margin: 30px 0 0 0; } -@media only screen and (max-width: 1088px) { +@media only screen and (max-width: 1090px) { .shortcuts-container { display: none; } diff --git a/static/css/keyfeatures.css b/static/css/keyfeatures.css index e424b28d94..b168b1d562 100644 --- a/static/css/keyfeatures.css +++ b/static/css/keyfeatures.css @@ -26,7 +26,7 @@ height: 175px; min-width: 275px; width: 325px; - margin: 30px 30px 30px 0; + margin: 30px auto; border-radius: 3px; } @@ -78,10 +78,6 @@ justify-content: center; margin: 0 10%; } - - .keyfeatures-box-content { - margin: 30px; - } } .keyfeatures-underline { diff --git a/static/css/news.css b/static/css/news.css index e451e80eb0..a547bdb16b 100644 --- a/static/css/news.css +++ b/static/css/news.css @@ -27,7 +27,7 @@ } } -@media only screen and (max-width: 1087px) { +@media only screen and (max-width: 1090px) { .news-container { flex-direction: column; padding: 30px; diff --git a/static/css/section3.css b/static/css/section3.css index df04a67ad9..59869d272e 100644 --- a/static/css/section3.css +++ b/static/css/section3.css @@ -24,7 +24,7 @@ height: 450px; min-width: 275px; width: 350px; - margin: 30px 30px 30px 0; + margin: 30px auto; border-radius: 3px; } @@ -43,7 +43,7 @@ font-size: 14px; } -@media only screen and (max-width: 1290px) { +@media only screen and (max-width: 1300px) { .section3-box-container { justify-content: center; } diff --git a/static/css/shell.css b/static/css/shell.css index 41a1f64897..b5fa778407 100644 --- a/static/css/shell.css +++ b/static/css/shell.css @@ -26,11 +26,9 @@ align-items: center; } - .shell-content { display: flex; flex-direction: column; - min-width: 500px; text-align: center; } @@ -57,6 +55,12 @@ left: 40%; } +.shell-title-container { + text-align: center; + align-items: center; + margin: 15px; +} + .shell-title { font-size: 35px; font-weight: bold; @@ -180,7 +184,7 @@ top: 88px; } -@media only screen and (max-width: 1100px) { +@media only screen and (max-width: 1090px) { .numpy-shell-container { flex-direction: column; justify-content: space-around; diff --git a/static/css/styles.css b/static/css/styles.css index e0b641685a..a622b354c3 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -26,11 +26,6 @@ em { justify-content: center; } -.shell-title-container { - text-align: center; - margin: 15px; -} - .hero-content { display: flex; flex-direction: column; @@ -54,7 +49,7 @@ em { display: flex; font-family: 'Lato', sans-serif; font-weight: 900; - font-size: 100px; + font-size: 6em; } .hero-logo { @@ -63,7 +58,7 @@ em { } .hero-subtitle { - font-size: 18px; + font-size: 1em; max-width: 550px; } @@ -135,7 +130,7 @@ p { margin-left: 15px; } -@media only screen and (max-width: 1100px) { +@media only screen and (max-width: 1090px) { .hero-content { flex-direction: column; padding: 0; @@ -154,37 +149,21 @@ p { } .hero-title { - font-size: 80px; + font-size: 4em; } .hero-logo { max-height: 60px; } - - .hero-subtitle { - font-size: 16px; - } } @media only screen and (max-width: 400px) { - .hero-title { - font-size: 70px; - } - .hero-logo { max-height: 50px; } - - .hero-subtitle { - font-size: 14px; - } } @media only screen and (max-width: 320px) { - .hero-title { - font-size: 60px; - } - .hero-logo { max-height: 40px; } From ae9b5060e9647769620a63c4ddc842716e85bd09 Mon Sep 17 00:00:00 2001 From: Joe LaChance Date: Thu, 21 May 2020 15:47:38 -0500 Subject: [PATCH 2/5] Removes top of page navbar logo --- layouts/partials/navbar.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 8d5b1703e0..d68efdc8ef 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -8,12 +8,6 @@