douyin-archive/app/globals.css
2026-04-28 17:11:42 +08:00

59 lines
1.2 KiB
CSS

@import "tailwindcss";
:root {
--background: #161823; /* theme background */
--foreground: #ededed;
--font-geist-sans:
-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
--font-geist-mono:
"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #161823;
--foreground: #ededed;
}
}
body {
margin: 0;
background: var(--background);
color: var(--foreground);
font-family: var(--font-geist-sans);
}
/* 滚动条隐藏 */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* 搜索结果高亮标记样式 */
mark {
background-color: rgb(234 179 8 / 0.3); /* yellow-500/30 */
color: rgb(253 224 71); /* yellow-300 */
padding: 0.125rem 0.25rem;
border-radius: 0.25rem;
font-weight: 500;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.h-screen {
height: 100dvh;
}
.min-h-screen {
min-height: 100dvh;
}