Skip to content
Snippets Groups Projects
Commit 4908efda authored by Josh Borrow's avatar Josh Borrow
Browse files

Added navbar to work with mobile

parent 9747f9ff
Branches
No related tags found
No related merge requests found
......@@ -116,6 +116,7 @@ h1, h2, h3, h4, h5, h6 {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.nav ul {
......@@ -168,3 +169,32 @@ h1, h2, h3, h4, h5, h6 {
max-width: 80%;
max-height: 15%;
}
/* Media Queries */
@media screen and (max-width: 768px) {
.left-nav, .right-nav {
width: 100%;
}
.left-nav ul, .right-nav ul {
display: flex;
flex-direction: column;
justify-content: stretch;
align-content: flex-start;
flex-wrap: wrap;
}
.left-nav ul li {
padding-right: 0;
margin-right: -1em;
}
.code {
border-radius: 0;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment