From ed01818b4cf15cf966a09c9c3cdfdd9cdcf1f1b3 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 20 Oct 2022 21:29:18 +0100 Subject: [PATCH] Rehash header class/id --- new_index.html | 2 +- style/new_style.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/new_index.html b/new_index.html index 0de691f..8cc54ee 100644 --- a/new_index.html +++ b/new_index.html @@ -9,7 +9,7 @@ Home -
+

Lorem ipsum

diff --git a/style/new_style.css b/style/new_style.css index fa3c54e..c32fec7 100644 --- a/style/new_style.css +++ b/style/new_style.css @@ -7,7 +7,7 @@ body { background-color: lightslategrey; } /* PAGE HEADER */ -#header_image_home { +.header_image { background-color: rgb(29,49,49); background-image: url("/images/headers/index/index_1024.webp"); background-repeat: no-repeat; @@ -21,9 +21,9 @@ body { position: sticky; top: -145px; } -@media(min-width: 1025px){#header_image_home{background-image:url("/images/headers/index/index_1920.webp")}} -@media(min-width: 1921px){#header_image_home{background-image:url("/images/headers/index/index_2800.webp")}} -@media(min-width: 2801px){#header_image_home{background-image:url("/images/headers/index/index_4096.webp")}} +@media(min-width: 1025px){#header_index{background-image:url("/images/headers/index/index_1920.webp")}} +@media(min-width: 1921px){#header_index{background-image:url("/images/headers/index/index_2800.webp")}} +@media(min-width: 2801px){#header_index{background-image:url("/images/headers/index/index_4096.webp")}} #page_title { /* This may be best floating above content div rather than inside header div */ background-color: #2f4f4f8f; font-family: sans-serif;