97 lines
1.9 KiB
CSS
97 lines
1.9 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
color-scheme: light;
|
|
}
|
|
|
|
.dark {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
* {
|
|
border-color: rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
html {
|
|
min-width: 320px;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
background: #eef5fb;
|
|
color: #102238;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.dark body {
|
|
background: #07111f;
|
|
color: #edf7ff;
|
|
}
|
|
|
|
button,
|
|
a,
|
|
input,
|
|
select {
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
@layer utilities {
|
|
.glass {
|
|
@apply border border-white/35 bg-white/45 shadow-glass backdrop-blur-2xl dark:border-white/10 dark:bg-slate-950/30;
|
|
}
|
|
|
|
.glass-subtle {
|
|
@apply border border-white/25 bg-white/25 backdrop-blur-xl dark:border-white/10 dark:bg-slate-950/20;
|
|
}
|
|
|
|
.text-balance {
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.weather-scrollbar {
|
|
scrollbar-gutter: stable;
|
|
}
|
|
}
|
|
|
|
@supports (-moz-appearance: none) {
|
|
.weather-scrollbar {
|
|
scrollbar-color: rgba(8, 145, 178, 0.72) rgba(14, 116, 144, 0.1);
|
|
scrollbar-width: thin;
|
|
}
|
|
}
|
|
|
|
.weather-scrollbar::-webkit-scrollbar {
|
|
height: 0.65rem;
|
|
}
|
|
|
|
.weather-scrollbar::-webkit-scrollbar-track {
|
|
border-radius: 9999px;
|
|
background: rgba(14, 116, 144, 0.1);
|
|
}
|
|
|
|
.weather-scrollbar::-webkit-scrollbar-thumb {
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 9999px;
|
|
background: linear-gradient(90deg, rgba(8, 145, 178, 0.78), rgba(14, 116, 144, 0.88));
|
|
background-clip: padding-box;
|
|
box-shadow: 0 1px 5px rgba(8, 47, 73, 0.25);
|
|
}
|
|
|
|
.weather-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
background: linear-gradient(90deg, rgba(6, 182, 212, 0.9), rgba(3, 105, 161, 0.95));
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
.dark .weather-scrollbar::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.dark .weather-scrollbar::-webkit-scrollbar-thumb {
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
background: linear-gradient(90deg, rgba(34, 211, 238, 0.72), rgba(56, 189, 248, 0.82));
|
|
background-clip: padding-box;
|
|
}
|