pelita-webtournament/app/globals.css

71 lines
1.2 KiB
CSS
Raw Normal View History

2024-07-05 11:41:32 +02:00
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
2024-08-31 11:56:27 +02:00
--background-start-rgb: 255, 255, 255;
2024-07-05 11:41:32 +02:00
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
2024-08-31 11:56:27 +02:00
background: white;
}
.crt {
background: linear-gradient(to top, #000000, #000000, #333333, #333333);
background-size: cover;
background-size: 100% 2px;
color: #00ff00;
font-size: 50px;
/* text-align: center; */
text-shadow: 0 0 10px #00ff00;
filter: blur(.8px);
border-radius: 20px;
}
.red-bot {
color: rgb(235, 90, 90);
}
.blue-bot {
color: rgb(94, 158, 217);
}
@media screen{
.crt {
animation: scanlines infinite 55s linear ;
}
}
@keyframes scanlines {
from {
background-position: 0 0;
}
to {
background-position: 0 -10px;
}
2024-07-05 11:41:32 +02:00
}
@layer utilities {
.text-balance {
text-wrap: balance;
}
}