Spaces:
Paused
Paused
Download apps/web/src/app/globals.css from mohammed978/teteffd: direct link, hf CLI and curl.
- Browser
- Download file 5.59 kB
-
https://huggingface.co/spaces/mohammed978/teteffd/resolve/main/apps/web/src/app/globals.css
- Command line
-
hf download hf://spaces/mohammed978/teteffd/apps/web/src/app/globals.css
-
curl -L -o globals.css https://huggingface.co/spaces/mohammed978/teteffd/resolve/main/apps/web/src/app/globals.css
5.59 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| @import 'katex/dist/katex.min.css'; | |
| @layer base { | |
| :root { | |
| --background: 0 0% 100%; | |
| --foreground: 0 0% 9%; | |
| --card: 0 0% 100%; | |
| --card-foreground: 0 0% 9%; | |
| --popover: 0 0% 100%; | |
| --popover-foreground: 0 0% 9%; | |
| --primary: 0 72% 51%; | |
| --primary-foreground: 0 0% 100%; | |
| --secondary: 0 0% 96%; | |
| --secondary-foreground: 0 0% 9%; | |
| --muted: 0 0% 96%; | |
| --muted-foreground: 0 0% 45%; | |
| --accent: 142 71% 45%; | |
| --accent-foreground: 0 0% 100%; | |
| --destructive: 0 84% 60%; | |
| --destructive-foreground: 0 0% 100%; | |
| --border: 0 0% 90%; | |
| --input: 0 0% 90%; | |
| --ring: 0 72% 51%; | |
| --radius: 0.6rem; | |
| --sidebar: 0 0% 6%; | |
| --sidebar-foreground: 0 0% 90%; | |
| --font-sans: 'Inter', system-ui, sans-serif; | |
| --font-mono: 'JetBrains Mono', ui-monospace, monospace; | |
| } | |
| .dark { | |
| --background: 0 0% 6%; | |
| --foreground: 0 0% 93%; | |
| --card: 0 0% 8%; | |
| --card-foreground: 0 0% 93%; | |
| --popover: 0 0% 8%; | |
| --popover-foreground: 0 0% 93%; | |
| --primary: 0 72% 51%; | |
| --primary-foreground: 0 0% 100%; | |
| --secondary: 0 0% 14%; | |
| --secondary-foreground: 0 0% 93%; | |
| --muted: 0 0% 14%; | |
| --muted-foreground: 0 0% 63%; | |
| --accent: 142 71% 45%; | |
| --accent-foreground: 0 0% 100%; | |
| --destructive: 0 62% 50%; | |
| --destructive-foreground: 0 0% 98%; | |
| --border: 0 0% 14%; | |
| --input: 0 0% 14%; | |
| --ring: 0 72% 51%; | |
| --sidebar: 0 0% 4%; | |
| --sidebar-foreground: 0 0% 90%; | |
| } | |
| * { | |
| @apply border-border; | |
| } | |
| html, body { | |
| @apply h-full; | |
| } | |
| body { | |
| @apply bg-background text-foreground antialiased; | |
| font-feature-settings: 'rlig' 1, 'calt' 1; | |
| } | |
| } | |
| @layer utilities { | |
| .scrollbar-thin { | |
| scrollbar-width: thin; | |
| } | |
| .scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; } | |
| .scrollbar-thin::-webkit-scrollbar-thumb { background: hsl(var(--border)); border-radius: 8px; } | |
| .scrollbar-thin::-webkit-scrollbar-track { background: transparent; } | |
| .gradient-brand { | |
| background: linear-gradient(135deg, hsl(0 72% 51%), hsl(0 84% 40%)); | |
| background-size: 200% 200%; | |
| } | |
| .gradient-evil { | |
| background: linear-gradient(135deg, hsl(0 72% 51%), hsl(340 75% 45%), hsl(280 60% 50%)); | |
| background-size: 200% 200%; | |
| } | |
| .text-gradient { | |
| background: linear-gradient(135deg, hsl(0 72% 60%), hsl(340 75% 55%), hsl(142 71% 55%)); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .text-gradient-red { | |
| background: linear-gradient(135deg, hsl(0 72% 55%), hsl(0 84% 60%)); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .grid-pattern { | |
| background-image: linear-gradient(hsl(var(--border) / 0.3) 1px, transparent 1px), | |
| linear-gradient(90deg, hsl(var(--border) / 0.3) 1px, transparent 1px); | |
| background-size: 40px 40px; | |
| } | |
| .glass { | |
| backdrop-filter: blur(20px) saturate(180%); | |
| background: hsl(var(--background) / 0.7); | |
| border: 1px solid hsl(var(--border) / 0.5); | |
| } | |
| .glass-subtle { | |
| backdrop-filter: blur(12px) saturate(150%); | |
| background: hsl(var(--card) / 0.5); | |
| border: 1px solid hsl(var(--border) / 0.3); | |
| } | |
| .card-hover { | |
| @apply transition-all duration-200; | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 24px hsl(0 0% 0% / 0.08); | |
| } | |
| .dark .card-hover:hover { | |
| box-shadow: 0 8px 24px hsl(0 0% 0% / 0.2); | |
| } | |
| .glow-red { | |
| box-shadow: 0 0 30px hsl(0 72% 51% / 0.15), 0 0 60px hsl(0 72% 51% / 0.05); | |
| } | |
| .glow-green { | |
| box-shadow: 0 0 20px hsl(142 71% 45% / 0.2); | |
| } | |
| .animate-gradient { | |
| background-size: 300% 300%; | |
| animation: gradient-shift 8s ease infinite; | |
| } | |
| .typing-dot { | |
| @apply inline-block w-1.5 h-1.5 rounded-full bg-current mx-0.5; | |
| animation: pulse-dot 1.4s ease-in-out infinite both; | |
| } | |
| .typing-dot:nth-child(2) { animation-delay: 0.2s; } | |
| .typing-dot:nth-child(3) { animation-delay: 0.4s; } | |
| } | |
| @layer base { | |
| @keyframes pulse-dot { | |
| 0%, 80%, 100% { opacity: 0.3; } | |
| 40% { opacity: 1; } | |
| } | |
| @keyframes gradient-shift { | |
| 0% { background-position: 0% 50%; } | |
| 50% { background-position: 100% 50%; } | |
| 100% { background-position: 0% 50%; } | |
| } | |
| } | |
| /* Markdown content */ | |
| .prose-wormgpt { | |
| @apply text-foreground leading-relaxed; | |
| } | |
| .prose-wormgpt p { @apply my-3; } | |
| .prose-wormgpt h1 { @apply text-2xl font-bold mt-6 mb-3; } | |
| .prose-wormgpt h2 { @apply text-xl font-bold mt-5 mb-2; } | |
| .prose-wormgpt h3 { @apply text-lg font-semibold mt-4 mb-2; } | |
| .prose-wormgpt ul { @apply list-disc pl-6 my-2 space-y-1; } | |
| .prose-wormgpt ol { @apply list-decimal pl-6 my-2 space-y-1; } | |
| .prose-wormgpt blockquote { | |
| @apply border-l-4 border-primary/40 pl-4 italic text-muted-foreground my-3; | |
| } | |
| .prose-wormgpt a { @apply text-primary underline underline-offset-2 hover:opacity-80; } | |
| .prose-wormgpt code:not(pre code) { | |
| @apply rounded bg-muted px-1.5 py-0.5 text-[0.85em] font-mono; | |
| } | |
| .prose-wormgpt table { | |
| @apply w-full border-collapse my-4 text-sm; | |
| } | |
| .prose-wormgpt th, .prose-wormgpt td { | |
| @apply border border-border px-3 py-2 text-left; | |
| } | |
| .prose-wormgpt th { @apply bg-muted/50 font-semibold; } | |
| .prose-wormgpt img { @apply rounded-lg my-3 max-w-full h-auto; } | |
| .prose-wormgpt hr { @apply my-6 border-border; } | |
| /* Evil scanline effect */ | |
| .scanline::after { | |
| content: ''; | |
| position: absolute; | |
| inset: 0; | |
| background: repeating-linear-gradient( | |
| 0deg, | |
| transparent, | |
| transparent 2px, | |
| hsl(0 0% 0% / 0.03) 2px, | |
| hsl(0 0% 0% / 0.03) 4px | |
| ); | |
| pointer-events: none; | |
| } | |