douyin-archive/app/globals.css

48 lines
966 B
CSS

@import "tailwindcss";
:root {
--background: #161823; /* theme background */
--foreground: #ededed;
}
@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: Arial, Helvetica, sans-serif;
}
/* 滚动条隐藏 */
.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;
}