Spaces:
Paused
Paused
File size: 2,759 Bytes
a758b14 902a16c a758b14 504c45c a758b14 504c45c a758b14 504c45c a758b14 504c45c a758b14 504c45c 01b1e15 b31cb3a 902a16c a758b14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | @import "tailwindcss";
:root {
--background: #f8fafc;
--foreground: #0f172a;
--card: #ffffff;
--card-foreground: #0f172a;
--border: #e2e8f0;
--input: #f1f5f9;
}
:root[class~="dark"] {
--background: #09090b;
--foreground: #f8fafc;
--card: #1c1c21;
--card-foreground: #f8fafc;
--border: rgba(255, 255, 255, 0.1);
--input: #27272a;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-border: var(--border);
--color-input: var(--input);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
position: relative;
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans), Arial, Helvetica, sans-serif;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* Global sleek tiny subtle grey scrollbar */
*::-webkit-scrollbar {
width: 4px;
height: 4px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: rgba(130, 130, 145, 0.25);
border-radius: 9999px;
transition: background 0.2s ease;
}
*::-webkit-scrollbar-thumb:hover {
background: rgba(130, 130, 145, 0.5);
}
* {
scrollbar-width: thin;
scrollbar-color: rgba(130, 130, 145, 0.25) transparent;
}
.custom-scrollbar::-webkit-scrollbar {
width: 4px;
height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(130, 130, 145, 0.25);
border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(130, 130, 145, 0.5);
}
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: rgba(130, 130, 145, 0.25) transparent;
}
/* Hide scrollbar for clean horizontal tab swipe */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Breaking news marquee ticker animation */
@keyframes marquee {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
.animate-marquee {
display: inline-flex;
white-space: nowrap;
animation: marquee 32s linear infinite;
will-change: transform;
}
.animate-marquee:hover {
animation-play-state: paused;
}
.mask-linear-fade {
mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
-webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}
|