Skip to content

Commit

Permalink
Fixed navbar smaller icon going offscreen & fixed all sizes for the b…
Browse files Browse the repository at this point in the history
…ooks page
  • Loading branch information
99TheDark committed Dec 20, 2023
1 parent 1c26813 commit 1f2a33b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
39 changes: 38 additions & 1 deletion books/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,47 @@
#description {
width: 50%;
font-family: "Nunito";
font-size: 1.1em;
font-size: 1.2em;
height: fit-content;
}

#cover {
width: 30em;
}

@media (max-width: 900px) {
#content {
justify-content: space-between;
}

#description {
margin-left: 50px;
}

#cover {
width: 20em;
margin-right: 50px;
}
}

@media (max-width: 700px) {
#content {
flex-direction: column;
}

#description {
margin-left: 0px;
width: 80%;
}

#cover {
width: 30em;
margin-right: 0px;
}
}

@media (max-width: 450px) {
#title {
font-size: 22px;
}
}
2 changes: 1 addition & 1 deletion global/generic/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ img {
}
}

@media (max-width: 450px) {
@media (max-width: 525px) {
.page {
padding: 20px 8px;
}
Expand Down

0 comments on commit 1f2a33b

Please sign in to comment.