diff --git a/src/static/css/index.css b/src/static/css/index.css index d46301e8558..003868fc648 100644 --- a/src/static/css/index.css +++ b/src/static/css/index.css @@ -95,17 +95,31 @@ p { font-family: 'Poppins', sans-serif; } -.intro-image { +.intro-image-wrapper { grid-area: image; display: none; + width:100%; } -.intro-image-2019 { +.intro-image { + background-image: url(/static/images/home-hero.png); + background-size: cover; + height: 67.5vw; + width: 86vw; +} + +.intro-image-2019-wrapper { grid-area: image; + width:100%; +} + +.intro-image-2019 { + background-image: url(/static/images/home-hero-2019.png); + background-size: cover; max-height: 470px; - max-width: 100%; - height: auto; - margin-bottom: -90px; + max-width: 458px; + height: 41vw; + width: 40vw; } .intro .btn { @@ -345,13 +359,13 @@ p { font-weight: bold; } - .intro-image { + .intro-image-wrapper { display: block; max-width: 100%; margin-top: 80px; margin-right: -46px; } - .intro-image-2019 { + .intro-image-2019-wrapper { display: none; } @@ -490,14 +504,14 @@ p { font-weight: bold; } - .intro-image { + .intro-image-wrapper { display: block; max-width: 100%; margin-top: 60px; margin-right: -46px; } - .intro-image-2019 { + .intro-image-2019-wrapper { display: none; } diff --git a/src/templates/ar/2019/base.html b/src/templates/ar/2019/base.html index 662fa05b447..0730b5660f0 100644 --- a/src/templates/ar/2019/base.html +++ b/src/templates/ar/2019/base.html @@ -68,8 +68,12 @@

Start exploring - The Web Almanac 2019 edition - The Web Almanac 2019 edition +
+
+
+
+
+
{% endif %} diff --git a/src/templates/en/2019/base.html b/src/templates/en/2019/base.html index d34caccb515..45f0706534e 100644 --- a/src/templates/en/2019/base.html +++ b/src/templates/en/2019/base.html @@ -68,8 +68,12 @@

Start exploring - The Web Almanac 2019 edition - The Web Almanac 2019 edition +
+
+
+
+
+
{% endif %} diff --git a/src/templates/es/2019/base.html b/src/templates/es/2019/base.html index 7d167e07003..52eb066cc14 100644 --- a/src/templates/es/2019/base.html +++ b/src/templates/es/2019/base.html @@ -65,8 +65,12 @@

Empieza a explorar - Web Almanac edición 2019 - Web Almanac edición 2019 +
+
+
+
+
+
{% endif %} diff --git a/src/templates/fr/2019/base.html b/src/templates/fr/2019/base.html index 6e154fb8716..0988a3422e9 100644 --- a/src/templates/fr/2019/base.html +++ b/src/templates/fr/2019/base.html @@ -68,8 +68,12 @@

Commencer l’exploration - Édition 2019 du Web Almanac - Web Almanac +
+
+
+
+
+
{% endif %}