Skip to content

Commit

Permalink
Merge pull request #75 from FAC29A/make-small-changes
Browse files Browse the repository at this point in the history
small changes to improve appearance of site
  • Loading branch information
Luciensday authored Oct 25, 2023
2 parents 9b24509 + a26c59f commit 67b3710
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
9 changes: 8 additions & 1 deletion bestsellers.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<h1 class="booksterLogo">Bookster</h1>
</a>
</header>

<section class="result-banner">
<div class="result-banner-mid-div">
<h2 id="category-title">Bestsellers List</h2>
Expand All @@ -41,6 +41,13 @@ <h2 id="category-title">Bestsellers List</h2>
<section class="result-section-container">
<div id="category-top-5"></div>
</section>

<footer>
<div id="footer-first-line"></div>
<div id="footer-second-line">
<p id="footer-text">Built by Fran and Lucien</p>
</div>
</footer>

<script src="javascript/ny-times.js"></script>
</body>
Expand Down
6 changes: 3 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ the container for search input and button */
main {
display: grid;
grid-template-columns: 1.5fr 1fr;

margin-bottom: 5rem;
}


Expand All @@ -198,7 +198,7 @@ main {
#top5-section\ {
grid-column: 1;
grid-row: 1;

}


Expand Down Expand Up @@ -613,7 +613,7 @@ footer {
/* ------ Media queries ----------------------*/

/* Smallest screen */
@media (max-width:800px) {
@media (max-width:894px) {
main {
display: block;
margin-bottom: 5rem;
Expand Down
1 change: 1 addition & 0 deletions javascript/ny-times.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ function fetchBooksForCategory(category) {
.catch((error) => {
console.error("Error:", error);
results.textContent = error.message;
results.style.textAlign = "center";
});
}

Expand Down

0 comments on commit 67b3710

Please sign in to comment.