/
foult080
/
hackaton-app
Обзор
Документация
Войти
/
foult080
/
hackaton-app
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
web-app/src/index.css
213 строк
6 KB
Foult080
feat(): start new landing
07 июл 2026, 10:34
07 июл 2026, 10:34
034ac0f
Код
Авторство
О чём код?
@import "tailwindcss"; @theme { --color-primary-50: #eff6ff; --color-primary-100: #dbeafe; --color-primary-200: #bfdbfe; --color-primary-300: #93c5fd; --color-primary-400: #60a5fa; --color-primary-500: #3b82f6; --color-primary-600: #2563eb; --color-primary-700: #1d4ed8; --color-primary-800: #1e40af; --color-primary-900: #1e3a8a; --color-purple-50: #faf5ff; --color-purple-100: #f3e8ff; --color-purple-200: #e9d5ff; --color-purple-300: #d8b4fe; --color-purple-400: #c084fc; --color-purple-500: #a855f7; --color-purple-600: #9333ea; --color-purple-700: #7e22ce; --color-purple-800: #6b21a8; --color-purple-900: #581c87; --color-teal-50: #f0fdfa; --color-teal-100: #ccfbf1; --color-teal-200: #99f6e4; --color-teal-300: #5eead4; --color-teal-400: #2dd4bf; --color-teal-500: #14b8a6; --color-teal-600: #0d9488; --color-teal-700: #0f766e; --color-teal-800: #115e59; --color-teal-900: #134e4a; --animate-fade-in: fade-in 0.6s ease-out forwards; --animate-slide-up: slide-up 0.6s ease-out forwards; --animate-slide-down: slide-down 0.4s ease-out forwards; --animate-scale-in: scale-in 0.4s ease-out forwards; --animate-pulse-soft: pulse-soft 3s ease-in-out infinite; --animate-float: float 6s ease-in-out infinite; --animate-gradient: gradient-shift 8s ease infinite; @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes slide-down { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes scale-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } @keyframes pulse-soft { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } } @utility bg-glass { background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } @utility bg-glass-strong { background-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } @utility bg-glass-dark { background-color: rgba(15, 23, 42, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } @utility border-glass { border-color: rgba(255, 255, 255, 0.2); } @utility border-glass-strong { border-color: rgba(255, 255, 255, 0.3); } @utility shadow-glass { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.1); } @utility shadow-glass-lg { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.15); } @utility shadow-glass-xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.2); } @utility text-gradient { background: linear-gradient(135deg, #3b82f6, #a855f7, #14b8a6); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient-shift 8s ease infinite; } @utility animate-delay-100 { animation-delay: 100ms; } @utility animate-delay-200 { animation-delay: 200ms; } @utility animate-delay-300 { animation-delay: 300ms; } @utility animate-delay-400 { animation-delay: 400ms; } @utility animate-delay-500 { animation-delay: 500ms; } @utility animate-delay-600 { animation-delay: 600ms; } .glass-card { background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 1rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .glass-card-hover:hover { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.15); transform: translateY(-4px); } .glass-button { background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); color: white; transition: all 0.3s ease; } .glass-button-primary { background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.1); } @media (prefers-reduced-motion: reduce) { .animate-fade-in, .animate-slide-up, .animate-slide-down, .animate-scale-in, .animate-pulse-soft, .animate-float, .animate-gradient { animation: none !important; } } @layer base { html { scroll-behavior: smooth; } body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background-color: #f9fafb; color: #111827; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } ::selection { background-color: rgba(59, 130, 246, 0.3); color: #1e3a8a; } :focus-visible { outline: none; box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px white; } }