visualize_dataset / src /app /globals.css
mishig's picture
mishig HF Staff
feat(home): enhance UI with fade-in animation and loading state for dataset search
edcd057
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
html {
/* Scale all rem-based sizes (text, padding, buttons) up ~12% */
font-size: 18px;
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}
.video-background {
@apply fixed top-0 right-0 bottom-0 left-0 -z-10 overflow-hidden w-screen h-screen;
}
.video-background iframe {
@apply absolute top-1/2 left-1/2 border-0 pointer-events-none bg-black;
width: 100vw;
height: 100vh;
transform: translate(-50%, -50%);
}
@media (min-aspect-ratio: 16/9) {
.video-background iframe {
height: 56.25vw;
}
}
@media (max-aspect-ratio: 16/9) {
.video-background iframe {
width: 177.78vh;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.6s ease-out forwards;
}