diff --git a/static/images/landing-page/API-image.jpg b/static/images/landing-page/API-image.jpg index 3bcabc6b0..71542732b 100644 Binary files a/static/images/landing-page/API-image.jpg and b/static/images/landing-page/API-image.jpg differ diff --git a/themes/delphi/assets/css/pages/_landing.scss b/themes/delphi/assets/css/pages/_landing.scss index 22a5de2de..a92b8606a 100644 --- a/themes/delphi/assets/css/pages/_landing.scss +++ b/themes/delphi/assets/css/pages/_landing.scss @@ -62,22 +62,28 @@ $carousel-height: 500px; padding-top: 2rem; padding-bottom: 2rem; } + .landing-gray-area { padding-top: 3rem; - padding-bottom: 3rem; + padding-bottom: 1rem; background-color: #eee; } + .landing-entry { line-height: 48px; + margin-bottom: 2rem; + .inline-svg-icon { font-size: x-large; } + h2 { font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; } + p { font-weight: 500; font-size: 28px; @@ -99,6 +105,7 @@ $carousel-height: 500px; .entry-image { width: 100%; + img { max-width: 100%; max-height: 100%; @@ -108,6 +115,33 @@ $carousel-height: 500px; } } +.landing-aspect-2-1 { + padding-top: 50% * 6 / 4 * 1.025; + position: relative; + + > img { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + } +} + +@media screen and (max-width: $breakpoint-small) { + .landing-aspect-2-1 { + padding-top: 0; + height: 200px; + text-align: center; + + > img { + position: relative; + width: initial; + height: initial; + } + } +} + .latest-news { padding: 0 50px; } diff --git a/themes/delphi/layouts/landing.html b/themes/delphi/layouts/landing.html index 05d5e6f08..86598834a 100644 --- a/themes/delphi/layouts/landing.html +++ b/themes/delphi/layouts/landing.html @@ -22,7 +22,7 @@