Files
PrimeCode/app/globals.css
2025-09-05 15:36:13 +02:00

74 lines
1.3 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}
html {
scroll-behavior: smooth;
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* tailwind.config lub global.css */
.bg-grid {
background-image: url('/visuals/grid.svg');
background-size: 24px 24px;
}
.bg-noise {
background-image: url('/visuals/noise.png');
background-size: 200px 200px;
opacity: .05;
}
/* Hero video jest dekoracyjne chowamy natywne UI przeglądarek */
.heroVideo::-webkit-media-controls {
display: none !important;
}
.heroVideo::-webkit-media-controls-enclosure {
display: none !important;
}
.heroVideo::-webkit-media-controls-panel {
display: none !important;
}
/* Firefox/Edge raczej nie pokażą UI bez atrybutu controls, ale zostawiamy dla pewności: */
.heroVideo::-moz-media-controls {
display: none !important;
}