mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
40 lines
842 B
CSS
40 lines
842 B
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
* {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
@layer base {
|
|
body {
|
|
@apply bg-bluish-gray dark:bg-rua-gray-900 dark:text-gray-200;
|
|
font-family: "-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC',miui,'Hiragino Sans GB','Microsoft Yahei',sans-serif",
|
|
sans-serif;
|
|
}
|
|
|
|
img,
|
|
iframe {
|
|
@apply dark:brightness-75;
|
|
}
|
|
|
|
/* 滚动槽 */
|
|
::-webkit-scrollbar {
|
|
width: 7px;
|
|
height: 7px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
|
|
}
|
|
::-webkit-scrollbar-track-piece {
|
|
background: 0 0;
|
|
}
|
|
/* 滚动条滑块 */
|
|
::-webkit-scrollbar-thumb {
|
|
@apply bg-gray-400;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 0 10px rgba(185, 69, 69, 0.2);
|
|
}
|
|
}
|