aboutsummaryrefslogtreecommitdiff
path: root/styles/globals.css
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-12-24 13:03:54 +0700
committerFactiven <[email protected]>2023-12-24 13:03:54 +0700
commit50a0f0240d7fef133eb5acc1bea2b1168b08e9db (patch)
tree307e09e505580415a58d64b5fc3580e9235869f1 /styles/globals.css
parentUpdate README.md (#104) (diff)
downloadmoopa-50a0f0240d7fef133eb5acc1bea2b1168b08e9db.tar.xz
moopa-50a0f0240d7fef133eb5acc1bea2b1168b08e9db.zip
migrate to typescript
Diffstat (limited to 'styles/globals.css')
-rw-r--r--styles/globals.css34
1 files changed, 32 insertions, 2 deletions
diff --git a/styles/globals.css b/styles/globals.css
index 17ca472..10645f0 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -13,6 +13,11 @@ html {
-webkit-tap-highlight-color: transparent;
}
+:root {
+ --media-brand: 245 245 245;
+ --media-focus: 78 156 246;
+}
+
body {
@apply bg-primary scrollbar-hide text-txt;
}
@@ -413,7 +418,8 @@ pre code {
.next-button {
position: relative;
- @apply xs:w-28 xs:h-9 w-24 h-7 rounded-md font-karla shadow-xl text-black xs:text-[15px] text-xs md:text-sm flex-center hover:bg-[#b9b9b9];
+ @apply px-4 py-2 font-karla text-primary hover:bg-white/80 font-semibold;
+ /* @apply xs:w-28 xs:h-9 w-24 h-7 rounded-md font-karla shadow-xl text-black xs:text-[15px] text-xs md:text-sm flex-center hover:bg-[#b9b9b9]; */
background: #ffffff;
border-radius: 6px;
cursor: pointer;
@@ -432,7 +438,7 @@ pre code {
border-radius: 6px;
}
.next-button.progress::before {
- animation: progress 7s ease forwards;
+ animation: progress 7s linear forwards;
}
@keyframes progress {
0% {
@@ -557,3 +563,27 @@ pre code {
left: unset;
}
}
+
+[data-media-player] {
+ height: 100%;
+ display: block;
+}
+
+[data-media-provider] {
+ height: 100%;
+ border: none;
+}
+
+[data-media-provider] video {
+ height: 100%;
+ object-fit: contain;
+ display: block;
+}
+
+.chat {
+ @apply flex flex-col gap-[10px];
+}
+
+.chat > span {
+ @apply font-karla w-full italic text-white/70;
+}