From 314aecc3b6d7fdef556aabc4451cf25b6bf9a420 Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Fri, 21 Oct 2022 20:22:24 +0100 Subject: [PATCH] Style #header_face --- style/new_style.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/style/new_style.css b/style/new_style.css index fb1ca77..de009c6 100644 --- a/style/new_style.css +++ b/style/new_style.css @@ -35,6 +35,18 @@ body { @media(min-width:1025px){#header_index{background-image:url("/images/headers/index/1920.webp")}} @media(min-width:1921px){#header_index{background-image:url("/images/headers/index/2800.webp")}} @media(min-width:2801px){#header_index{background-image:url("/images/headers/index/4096.webp")}} +#header_face{ + display: flex; + position: absolute; + top: -140px; + width: 100%; + text-align: center; +} +#header_face img{ + margin: auto; + border-radius: 40px; + height: 100px; +} #page_title { /* This may be best floating above content div rather than inside header div */ background-color: #2f4f4f8f; font-family: indie-flower, cursive; @@ -128,10 +140,11 @@ body { } /* FOOTER */ footer { - position: absolute; + position: relative; width: 100%; background-color: darkslategrey; height: 30px; + bottom: 0; } footer p { padding: 0;