
body  {
  cursor: url('https://files.cnblogs.com/files/blogs/817335/normal.ico?t=1729222877&download=true'),auto;
} 
#loading{background:#000;background:radial-gradient(#222,#000);bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;z-index:99999}.loader-inner{bottom:0;height:60px;left:0;margin:auto;position:absolute;right:0;top:0;width:100px}.loader-line-wrap{animation:spin 2s cubic-bezier(0.175,0.885,0.32,1.275) infinite;box-sizing:border-box;height:50px;left:0;overflow:hidden;position:absolute;top:0;transform-origin:50% 100%;width:100px}.loader-line{border:4px solid transparent;border-radius:100%;box-sizing:border-box;height:100px;left:0;margin:0 auto;position:absolute;right:0;top:0;width:100px}.loader-line-wrap:nth-child(1){animation-delay:-50ms}.loader-line-wrap:nth-child(2){animation-delay:-0.1s}.loader-line-wrap:nth-child(3){animation-delay:-150ms}.loader-line-wrap:nth-child(4){animation-delay:-0.2s}.loader-line-wrap:nth-child(5){animation-delay:-250ms}.loader-line-wrap:nth-child(1) .loader-line{border-color:#ea4747;height:90px;width:90px;top:7px}.loader-line-wrap:nth-child(2) .loader-line{border-color:#eaea47;height:76px;width:76px;top:14px}.loader-line-wrap:nth-child(3) .loader-line{border-color:#47ea47;height:62px;width:62px;top:21px}.loader-line-wrap:nth-child(4) .loader-line{border-color:#47eaea;height:48px;width:48px;top:28px}.loader-line-wrap:nth-child(5) .loader-line{border-color:#4747ea;height:34px;width:34px;top:35px}@keyframes spin{0%,15%{transform:rotate(0)}100%{transform:rotate(360deg)}}



// 文章统计优化
.message-bottom {
    margin-top: 10px;
}

.message-bottom span {
   margin-right: 10px;
}

@font-face {
  font-family: "Fira Code";
  src: url("https://assets.cnblogs.com/fonts/Consolas.woff") format("woff");
  font-style: normal;
}
html {
  --code-font: "Fira Code", "Courier New", sans-serif, Fira Code, Monaco;
}
pre,
.hljs,
pre[class*="language-"] code[class*="language-"],
pre[class*="language-"] code,
pre[class*="language-"] code[class*="language-"],
.prismjs-engine code[class*="language-"],
.prismjs-engine pre[class*="language-"],
.prismjs-engine pre[class*="language-"] code[class*="language-"],
pre code,
pre code.hljs {
  font-family: "Fira Code", "Courier New", sans-serif, Fira Code, Monaco;
  font-family: "Fira Code", "Courier New", sans-serif, Fira Code, Monaco;
  font-family: var(--code-font, '"Courier New", sans-serif, Consolas, Monaco');
}

/* ========== 字体大小统一控制（仅通过 --base-font-size 调整） ========== */
:root {
  --base-font-size: 16px; /* ←←← 只需修改这一行即可控制整体字号大小 */
}

/* 正文 */
.post .post-body,
.entry-content,
#cnblogs_post_body,
.article-content,
.post-content {
  font-size: var(--base-font-size) !important;
  line-height: 1.7 !important;
}

/* 标题：全部基于 --base-font-size 的倍数 */
h1,
.post .post-title,
.entry-title,
.article-title {
  font-size: calc(var(--base-font-size) * 1.9) !important; /* ≈ 35px (当 base=18) */
}

h2 {
  font-size: calc(var(--base-font-size) * 1.6) !important; /* ≈ 29px */
}

h3 {
  font-size: calc(var(--base-font-size) * 1.45) !important; /* ≈ 26px */
}

h4 {
  font-size: calc(var(--base-font-size) * 1.22) !important; /* ≈ 22px */
}

h5 {
  font-size: calc(var(--base-font-size) * 1.17) !important; /* ≈ 21px */
}

h6 {
  font-size: calc(var(--base-font-size) * 1.06) !important; /* ≈ 19px */
}

/* 代码块：保持略小于正文，或与正文一致 */
.post .post-body pre,
.post .post-body code,
.hljs,
pre code {
  font-size: calc(var(--base-font-size) * 0.83) !important; /* ≈ 15px (当 base=18) */
}

/* ========== 博客园 highlight.js 专用 · Sublime Mariana 主题 ========== */
pre > code.hljs,
code.hljs {
  display: block;
  background: #0c1021;
  color: #d8dee9;
  padding: 16px;
  font-family: "Fira Code", "Source Code Pro", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0; /* Mariana 原生无圆角，更硬朗 */
  overflow-x: auto;
  white-space: pre;
  tab-size: 4;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  -webkit-tab-size: 4;
}

/* 行内 code（非高亮块） */
code:not([class*="hljs"]) {
  background: rgba(12, 16, 33, 0.6);
  color: #d8dee9;
  padding: 2px 4px;
  border-radius: 2px;
  font-family: Fira Code, monospace;
}

/* ---------- Mariana 配色映射（highlight.js 类名） ---------- */

/* 注释 */
.hljs-comment,
.hljs-quote {
  color: #707880;
  font-style: italic;
}

/* 关键字：if, return, void（类型关键字也归为此类） */
.hljs-keyword,
.hljs-type {
  color: #b294bb; /* 紫色 —— void / int / if / return */
  font-weight: normal;
}

/* 函数定义：void merge(...) 中的 `merge` */
.hljs-function .hljs-title {
  color: #81a2be; /* 柔和蓝 */
}

/* 参数列表：(int x, int y) 中的 `x`, `y` */
.hljs-params {
  color: #d8dee9;
}

/* 内置函数/宏：find, swap, printf 等 */
.hljs-built_in,
.hljs-builtin-name {
  color: #f0c674; /* 柔和黄 —— 突出但不刺眼 */
}

/* 字符串 */
.hljs-string,
.hljs-symbol {
  color: #b5bd68;
}

/* 数字、布尔、常量 */
.hljs-number,
.hljs-boolean,
.hljs-literal {
  color: #de935f; /* 橙 */
}

/* 运算符、标点：= , < ( ) { } */
.hljs-operator,
.hljs-punctuation {
  color: #c5c8c6; /* 浅灰白 */
}

/* 变量名（普通标识符） */
.hljs-variable,
.hljs-attr,
.hljs-property {
  color: #d8dee9;
}

/* 预处理器/宏（如 #include） */
.hljs-meta,
.hljs-meta-string {
  color: #b294bb;
}

/* 选中文本 */
.hljs ::selection,
.hljs::-moz-selection {
  background: rgba(94, 129, 172, 0.3); /* 柔和蓝灰 */
}