This repository has been archived on 2025-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
vitepress-theme-blog-charle…/docs/.vitepress/theme/styles/custom.css

72 lines
1.3 KiB
CSS

/* 灰度模式 */
/*html {
filter: grayscale(95%);
-webkit-filter: grayscale(95%);
-moz-filter: grayscale(95%);
-ms-filter: grayscale(95%);
-o-filter: grayscale(95%);
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=.95);
}*/
body {
font-size: 16px;
}
pre, code, kbd, samp {
font-family: var(--vp-font-family-mono);
}
.vp-doc h2 {
margin: 15px 0 0;
padding-top: 10px;
border-top: none;
}
.vp-doc h3,h4,h5 {
margin: 10px 0 0;
}
.vp-doc h4 {
font-size: 18px;
}
.VPDoc .content-container img {
border-radius: 5px;
}
/* slim scroll bar for windows based web browsers - works on firefox */
* {
scrollbar-color: var(--vp-c-gutter) var(--vp-button-alt-bg);
scrollbar-width: thin;
}
/* slim scroll bar for windows based web browsers - works on chrome, edge, and safari */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
/* scrolling handle */
::-webkit-scrollbar-thumb {
background: var(--vp-c-gutter);
}
/* handle on hover */
::-webkit-scrollbar-thumb:hover {
background: var(--vp-button-alt-hover-bg);
}
/* scrolling track/backgronund color */
::-webkit-scrollbar-track {
background: var(--vp-button-alt-bg);
}
/* mathjax3.css */
mjx-container {
display: inline-block;
margin: auto 2px -2px;
}
mjx-container > svg {
margin: auto;
}