Skip to content

Commit

Permalink
Change position for logo in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lraton committed Oct 23, 2023
1 parent 480e7ca commit b22f2ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,17 @@ nav {
display: none;
}

.logo{
height: var(--nav-height);
float: left;
}

@media screen and (max-width: 600px) {
.topnav a {display: none;}
.topnav a.icon {
float: right;
display: block;
}
}

@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
position: absolute;
Expand All @@ -68,11 +70,9 @@ nav {
display: block;
text-align: left;
}
}

.logo{
height: var(--nav-height);
float: left;
.logo{
margin-left: 40Vw;
}
}

/*SLIDE SHOW*/
Expand Down

0 comments on commit b22f2ce

Please sign in to comment.