Skip to content

Instantly share code, notes, and snippets.

@paullacey78
Created April 30, 2018 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paullacey78/a4736694c2611d81c41bc2fdcedc0a42 to your computer and use it in GitHub Desktop.
Save paullacey78/a4736694c2611d81c41bc2fdcedc0a42 to your computer and use it in GitHub Desktop.
@media(min-width: 841px) {
.inside-header {
display: flex;
align-items: center;
}
.site-logo {
width: 20%;
}
.site-logo:not(.sticky-logo) img {
width: 140px;
}
.nav-float-right .inside-header .main-navigation {
width: 80%;
}
#menu-main-nav {
display: flex;
justify-content: flex-end;
}
#sticky-navigation {
padding: 10px;
}
}
@media (min-width:768px) AND (max-width:840px) {
.inside-header {
display: flex;
flex-flow: row wrap;
justify-content: center;
padding: 20px 0 0 0;
}
.site-logo img {
width: 140px;
}
#site-navigation {
min-width: 768px;
padding: 10px;
text-align: center;
}
#site-navigation ul li {
display: inline-block;
float: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment