neroshitron/app/globals.css

65 lines
1.1 KiB
CSS
Raw Permalink Normal View History

2024-05-24 17:57:03 -04:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-05-26 02:14:59 -04:00
2024-05-27 20:10:03 -04:00
@keyframes expandFromLeft {
0% {
width: 0;
}
100% {
width: 100%;
}
}
2024-05-26 02:14:59 -04:00
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
@keyframes fadeOut {
from { opacity: 1; }
to { opacity: 0; }
}
.fade-out {
animation: fadeOut 0.5s forwards;
}
2024-05-24 17:57:03 -04:00
@layer base {
:root {
--background: 200 20% 98%;
--btn-background: 200 10% 91%;
--btn-background-hover: 200 10% 89%;
--foreground: 200 50% 3%;
}
@media (prefers-color-scheme: dark) {
:root {
--background: 200 50% 3%;
--btn-background: 200 10% 9%;
--btn-background-hover: 200 10% 12%;
--foreground: 200 20% 96%;
}
}
}
.animate-in {
animation: animateIn 0.3s ease 0.15s both;
}
@keyframes animateIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}