From 79f6422696057d91d9655e5738d5b75607fb117d Mon Sep 17 00:00:00 2001 From: Justin Cooper Date: Tue, 14 Jan 2020 11:26:43 -0600 Subject: [PATCH] update mobile header and first headline based on redlines for new design --- _includes/header_mobile.html | 74 +++++++++++++------------- assets/sass/layout/_header_mobile.scss | 9 +++- assets/sass/pages/_home.scss | 9 ++++ index.html | 9 ++-- 4 files changed, 60 insertions(+), 41 deletions(-) diff --git a/_includes/header_mobile.html b/_includes/header_mobile.html index 3599df37..979a8b83 100644 --- a/_includes/header_mobile.html +++ b/_includes/header_mobile.html @@ -1,42 +1,44 @@
- -
- diff --git a/assets/sass/layout/_header_mobile.scss b/assets/sass/layout/_header_mobile.scss index f37e044e..4ee465c7 100644 --- a/assets/sass/layout/_header_mobile.scss +++ b/assets/sass/layout/_header_mobile.scss @@ -1,6 +1,9 @@ #mobile-header { background-color: #333; - padding: 5px; + + .header-contents { + padding: 5px; + } /* screen reader only */ .sr-only { @@ -51,6 +54,10 @@ } } } + + .bottom-bar { + height: 3px; + } } @media (min-width: $screen-xs-max) { diff --git a/assets/sass/pages/_home.scss b/assets/sass/pages/_home.scss index f4e1f740..cad38192 100644 --- a/assets/sass/pages/_home.scss +++ b/assets/sass/pages/_home.scss @@ -178,6 +178,15 @@ } + .img-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.6); + } + img.pinball { object-fit: fill; } diff --git a/index.html b/index.html index 87222128..695bc326 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,11 @@ layout: home
- hero image +
+ hero image
The easiest way to program microcontrollers