From a606915f960509e6b207b6f95bf9dad23cad38b9 Mon Sep 17 00:00:00 2001 From: Atharva Karanjekar Date: Thu, 20 Jun 2024 10:30:45 +0530 Subject: [PATCH] UI changes --- css/index.css | 23 ++++++++++------------- js/index.js | 22 +++++++++++----------- 2 files changed, 21 insertions(+), 24 deletions(-) diff --git a/css/index.css b/css/index.css index d1bedfe..c6f1c7f 100644 --- a/css/index.css +++ b/css/index.css @@ -455,7 +455,7 @@ body { } #input-box { - font-size: 40px; + font-size: 30px; padding: 20px; } @@ -493,8 +493,12 @@ body { margin-top: -10px; } - #synopsis-div { - font-size: 8px; + #synopsis-div, #relations-div { + margin: 50px; + margin-top: 20px; + font-size: 16px; + text-align: center; + padding: 20px 50px; } #anime-details-main-div { @@ -540,12 +544,6 @@ body { width: 90%; } - #synopsis-div { - margin: 50px; - margin-top: 20px; - font-size: 15px; - } - #relations-div { margin: 50px; margin-top: -30px; @@ -577,7 +575,7 @@ body { } #anime-div { - margin-bottom: 120px; + margin-bottom: 50px; } #currently-airing-header { @@ -666,11 +664,10 @@ body { } .search-anime-details-table { - font-size: 22px; + font-size: 20px; } .search-anime-details-table tr { - height: 32.5px; + height: 32px; } - } \ No newline at end of file diff --git a/js/index.js b/js/index.js index 0a13179..851275f 100644 --- a/js/index.js +++ b/js/index.js @@ -999,35 +999,35 @@ function animeAboutDiv() { ` - + - + - + - + - + - + - + - +
Type:${type} ${type}
Episodes:${episodes} ${episodes}
Duration:${duration} min ${duration} min
Broadcast:${startDay}/${startMonth}/${startYear} to ${endDay}/${endMonth}/${endYear} ${startDay}/${startMonth}/${startYear} to ${endDay}/${endMonth}/${endYear}
Status:${statusKey} ${statusKey}
Source:${source} ${source}
Studios:${studios} ${studios}
Season:${aniSeason} ${aniSeason}
`; @@ -1042,15 +1042,15 @@ function animeAboutDiv() { ` - + - + - +
Score:${score}% (${scoredBy}) ${score}% (${scoredBy})
Favourites:#${favourites} #${favourites}
Popularity:#${popularity} #${popularity}
`;