sunnymh-manga-site/app/globals.css
2026-03-25 22:20:37 +08:00

72 lines
1.5 KiB
CSS

@import "tailwindcss";
:root {
--background: #0f0f14;
--foreground: #e8e6e3;
--surface: #1a1a24;
--surface-hover: #242433;
--border: #2a2a3c;
--accent: #7c5cfc;
--accent-hover: #9478ff;
--muted: #8b8b9e;
--card: #16161f;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-surface: var(--surface);
--color-surface-hover: var(--surface-hover);
--color-border: var(--border);
--color-accent: var(--accent);
--color-accent-hover: var(--accent-hover);
--color-muted: var(--muted);
--color-card: var(--card);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
* {
-webkit-tap-highlight-color: transparent;
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans), system-ui, sans-serif;
overflow-x: hidden;
}
/* Custom scrollbar for webkit */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: var(--background);
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 3px;
}
/* Smooth scroll for the whole page */
html {
scroll-behavior: smooth;
}
/* Hide scrollbar for horizontal carousels */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Safe area insets for mobile notches */
@supports (padding: env(safe-area-inset-bottom)) {
.pb-safe {
padding-bottom: env(safe-area-inset-bottom);
}
}