mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Init
This commit is contained in:
39
styles/globals.css
Normal file
39
styles/globals.css
Normal file
@ -0,0 +1,39 @@
|
||||
@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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user