header css fixed, uses rem due to image being strange

This commit is contained in:
darkicewolf50 2024-03-13 14:23:48 -06:00
parent 2be1d7f6ea
commit 49510e81ac
2 changed files with 11 additions and 5 deletions

View File

@ -5,9 +5,13 @@ header {
margin-top: 0%;
}
#logo {
width: 10%;
figure {
margin: 0px;
height: 10%;
}
#logo {
height: 5rem;
background-color: white;
}

View File

@ -37,15 +37,17 @@ const Header = () => {
return (
<>
<header>
<div>
<figure>
<img
id="logo"
onClick={() => LinkTo("/")}
src={logo}
alt="Schulich Off-Road's logo"
/>
<h2>Schulich Offroad</h2>
</div>
<figcaption>
<h2>Schulich Offroad</h2>
</figcaption>
</figure>
<nav>
<OpenPageButton
pageToGoTo={"/"}