Skip to content
Snippets Groups Projects
Commit b0e8c061 authored by Shraddha Raghuram's avatar Shraddha Raghuram
Browse files

logo fix another attempt

parent b90d20c7
No related branches found
No related tags found
No related merge requests found
Pipeline #406351 passed
......@@ -11,7 +11,7 @@ body{
background: #C6EBE8;
}
.my-nav{
top: 0;
/* top: 0;
width: 100%;
height: 78px;
background: #C6EBE8;
......@@ -20,18 +20,36 @@ body{
justify-content: space-between;
position: fixed;
z-index: 10;
transition: all 0.2s linear; */
height: 100px; /* Increase the height of the nav container */
display: flex;
justify-content: space-between;
position: fixed;
width: 100%;
z-index: 10;
transition: all 0.2s linear;
backdrop-filter: blur(5px);
background: #C6EBE8;
}
.my-nav .icon{
flex-basis: 200px;
/* flex-basis: 200px;
margin-top: 10px;
margin-left: 5px;
margin-bottom: 7px;
background-image: url(https://static.igem.wiki/teams/5054/logo-kleur.svg);
background-position-x: -30px;
text-decoration: none;
background-repeat: no-repeat; */
flex-basis: 200px; /* Make sure this is large enough for the logo */
height: 100%; /* Ensure the icon container height matches the nav */
margin-top: 10px;
margin-left: 30px;
margin-bottom: 7px;
background-image: url(https://static.igem.wiki/teams/5054/logo-kleur.svg);
background-size: contain; /* Adjust to contain the entire logo */
background-position: center; /* Center the logo */
background-repeat: no-repeat;
overflow: visible
overflow: visible; /* Prevent cutting off the logo */
}
.my-navbar{
height: 50px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment