Skip to content

Commit

Permalink
Merge pull request #5 from yencolon/fix/issue-3
Browse files Browse the repository at this point in the history
Updating styles.css to fix nav overflow
  • Loading branch information
Brottweiler authored Aug 11, 2024
2 parents 8397c51 + 4ce61d2 commit 7891e42
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,28 @@ header {
border-bottom: 3px solid #000;
}
header h1 {
margin: 0px;
float: left;
margin: auto 0px;
color: White;
@media screen and (max-width: 383px) {
font-size: 1.5em;
}
}
nav#main {
float: right;
}

div#center {
display: flex;
justify-content: space-between;
margin: auto;
width: 600px;
@media screen and (max-width: 600px) {
width: 100%;
}
}
main {
max-width: 600px;
margin: auto;
@media screen and (max-width: 600px) {
width: 100%;
}
}
footer {
background-color: #111;
Expand Down

0 comments on commit 7891e42

Please sign in to comment.