aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/styles
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-05-14 01:02:50 +0530
committerreal-zephex <[email protected]>2024-05-14 01:02:50 +0530
commitc0e1e1a5ab734d254392e8bfcc7ace0e0ff3b6fa (patch)
tree271228b9cf8ba5bd80a79145216c84ee1144457d /src/app/anime/styles
parentminor changes to the kdrama page (diff)
parentMerge pull request #27 from real-zephex/improvement-2 (diff)
downloaddramalama-c0e1e1a5ab734d254392e8bfcc7ace0e0ff3b6fa.tar.xz
dramalama-c0e1e1a5ab734d254392e8bfcc7ace0e0ff3b6fa.zip
Merge branch 'master' of https://github.com/real-zephex/Dramalama-Next
Diffstat (limited to 'src/app/anime/styles')
-rw-r--r--src/app/anime/styles/anime.module.css4
-rw-r--r--src/app/anime/styles/buttons.module.css98
-rw-r--r--src/app/anime/styles/cw.module.css59
-rw-r--r--src/app/anime/styles/info.module.css75
-rw-r--r--src/app/anime/styles/loading.module.css12
-rw-r--r--src/app/anime/styles/pop_recent_top.module.css56
-rw-r--r--src/app/anime/styles/search.module.css98
7 files changed, 402 insertions, 0 deletions
diff --git a/src/app/anime/styles/anime.module.css b/src/app/anime/styles/anime.module.css
new file mode 100644
index 0000000..e5d402a
--- /dev/null
+++ b/src/app/anime/styles/anime.module.css
@@ -0,0 +1,4 @@
+.Main {
+ max-width: 99%;
+ margin: 65px auto;
+} \ No newline at end of file
diff --git a/src/app/anime/styles/buttons.module.css b/src/app/anime/styles/buttons.module.css
new file mode 100644
index 0000000..d0b8e78
--- /dev/null
+++ b/src/app/anime/styles/buttons.module.css
@@ -0,0 +1,98 @@
+.animeButtonContainer {
+ margin-top: 1rem;
+}
+
+.dramaButton {
+ background-color: #1f1f1fd2;
+ outline: none;
+ border: none;
+ color: white;
+ font-family: "Atkinson Hyperlegible", serif;
+ width: 50px;
+ padding: 0.5rem;
+ margin: 0 0.2rem 0.2rem 0;
+ border-radius: 0.5rem;
+ cursor: pointer;
+ transition: background-color 200ms ease, scale 200ms ease;
+}
+
+.dramaButton:hover {
+ background-color: #121212;
+ scale: 0.95;
+}
+
+.dramaButton:focus {
+ background-color: var(--soft-purple);
+ scale: 0.95;
+}
+
+.Main {
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ text-align: center;
+}
+
+.SelectClass {
+ text-align: center;
+ outline: none;
+ border: none;
+ padding: 0.4rem;
+ font-family: "Lexend Deca", serif;
+ background-color: #1f1f1fd2;
+ color: white;
+ border-radius: 0.5rem;
+}
+
+.SelectClass::-webkit-scrollbar {
+ width: 0;
+}
+
+/* Video Player */
+
+.videoPopUp {
+ height: 100dvh;
+ width: 100dvw;
+ background-color: #141414ee;
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ z-index: 1;
+ overflow-y: auto;
+}
+
+.closeButton {
+ font-family: "Lexend Deca", serif;
+ font-size: 16px;
+ background-color: var(--pastel-red);
+ padding: 0.5rem 1.5rem;
+ border: 0;
+ outline: 0;
+ border-radius: 0.5rem;
+ cursor: pointer;
+ margin: 5px;
+}
+
+.video {
+ width: 60vw;
+}
+
+.VideoPlayer {
+ width: 100%;
+}
+
+@media screen and (max-width: 1024px) {
+
+ .dramaButton {
+ font-size: 14px;
+ }
+
+ .video {
+ width: 100%;
+ }
+} \ No newline at end of file
diff --git a/src/app/anime/styles/cw.module.css b/src/app/anime/styles/cw.module.css
new file mode 100644
index 0000000..cb579c7
--- /dev/null
+++ b/src/app/anime/styles/cw.module.css
@@ -0,0 +1,59 @@
+.main {
+ width: 99%;
+ margin: 60px auto;
+}
+
+.mainText {
+ color: white;
+ font-size: 24px;
+ margin: 0.2rem 0 0.2rem 0;
+}
+
+.animeContainer {
+ font-size: 18px;
+ margin: 0px;
+}
+
+.animeEntry {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 5px;
+ margin-bottom: 0.5rem;
+ border-radius: 0.4rem;
+ background-color: #1f1f1f;
+}
+
+.animeEntry img {
+ border-radius: 0.4rem;
+ margin-left: 0.2rem;
+}
+
+.titleContainer {
+ color: white;
+ margin-left: 0.2rem;
+}
+
+.titleContainer h3 {
+ margin: 0px;
+}
+
+.EpisodeCount {
+ color: var(--soft-purple);
+ margin: 0px;
+}
+
+.date {
+ color: var(--neon-yellow);
+ margin: 0px;
+}
+
+@media screen and (max-width: 768px) {
+ .animeContainer {
+ font-size: 14px;
+ }
+
+ .animeEntry img {
+ width: 35%;
+ }
+} \ No newline at end of file
diff --git a/src/app/anime/styles/info.module.css b/src/app/anime/styles/info.module.css
new file mode 100644
index 0000000..4216b37
--- /dev/null
+++ b/src/app/anime/styles/info.module.css
@@ -0,0 +1,75 @@
+.main {
+ width: 50%;
+ margin: 60px auto;
+ color: white;
+}
+
+.AnimeHeroSection {
+ display: flex;
+ align-items: center;
+}
+
+.AnimeHeroSection strong {
+ color: var(--neon-yellow);
+}
+
+.AnimeHeroSection img {
+ width: auto;
+ height: auto;
+ padding: 0.5rem 0.7rem 0.5rem 0.7rem;
+ border-radius: 1rem;
+}
+
+.animeDescription {
+ max-height: 100px;
+ overflow: auto;
+ color: var(--light-sky);
+}
+
+.animeDescription::-webkit-scrollbar {
+ width: 3px;
+}
+
+.animeDescription::-webkit-scrollbar-thumb {
+ background-color: var(--nord-yellow);
+ border-radius: 1rem;
+}
+
+.AnimeHeroSection p {
+ margin: 0;
+}
+
+.animeTitle {
+ font-size: 28px;
+ color: var(--neon-green);
+}
+
+@media screen and (max-width: 1024px) {
+ .main {
+ width: 100%;
+ }
+
+ .AnimeHeroSection {
+ font-size: 14px;
+ }
+
+ .animeTitle {
+ font-size: 24px;
+ }
+
+ .AnimeHeroSection img {
+ padding: 0.4rem 0.4rem 0.4rem 0.4rem;
+ }
+}
+
+@media screen and (max-width: 425px) {
+ .AnimeHeroSection {
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ }
+
+ .animeTitle {
+ text-align: center;
+ }
+} \ No newline at end of file
diff --git a/src/app/anime/styles/loading.module.css b/src/app/anime/styles/loading.module.css
new file mode 100644
index 0000000..f0d0606
--- /dev/null
+++ b/src/app/anime/styles/loading.module.css
@@ -0,0 +1,12 @@
+.LoadingContainer {
+ height: 100vh;
+ width: 100vw;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.LoadingContainer strong {
+ color: white;
+ font-size: 20px;
+} \ No newline at end of file
diff --git a/src/app/anime/styles/pop_recent_top.module.css b/src/app/anime/styles/pop_recent_top.module.css
new file mode 100644
index 0000000..0feda13
--- /dev/null
+++ b/src/app/anime/styles/pop_recent_top.module.css
@@ -0,0 +1,56 @@
+.AnimeHeaderText {
+ color: white;
+ margin: 0.4rem 0 0 0;
+}
+
+.AnimeContainer {
+ margin: 0.2rem 0 0 0;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ grid-gap: 0.7rem;
+}
+
+.AnimeEntry {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-direction: column;
+ text-align: center;
+ padding: 0.8rem;
+ border-radius: 0.5rem;
+ background-color: #1f1f1f;
+}
+
+.AnimeEntry img {
+ border-radius: 0.5rem;
+}
+
+.AnimeEntry p {
+ margin: 0.2rem 0 -0.4rem 0;
+ max-width: 160px;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+
+.EpisodeText {
+ color: var(--neon-yellow);
+ font-size: small;
+ padding-top: 0.2rem;
+}
+.AnimeContainer::-webkit-scrollbar {
+ height: 0.3rem;
+}
+
+.AnimeContainer::-webkit-scrollbar-thumb {
+ background-color: var(--neon-yellow);
+ border-radius: 1rem;
+}
+
+@media screen and (max-width: 768px) {
+ .AnimeContainer {
+ display: flex;
+ overflow: auto;
+ align-items: center;
+ }
+} \ No newline at end of file
diff --git a/src/app/anime/styles/search.module.css b/src/app/anime/styles/search.module.css
new file mode 100644
index 0000000..25fa4d4
--- /dev/null
+++ b/src/app/anime/styles/search.module.css
@@ -0,0 +1,98 @@
+.SearchBarContainer {
+ padding: 1rem 0 0.8rem 0;
+ display: flex;
+ align-items: center;
+ width: 100%;
+}
+
+.SearchInputContainer {
+ display: flex;
+ align-items: center;
+ background-color: #121212;
+ padding: 0.5rem;
+ border-radius: 0.5rem;
+ width: 40%;
+}
+
+.animeHistoryButton {
+ font-family: "Lexend Deca", serif;
+ outline: none;
+ border: none;
+ background-color: #121212;
+ color: white;
+ margin: 0 0.1rem 0 0.2rem;
+ padding: 0.5rem;
+ cursor: pointer;
+ border-radius: 0.5rem;
+}
+
+.SearchInputContainer input {
+ background-color: transparent;
+ border: none;
+ outline: none;
+ color: white;
+ margin-left: 0.5rem;
+ font-size: 18px;
+ font-family: "Atkinson Hyperlegible", serif;
+ width: 100%;
+}
+
+.SearchLoading {
+ color: white;
+ text-align: center;
+}
+
+/* Search Results */
+
+.SearchResultsContainer {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
+ grid-gap: 0.7rem;
+}
+
+.AnimeEntry {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ background-color: #252525be;
+ padding: 0.5rem;
+ border-radius: 0.5rem;
+}
+
+.AnimeEntry p {
+ font-size: 18px;
+}
+
+.AnimeEntry img {
+ border-radius: 0.5rem;
+ margin-left: 0.2rem;
+}
+
+.SearchResultsContainer::-webkit-scrollbar {
+ height: 0.2rem;
+}
+
+.SearchResultsContainer::-webkit-scrollbar-track {
+ background-color: var(--softer-purple);
+}
+
+.SearchResultsContainer::-webkit-scrollbar-thumb {
+ background-color: var(--light-green);
+ border-radius: 1rem;
+}
+
+@media screen and (max-width: 768px) {
+ .SearchInputContainer {
+ width: 100%;
+ }
+
+ .SearchResultsContainer {
+ display: flex;
+ align-items: center;
+ overflow: auto;
+ }
+
+ .AnimeEntry p {
+ width: 50vw;
+ }
+} \ No newline at end of file