Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-kakarot committed Jun 25, 2024
1 parent 067c6f5 commit 05b1210
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 6 additions & 8 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ body {
display: inline;
margin-top: 100px;
font-family: 'Quicksand';
font-size: 40px;
font-size: 35px;
margin-left: 20px;
}

Expand All @@ -170,7 +170,7 @@ body {
display: inline;
margin-top: 60px;
font-family: 'Quicksand';
font-size: 40px;
font-size: 35px;
margin-left: 20px;
}

Expand Down Expand Up @@ -249,7 +249,7 @@ body {

.currently-airing-scroll-buttons {
float: right;
margin-top: 120px;
margin-top: 115px;
font-size: 30px;
cursor: pointer;
background-color: rgb(20, 20, 20);
Expand All @@ -261,7 +261,7 @@ body {

.scroll-buttons {
float: right;
margin-top: 80px;
margin-top: 75px;
font-size: 30px;
cursor: pointer;
background-color: rgb(20, 20, 20);
Expand Down Expand Up @@ -630,8 +630,7 @@ body {
}

.currently-airing-scroll-buttons {
margin-top: 160px;
font-size: 50px;
display: none;
}

#airing-now-container,
Expand Down Expand Up @@ -687,8 +686,7 @@ body {
}

.scroll-buttons {
font-size: 50px;
margin-top: 65px;
display: none;
}

.anime-cards {
Expand Down
3 changes: 3 additions & 0 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ function homePageDiv() {

function handleAiringNowData(data) {
// console.log(data, "Currently airing anime");
airingNowDiv.innerHTML = "";
for (const anime of data.data.Page.media) {
const animeCard = document.createElement("div");
animeCard.classList.add("airing-now-anime-cards");
Expand Down Expand Up @@ -740,6 +741,7 @@ function homePageDiv() {

function handlePopularAnimeData(data) {
// console.log(data, "Popular anime data");
popAnimeDiv.innerHTML = "";
for (const anime of data.data.Page.media) {
const animeCard = document.createElement("div");
animeCard.classList.add("anime-cards");
Expand Down Expand Up @@ -889,6 +891,7 @@ function homePageDiv() {

function handleTopAnimeData(data) {
// console.log(data, "Top anime data");
topAnimeDiv.innerHTML = "";
for (const anime of data.data.Page.media) {
const animeCard = document.createElement("div");
animeCard.classList.add("anime-cards");
Expand Down

0 comments on commit 05b1210

Please sign in to comment.