/
githubmirror
/
gogs
Обзор
Документация
Войти
/
githubmirror
/
gogs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-archive-testing
web/src/index.css
162 строки
5 KB
ᴊᴏᴇ ᴄʜᴇɴ
web: move password reset to React (#8290)
24 май 2026, 04:55
Не верифицирован
24 май 2026, 04:55
4935e7a
Код
Авторство
О чём код?
@import "tailwindcss"; @import "tw-animate-css"; @import "@fontsource-variable/geist"; @import "@fontsource-variable/geist-mono"; @font-face { font-family: "Geist Pixel"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("./assets/fonts/GeistPixel-Square.woff2") format("woff2"); } @theme inline { --font-sans: "Geist Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif; --font-mono: "Geist Mono Variable", "PingFang SC", "Microsoft YaHei", Consolas, "Liberation Mono", Menlo, monospace; --font-pixel: "Geist Pixel", "Geist Mono Variable", Consolas, "Liberation Mono", Menlo, monospace; } @custom-variant dark (&:where(.dark, .dark *)); @theme { --color-background: initial; --color-foreground: initial; --color-card: initial; --color-card-foreground: initial; --color-popover: initial; --color-popover-foreground: initial; --color-primary: initial; --color-primary-foreground: initial; --color-secondary: initial; --color-secondary-foreground: initial; --color-surface: initial; --color-muted-foreground: initial; --color-destructive: initial; --color-destructive-foreground: initial; --color-border: initial; --color-input: initial; --color-ring: initial; --radius: 0.5rem; } /* Theme palettes are adapted from Pierre Theme's "Light" and "Dark" (non-soft) variants (https://github.com/pierrecomputer/theme). */ :root { color-scheme: light dark; --color-background: #ffffff; --color-foreground: #0a0a0a; --color-card: #ffffff; --color-card-foreground: #0a0a0a; --color-popover: #ffffff; --color-popover-foreground: #0a0a0a; --color-primary: #009fff; --color-primary-foreground: #ffffff; --color-secondary: #f5f5f5; --color-secondary-foreground: #0a0a0a; --color-surface: #f5f5f5; --color-muted-foreground: #737373; --color-destructive: #d52c36; --color-destructive-foreground: #ffffff; --color-border: #e5e5e5; --color-input: #d4d4d4; --color-ring: #009fff; } :root.dark { color-scheme: dark; --color-background: #0a0a0a; --color-foreground: #fafafa; --color-card: #171717; --color-card-foreground: #fafafa; --color-popover: #171717; --color-popover-foreground: #fafafa; --color-primary: #009fff; --color-primary-foreground: #ffffff; --color-secondary: #1d1d1d; --color-secondary-foreground: #fafafa; --color-surface: #1d1d1d; --color-muted-foreground: #8a8a8a; --color-destructive: #ff6762; --color-destructive-foreground: #ffffff; --color-border: #1d1d1d; --color-input: #262626; --color-ring: #009fff; } @layer base { html, body { background-color: var(--color-background); color: var(--color-foreground); } body { -webkit-font-smoothing: antialiased; } } /* Flame flicker for terminal-style hover affordances: a Hermès-orange glow that irregularly pulses, like an ember catching from underneath the text. Pauses for users who prefer reduced motion. */ @property --flame-core { syntax: "<color>"; inherits: true; initial-value: #ff6b35; } @property --flame-halo { syntax: "<color>"; inherits: true; initial-value: #ff8a4c; } @keyframes flame-flicker { 0% { text-shadow: 0 0 4px color-mix(in srgb, var(--flame-core) 50%, transparent), 0 0 8px color-mix(in srgb, var(--flame-halo) 25%, transparent); } 18% { text-shadow: 0 0 6px color-mix(in srgb, var(--flame-core) 70%, transparent), 0 0 14px color-mix(in srgb, var(--flame-halo) 40%, transparent); } 31% { text-shadow: 0 0 3px color-mix(in srgb, var(--flame-core) 35%, transparent), 0 0 6px color-mix(in srgb, var(--flame-halo) 18%, transparent); } 47% { text-shadow: 0 0 8px color-mix(in srgb, var(--flame-core) 75%, transparent), 0 0 18px color-mix(in srgb, var(--flame-halo) 45%, transparent); } 62% { text-shadow: 0 0 4px color-mix(in srgb, var(--flame-core) 50%, transparent), 0 0 8px color-mix(in srgb, var(--flame-halo) 25%, transparent); } 78% { text-shadow: 0 0 5px color-mix(in srgb, var(--flame-core) 60%, transparent), 0 0 11px color-mix(in srgb, var(--flame-halo) 32%, transparent); } 100% { text-shadow: 0 0 4px color-mix(in srgb, var(--flame-core) 50%, transparent), 0 0 8px color-mix(in srgb, var(--flame-halo) 25%, transparent); } } @media (prefers-reduced-motion: reduce) { @keyframes flame-flicker { 0%, 100% { text-shadow: 0 0 4px color-mix(in srgb, var(--flame-core) 50%, transparent), 0 0 8px color-mix(in srgb, var(--flame-halo) 25%, transparent); } } }