mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
* add dark mode switch button * modify footer * fix nav menu opening issue * add paging number * remove post card a link focus shadow * add _document * remove archive card border on last child * add post image zoom margin on desktop * add post index image * remove TOC scroll bar on firefox
35 lines
550 B
CSS
35 lines
550 B
CSS
html,
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* 滚动槽 */
|
|
::-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 {
|
|
border-radius: 3px;
|
|
background: var(--chakra-colors-gray-400);
|
|
box-shadow: inset 0 0 10px rgba(185, 69, 69, 0.2);
|
|
}
|