Download src/styles.css from MrNoOne07/Portfolio: direct link, hf CLI and curl.
- Browser
- Download file 4.2 kB
-
https://huggingface.co/spaces/MrNoOne07/Portfolio/resolve/main/src/styles.css
- Command line
-
hf download hf://spaces/MrNoOne07/Portfolio/src/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/MrNoOne07/Portfolio/resolve/main/src/styles.css
4.2 kB
| @import "tailwindcss" source(none); | |
| @source "../src"; | |
| @import "tw-animate-css"; | |
| @custom-variant dark (&:is(.dark *)); | |
| @theme inline { | |
| --radius-sm: calc(var(--radius) - 4px); | |
| --radius-md: calc(var(--radius) - 2px); | |
| --radius-lg: var(--radius); | |
| --radius-xl: calc(var(--radius) + 4px); | |
| --radius-2xl: calc(var(--radius) + 8px); | |
| --radius-3xl: calc(var(--radius) + 12px); | |
| --color-background: var(--background); | |
| --color-foreground: var(--foreground); | |
| --color-card: var(--card); | |
| --color-card-foreground: var(--card-foreground); | |
| --color-popover: var(--popover); | |
| --color-popover-foreground: var(--popover-foreground); | |
| --color-primary: var(--primary); | |
| --color-primary-foreground: var(--primary-foreground); | |
| --color-secondary: var(--secondary); | |
| --color-secondary-foreground: var(--secondary-foreground); | |
| --color-muted: var(--muted); | |
| --color-muted-foreground: var(--muted-foreground); | |
| --color-accent: var(--accent); | |
| --color-accent-foreground: var(--accent-foreground); | |
| --color-destructive: var(--destructive); | |
| --color-destructive-foreground: var(--destructive-foreground); | |
| --color-border: var(--border); | |
| --color-input: var(--input); | |
| --color-ring: var(--ring); | |
| --color-ring-offset-background: var(--background); | |
| --color-navy: var(--navy); | |
| --color-navy-soft: var(--navy-soft); | |
| --color-chakra: var(--chakra); | |
| --color-chakra-glow: var(--chakra-glow); | |
| --color-kyuubi: var(--kyuubi); | |
| --color-paper: var(--paper); | |
| --font-display: "Bebas Neue", "Arial Black", sans-serif; | |
| --font-sans: "Carlito", "Calibri", ui-sans-serif, system-ui, sans-serif; | |
| } | |
| :root { | |
| --radius: 0.75rem; | |
| /* Light portfolio palette, refined */ | |
| --paper: oklch(0.978 0.012 250); /* page bg: soft cool white */ | |
| --background: oklch(0.978 0.012 250); | |
| --foreground: oklch(0.18 0.06 265); /* deep navy ink */ | |
| --navy: oklch(0.22 0.075 265); /* primary navy */ | |
| --navy-soft: oklch(0.78 0.04 255); /* light navy band */ | |
| --chakra: oklch(0.62 0.18 215); /* cyan chakra accent */ | |
| --chakra-glow: oklch(0.72 0.16 215); | |
| --kyuubi: oklch(0.68 0.21 45); /* Naruto orange */ | |
| --card: oklch(1 0 0); | |
| --card-foreground: oklch(0.18 0.06 265); | |
| --popover: oklch(1 0 0); | |
| --popover-foreground: oklch(0.18 0.06 265); | |
| --primary: oklch(0.22 0.075 265); | |
| --primary-foreground: oklch(0.98 0.005 250); | |
| --secondary: oklch(0.94 0.02 255); | |
| --secondary-foreground: oklch(0.22 0.075 265); | |
| --muted: oklch(0.94 0.02 255); | |
| --muted-foreground: oklch(0.48 0.04 260); | |
| --accent: oklch(0.68 0.21 45); | |
| --accent-foreground: oklch(0.98 0.005 250); | |
| --destructive: oklch(0.577 0.245 27.325); | |
| --destructive-foreground: oklch(0.984 0.003 247.858); | |
| --border: oklch(0.9 0.02 255); | |
| --input: oklch(0.9 0.02 255); | |
| --ring: oklch(0.68 0.21 45); | |
| } | |
| @layer base { | |
| * { border-color: var(--color-border); } | |
| html { font-size: 19px; scroll-behavior: smooth; } | |
| body { | |
| background-color: var(--color-background); | |
| color: var(--color-foreground); | |
| font-family: var(--font-sans); | |
| line-height: 1.8; | |
| letter-spacing: 0.025em; | |
| background-image: | |
| radial-gradient(at 10% 0%, color-mix(in oklab, var(--chakra) 12%, transparent) 0, transparent 45%), | |
| radial-gradient(at 90% 10%, color-mix(in oklab, var(--kyuubi) 10%, transparent) 0, transparent 40%); | |
| background-attachment: fixed; | |
| } | |
| h1, h2, h3 { letter-spacing: 0.02em; } | |
| } | |
| @layer utilities { | |
| .text-balance { text-wrap: balance; } | |
| .bg-grid { | |
| background-image: | |
| linear-gradient(to right, color-mix(in oklab, var(--navy) 6%, transparent) 1px, transparent 1px), | |
| linear-gradient(to bottom, color-mix(in oklab, var(--navy) 6%, transparent) 1px, transparent 1px); | |
| background-size: 48px 48px; | |
| } | |
| .animate-heartbeat { | |
| animation: heartbeat 1.45s ease-in-out infinite; | |
| transform-origin: center; | |
| } | |
| .ring-chakra { box-shadow: 0 0 0 2px color-mix(in oklab, var(--chakra) 40%, transparent), 0 0 40px color-mix(in oklab, var(--chakra) 30%, transparent); } | |
| } | |
| @keyframes heartbeat { | |
| 0%, 42%, 100% { transform: scale(1); } | |
| 14% { transform: scale(1.18); } | |
| 24% { transform: scale(0.96); } | |
| 32% { transform: scale(1.1); } | |
| } | |