Упростил стиль hero-карточки

This commit is contained in:
Иван Кузьменко 2025-09-19 00:57:56 +03:00
parent 06c371db53
commit d455aeb957
8 changed files with 17 additions and 46 deletions

View file

@ -26,11 +26,15 @@
src: url('/fonts/Disket-Mono-Bold.ttf');
}
.no-x-scroll {
max-width: 100%;
overflow-x: hidden;
}
.hero {
@apply bg-[url('/common/background-day.webp')] dark:bg-[url('/common/background-night.webp')] bg-cover bg-fixed text-slate-50;
text-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
.hero-background {
@apply bg-[url('/common/background-day.webp')] dark:bg-[url('/common/background-night.webp')] bg-cover bg-fixed;
h1 {
@apply font-disket text-4xl font-bold sm:text-6xl md:text-8xl;
}
h2 {
@apply font-sans text-xl font-bold sm:text-2xl md:text-4xl;
}
}