Spaces:
Running
on
T4
Running
on
T4
File size: 6,330 Bytes
2f08c82 |
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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 240 20% 99%; /* 1 */
--foreground: 210 13% 13%; /* 12 */
--card: 240 20% 99%; /* 1 */
--card-foreground: 210 13% 13%; /* 12 */
--popover: 240 20% 99%; /* 1 */
--popover-foreground: 210 13% 13%; /* 12 */
--primary: 210 13% 13%; /* 12 */
--primary-foreground: 240 20% 98%; /* 2 */
--secondary: 240 11% 95%; /* 3 */
--secondary-foreground: 210 13% 13%; /* 12 */
--muted: 240 11% 95%; /* 3 */
--muted-foreground: 220 6% 40%; /* 11 */
--accent: 240 11% 95%; /* 3 */
--accent-foreground: 210 13% 13%; /* 12 */
--destructive: 358 75% 59%; /* 9 - red */
--destructive-foreground: 240 20% 98%; /* 2 */
--border: 240 10% 86%; /* 6 */
--input: 240 10% 86%; /* 6 */
--ring: 210 13% 13%; /* 12 */
--chart-1: 10 78% 54%; /* 9 - tomato */
--chart-2: 173 80% 36%; /* 9 - teal */
--chart-3: 206 100% 50%; /* 9 - blue */
--chart-4: 42 100% 62%; /* 9 - amber */
--chart-5: 23 93% 53%; /* 9 - orange */
}
.dark {
--background: 240 6% 7%; /* 1 */
--foreground: 220 9% 94%; /* 12 */
--card: 240 6% 7%; /* 1 */
--card-foreground: 220 9% 94%; /* 12 */
--popover: 240 6% 7%; /* 1 */
--popover-foreground: 220 9% 94%; /* 12 */
--primary: 220 9% 94%; /* 12 */
--primary-foreground: 220 6% 10%; /* 2 */
--secondary: 225 6% 14%; /* 3 */
--secondary-foreground: 220 9% 94%; /* 12 */
--muted: 225 6% 14%; /* 3 */
--muted-foreground: 216 7% 71%; /* 11 */
--accent: 225 6% 14%; /* 3 */
--accent-foreground: 220 9% 94%; /* 12 */
--destructive: 358 75% 59%; /* 9 - red */
--destructive-foreground: 220 9% 94%; /* 12 */
--border: 213 8% 23%; /* 6 */
--input: 213 8% 23%; /* 6 */
--ring: 220 9% 94%; /* 12 */
--chart-1: 10 78% 54%; /* 9 - tomato */
--chart-2: 173 80% 36%; /* 9 - teal */
--chart-3: 206 100% 50%; /* 9 - blue */
--chart-4: 42 100% 62%; /* 9 - amber */
--chart-5: 23 93% 53%; /* 9 - orange */
}
}
@layer base {
:root:has(.no-bg-scroll) {
overflow: hidden;
}
* {
@apply border-border;
}
body {
@apply bg-background text-foreground antialiased min-h-screen;
font-feature-settings: "rlig" 1, "calt" 1;
}
}
@layer utilities {
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-webkit-overflow-scrolling: touch;
-ms-overflow-style: none;
/* IE and Edge */
scrollbar-width: none;
/* Firefox */
}
}
@keyframes slideInFromTop {
from {
transform: translateY(-100%);
}
to {
transform: translateY(0);
}
}
@keyframes slideInFromBottom {
from {
transform: translateY(100%);
}
to {
transform: translateY(0);
}
}
.toast {
animation-duration: 0.2s;
animation-fill-mode: forwards;
}
@media (max-width: 640px) {
.toast {
animation-name: slideInFromTop;
}
}
@media (min-width: 641px) {
.toast {
animation-name: slideInFromBottom;
}
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slide-up {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.animate-fade-in {
animation: fade-in 1s ease-out forwards;
}
.animate-slide-up {
animation: slide-up 1s ease-out forwards;
}
.sim-map-button.active {
background-color: #61D790;
color: #2E2F27;
&:hover {
background-color: #61D790;
}
}
.text-highlight strong {
color: black;
.dark & {
color: white;
}
}
.tokens-button {
background-color: #B7E2F1;
color: #2E2F27;
}
.overlay-image {
opacity: 0.5;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
}
header {
grid-column: 1/-1;
}
body {
&[data-is-home="true"] {
background: radial-gradient(circle at 50% 100%, #fcfcfd, #fcfcfd, #fdfdfe, #fdfdfe, #fefefe, #fefefe, #ffffff, #ffffff);
.dark & {
background: radial-gradient(circle at 50% 50%, #272a2d, #242629, #212326, #1e1f22, #1b1c1e, #18181b, #151517, #111113);
}
}
}
main {
overflow: auto;
}
aside {
overflow: auto;
}
.scroll-container {
padding-right: 10px;
}
.question-message {
background-color: #61D790;
color: #2E2F27;
}
.grid-image-text-columns {
@apply md:grid-cols-2 md:col-span-2
}
.grid-image-column {
@apply grid grid-rows-subgrid row-span-2 content-start;
}
.md-grid-text-column {
@apply md:grid md:grid-rows-subgrid md:row-span-2 md:content-start;
}
#search-input[aria-expanded="true"] {
border-top: 1px solid hsl(var(--input));
border-left: 1px solid hsl(var(--input));
border-right: 1px solid hsl(var(--input));
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.awesomplete {
width: 100%;
}
.awesomplete > ul {
@apply text-sm space-y-1;
margin: 0;
border-top: none;
border-left: 1px solid hsl(var(--input));
border-right: 1px solid hsl(var(--input));
border-bottom: 1px solid hsl(var(--input));
border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
background: white;
.dark & {
background: hsl(var(--background));
}
box-shadow: none;
text-shadow: none;
}
.awesomplete > ul:before {
display: none;
}
.awesomplete > ul > li:hover {
background-color: #B7E2F1;
color: #2E2F27;
}
.awesomplete > ul > li[aria-selected="true"] {
background-color: #B7E2F1;
color: #2E2F27;
}
.awesomplete mark {
background-color: #61D790;
color: #2E2F27;
}
.awesomplete li:hover mark {
background-color: #61D790;
color: #2E2F27;
}
.awesomplete li[aria-selected="true"] mark {
background-color: #61D790;
color: #2E2F27;
}
|