aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/kdrama.css
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-14 16:16:36 +0530
committerreal-zephex <[email protected]>2024-03-14 16:16:36 +0530
commit8c7f9fd113611df8c2f308b7120c0a8ae4cae706 (patch)
treed2cb96fee85aade8d5ba9a3de0743d026c1e4f02 /src/app/kdrama/kdrama.css
parentInitial commit from Create Next App (diff)
downloaddramalama-8c7f9fd113611df8c2f308b7120c0a8ae4cae706.tar.xz
dramalama-8c7f9fd113611df8c2f308b7120c0a8ae4cae706.zip
First commit: Rewriting dramalama in next.js
Diffstat (limited to 'src/app/kdrama/kdrama.css')
-rw-r--r--src/app/kdrama/kdrama.css224
1 files changed, 224 insertions, 0 deletions
diff --git a/src/app/kdrama/kdrama.css b/src/app/kdrama/kdrama.css
new file mode 100644
index 0000000..4e0754c
--- /dev/null
+++ b/src/app/kdrama/kdrama.css
@@ -0,0 +1,224 @@
+
+.navbar {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ margin: 0px auto;
+}
+
+.navbar p {
+ font-family: "Kanit";
+ font-size: 36px;
+ color: var(--soft-purple);
+}
+
+.navbar input {
+ padding: 5px;
+ border-radius: 5px;
+ border: none;
+ outline: none;
+ width: 200px;
+ margin-top: 5px;
+ box-shadow: 0 4px 8px #0003, 0 6px 20px #00000030;
+ background-color: #9eacc4;
+ color: #fff;
+ font-family: "Atkinson Hyperlegible";
+}
+
+.intro {
+ display: flex;
+ color: white;
+ justify-content: center;
+ align-items: center;
+ height: 60vh;
+ width: 100%;
+ margin: 0px auto;
+ flex-direction: column;
+}
+
+.introText {
+ font-size: 22px;
+ font-family: "Quicksand";
+ color: var(--softer-purple)
+}
+
+.introText2 {
+ font-family: "Quicksand";
+ color: black;
+}
+
+.popup {
+ z-index: 1;
+ display: none;
+ position: fixed;
+ top: 0;
+ align-items: center;
+ height: 100%;
+ justify-content: center;
+ width: 100%;
+ background-color: #141414e8;
+}
+
+.popupEntries::-webkit-scrollbar {
+ width: 5px;
+ height: 5px;
+}
+
+.popupEntries {
+ border-radius: 5px;
+ display: flex;
+ flex-direction: column;
+ height: 60%;
+ overflow-y: auto;
+}
+
+.popupEntry {
+ background: #272727b4;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ border-style: groove;
+ align-items: center;
+ border-radius: 10px;
+ width: 800px;
+ margin: 5px auto;
+ padding: 3px;
+ border-color: var(--soft-purple);
+}
+
+.popupEntry img {
+ width: 120px;
+ padding: 5px;
+ border-radius: 10px;
+
+}
+
+.popupEntry p {
+ color: var(--neon-green);
+ font-size: 20px;
+ margin-left: 10px;
+}
+
+.closeButton {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ margin: 10px
+}
+
+.closeButton button {
+ padding: 12px;
+ background-color: var(--pastel-red);
+ font-family: "Quicksand";
+ font-size: 18px;
+ border-radius: 5px;
+ border: none;
+}
+
+.videoContainer {
+ display: none;
+ max-width: 50%;
+ margin: 10px auto;
+ justify-content: center;
+ border-style: dotted;
+ border-color: rgba(97, 97, 97, 0.575);
+ border-radius: 20px;
+ border-width: 4px;
+ padding: 10px;
+ text-align: center
+}
+
+.titleContainer {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ width: 900px;
+ align-items: center;
+ margin: 0px auto;
+}
+
+.dramaTitle {
+ color: var(--neon-green);
+ font-family: "Kanit";
+ font-size: 30px;
+}
+
+.dramaImage {
+ width: 160px;
+ border-radius: 10px;
+}
+
+.dramaDescription {
+ color: var(--softer-purple);
+ font-family: "Atkinson Hyperlegible";
+}
+
+.episodesButtonsContainer {
+ max-width: 70%;
+ margin: 0px auto;
+ max-height: 200px;
+ overflow-y: auto;
+}
+
+.episodeButton {
+ background-color: var(--light-green);
+ border: none;
+ border-radius: 5px;
+ padding: 8px;
+ margin: 5px;
+ width: 50px;
+ font-family: "Atkinson Hyperlegible";
+ font-size: 16px;
+ cursor: pointer;
+}
+
+.episodeButton:hover {
+ background-color: var(--soft-purple);
+}
+
+.videoPlayer {
+ display: flex;
+ justify-content: center;
+}
+
+.videoPlayer video {
+ border-radius: 5px;
+}
+
+@media screen and (max-width: 1440px) {
+ .videoContainer {
+ max-width: 70%;
+ }
+
+}
+
+@media screen and (max-width: 1024px) {
+ .videoContainer {
+ max-width: 90%;
+ }
+}
+
+@media screen and (max-width: 768px) {
+ .videoContainer {
+ max-width: 95%;
+ }
+
+ .titleContainer {
+ width: 100%;
+ }
+
+ .popupEntry {
+ width: 90%;
+ }
+}
+
+@media (prefers-color-scheme: dark) {
+ .navbar input {
+ background-color: #2f333ab7;
+ }
+
+ .introText2 {
+ color: white
+ }
+} \ No newline at end of file