Download code/web/src/index.css from MiniMaxAI/oss-ecosystem-data: direct link, hf CLI and curl.
- Browser
- Download file 7.96 kB
-
https://huggingface.co/datasets/MiniMaxAI/oss-ecosystem-data/resolve/ef05c6c211d29fd6a5000abe9cc8b9939604ef8c/code/web/src/index.css
- Command line
-
hf download hf://datasets/MiniMaxAI/oss-ecosystem-data@ef05c6c211d29fd6a5000abe9cc8b9939604ef8c/code/web/src/index.css
-
curl -L -o index.css https://huggingface.co/datasets/MiniMaxAI/oss-ecosystem-data/resolve/ef05c6c211d29fd6a5000abe9cc8b9939604ef8c/code/web/src/index.css
7.96 kB
| @import "tailwindcss"; | |
| @import "tw-animate-css"; | |
| @import "shadcn/tailwind.css"; | |
| /* The faces of minimax.io, all OFL: Outfit for headings and numbers, DM Sans for text, Libre | |
| Baskerville for taglines and the italic word in a model name ("H3 image"), Abhaya Libre | |
| ExtraBold for the model mark on a tile ("M3.1", "H3"). */ | |
| @import "@fontsource/libre-baskerville/400.css"; | |
| @import "@fontsource/libre-baskerville/400-italic.css"; | |
| @import "@fontsource/libre-baskerville/700.css"; | |
| @import "@fontsource/abhaya-libre/800.css"; | |
| @import "@fontsource-variable/outfit/index.css"; | |
| @import "@fontsource-variable/dm-sans/index.css"; | |
| @custom-variant dark (&:is(.dark *)); | |
| @theme inline { | |
| --font-heading: var(--font-sans); | |
| --font-sans: "DM Sans Variable", system-ui, -apple-system, "Segoe UI", "PingFang SC", sans-serif; | |
| --font-display: "Outfit Variable", "DM Sans Variable", system-ui, sans-serif; | |
| --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif; | |
| --font-numeral: "Abhaya Libre", "Libre Baskerville", Georgia, serif; | |
| --color-sidebar-ring: var(--sidebar-ring); | |
| --color-sidebar-border: var(--sidebar-border); | |
| --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); | |
| --color-sidebar-accent: var(--sidebar-accent); | |
| --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); | |
| --color-sidebar-primary: var(--sidebar-primary); | |
| --color-sidebar-foreground: var(--sidebar-foreground); | |
| --color-sidebar: var(--sidebar); | |
| --color-chart-5: var(--chart-5); | |
| --color-chart-4: var(--chart-4); | |
| --color-chart-3: var(--chart-3); | |
| --color-chart-2: var(--chart-2); | |
| --color-chart-1: var(--chart-1); | |
| --color-ring: var(--ring); | |
| --color-input: var(--input); | |
| --color-border: var(--border); | |
| --color-destructive: var(--destructive); | |
| --color-accent-foreground: var(--accent-foreground); | |
| --color-accent: var(--accent); | |
| --color-muted-foreground: var(--muted-foreground); | |
| --color-muted: var(--muted); | |
| --color-secondary-foreground: var(--secondary-foreground); | |
| --color-secondary: var(--secondary); | |
| --color-primary-foreground: var(--primary-foreground); | |
| --color-primary: var(--primary); | |
| --color-popover-foreground: var(--popover-foreground); | |
| --color-popover: var(--popover); | |
| --color-card-foreground: var(--card-foreground); | |
| --color-card: var(--card); | |
| --color-foreground: var(--foreground); | |
| --color-background: var(--background); | |
| --radius-sm: calc(var(--radius) * 0.6); | |
| --radius-md: calc(var(--radius) * 0.8); | |
| --radius-lg: var(--radius); | |
| --radius-xl: calc(var(--radius) * 1.4); | |
| --radius-2xl: calc(var(--radius) * 1.8); | |
| --radius-3xl: calc(var(--radius) * 2.2); | |
| --radius-4xl: calc(var(--radius) * 2.6); | |
| } | |
| /* minimax.io neutrals (its --product-* tokens), the brand gradients for model marks, and modality | |
| and relation colours from brand hues, checked with the dataviz validator on #fff (modalities in | |
| stack order, relations all pairs) and on #000 for the galaxy stage. */ | |
| :root { | |
| --background: #ffffff; | |
| --foreground: #171717; | |
| --card: #ffffff; | |
| --card-foreground: #171717; | |
| --popover: #ffffff; | |
| --popover-foreground: #171717; | |
| --primary: #171717; | |
| --primary-foreground: #ffffff; | |
| --secondary: #f5f5f5; | |
| --secondary-foreground: #171717; | |
| --muted: #f5f5f5; | |
| --muted-foreground: #666666; | |
| --accent: #f5f5f5; | |
| --accent-foreground: #171717; | |
| --destructive: #e8204a; | |
| --border: #e9e9e9; | |
| --input: #e9e9e9; | |
| --ring: #ff3763; | |
| --radius: 12px; | |
| --chart-1: #ff3763; --chart-2: #ff7038; --chart-3: #b7bacc; --chart-4: #666666; --chart-5: #171717; | |
| --sidebar: #ffffff; --sidebar-foreground: #171717; --sidebar-primary: #171717; --sidebar-primary-foreground: #ffffff; | |
| --sidebar-accent: #f5f5f5; --sidebar-accent-foreground: #171717; --sidebar-border: #e9e9e9; --sidebar-ring: #ff3763; | |
| --brand: #ff3763; | |
| --brand-from: #ff3763; | |
| --brand-to: #ff7038; | |
| --rel-adapter: #ee2a7b; | |
| --rel-finetune: #d17f05; | |
| --rel-quantized: #7a27ff; | |
| --rel-repackage: #9a0010; | |
| --rel-merge: #0a8ae6; | |
| --rel-mirror: #b7bacc; | |
| --rel-component: #17825b; | |
| --neutral-series: #b7bacc; | |
| --galaxy-bg: #000000; | |
| --ring-band: rgba(255, 55, 99, 0.07); | |
| /* modalities, in stack order; -from/-to are the gradient of a model mark */ | |
| --cat-language: #ff3763; --cat-language-from: #ff3763; --cat-language-to: #ff7038; | |
| --cat-video: #7a27ff; --cat-video-from: #7a27ff; --cat-video-to: #a36aff; | |
| --cat-music: #a8102e; --cat-music-from: #9a0010; --cat-music-to: #e8204a; | |
| --cat-image: #0a8ae6; --cat-image-from: #0a7fd9; --cat-image-to: #1494ee; | |
| --stage: #000000; | |
| --shadow-card: 0 1px 2px rgba(23, 23, 23, 0.04), 0 12px 32px -12px rgba(23, 23, 23, 0.12); | |
| } | |
| .dark { | |
| --background: #000000; | |
| --foreground: #f2f2f2; | |
| --card: #000000; | |
| --card-foreground: #f2f2f2; | |
| --popover: #141414; | |
| --popover-foreground: #f2f2f2; | |
| --primary: #ffffff; | |
| --primary-foreground: #000000; | |
| --secondary: #161616; | |
| --secondary-foreground: #f2f2f2; | |
| --muted: #161616; | |
| --muted-foreground: #9b9b9b; | |
| --accent: #161616; | |
| --accent-foreground: #f2f2f2; | |
| --destructive: #ff4558; | |
| --border: #262626; | |
| --input: #262626; | |
| --ring: #ff4558; | |
| --chart-1: #ff4558; --chart-2: #ff7038; --chart-3: #6b6f80; --chart-4: #9b9b9b; --chart-5: #f2f2f2; | |
| --sidebar: #000000; --sidebar-foreground: #f2f2f2; --sidebar-primary: #ffffff; --sidebar-primary-foreground: #000000; | |
| --sidebar-accent: #161616; --sidebar-accent-foreground: #f2f2f2; --sidebar-border: #262626; --sidebar-ring: #ff4558; | |
| --brand: #ff4558; | |
| --rel-adapter: #f0418a; | |
| --rel-finetune: #e56a06; | |
| --rel-quantized: #8b4dff; | |
| --rel-repackage: #b8153f; | |
| --rel-merge: #1a93ec; | |
| --rel-mirror: #6b6f80; | |
| --rel-component: #1a9367; | |
| --neutral-series: #6b6f80; | |
| --ring-band: rgba(255, 69, 88, 0.09); | |
| --cat-language: #ff4558; | |
| --cat-video: #8b4dff; | |
| --cat-music: #b01a44; | |
| --cat-image: #1a93ec; | |
| } | |
| @layer base { | |
| * { | |
| @apply border-border outline-ring/50; | |
| } | |
| body { | |
| @apply bg-background text-foreground; | |
| } | |
| button:not(:disabled), [role="button"]:not(:disabled) { | |
| cursor: pointer; | |
| } | |
| html { | |
| @apply font-sans; | |
| } | |
| } | |
| /* The galaxy is always dark; it carries the .dark class itself. */ | |
| .stage { | |
| background-color: var(--stage); | |
| color: #f2f2f2; | |
| } | |
| /* Brand gradient text, for a model mark on white ("MiniMax M3" on minimax.io). */ | |
| .gradient-text { | |
| background: linear-gradient(100deg, var(--from, #ff3763), var(--to, #ff7038)); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| @keyframes rise { | |
| from { opacity: 0; transform: translateY(14px); } | |
| to { opacity: 1; transform: none; } | |
| } | |
| @keyframes wipe { | |
| from { clip-path: inset(0 100% 0 0); } | |
| to { clip-path: inset(0 0 0 0); } | |
| } | |
| @keyframes draw { | |
| from { stroke-dashoffset: 1; } | |
| to { stroke-dashoffset: 0; } | |
| } | |
| @keyframes pop { | |
| from { opacity: 0; transform: scale(0.3); } | |
| to { opacity: 1; transform: none; } | |
| } | |
| @keyframes fade { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| @keyframes breathe { | |
| 0%, 100% { opacity: 0.55; transform: scale(1); } | |
| 50% { opacity: 0.9; transform: scale(1.06); } | |
| } | |
| @keyframes unfold { | |
| from { opacity: 0; transform: rotate(-14deg) scale(0.86); } | |
| to { opacity: 1; transform: none; } | |
| } | |
| @keyframes octo-swim { | |
| 0%, 100% { transform: translateY(0) scale(1, 1) rotate(-2deg); } | |
| 50% { transform: translateY(-7%) scale(1.04, 0.95) rotate(2deg); } | |
| } | |
| .anim-rise { animation: rise 700ms cubic-bezier(.22,.61,.36,1) both; } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { | |
| animation-duration: 1ms ; | |
| animation-delay: 0ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 1ms ; | |
| } | |
| } |