/* docs/stylesheets/extra.css */
@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap");

:root {
  --md-default-fg-color:         #000000;    /* 默认字体颜色 */
  --md-primary-fg-color:         #18215C;      /* 顶部栏背景色 */ 
  --md-default-bg-color:         #FAFAFF;
  --md-accent-fg-color:          #965599;
  --md-accent-bg-color:          #965599;
  --md-accent-bg-color:          #000000;
  --md-code-bg-color:            #f5f5f5;
  --md-code-fg-color:            #1f2937;
  --md-text-font: "Google Sans Code", "Noto Serif SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --md-code-font: "Google Sans Code", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

.md-typeset {
  font-size: .7rem;
  font-weight: 500;  /* 常用：400/500 */
}

/* 当前激活页面 */
.md-nav__link--active {
  font-weight: 600;
}
/* 栏目标题 */
.md-nav__title {
  font-weight: 600;
}

/* 普通目录 */
.md-sidebar--secondary .md-nav__link {
  font-weight: 600;
}

/* 当前阅读位置 */
.md-sidebar--secondary .md-nav__link--active {
  font-weight: 600;
}



/* 大标题文字颜色 */
.md-typeset h1 {
  color: black;
  font-weight: 800;

}

/* 表格样式 */

/* 表格整体 */
.md-typeset table {
  border-collapse: collapse;
  width: 100%;
}

/* 表头 */
.md-typeset thead th {
  background-color: #965599;   /* 表头背景色 */
  color: #ffffff;              /* 表头文字颜色 */
  border: 1px solid #965599;   /* 表头边框 */
  text-align: center;
  font-weight: 600;
}

/* 表体单元格 */
.md-typeset tbody td {
  border: 1px solid #d1d5db;   /* 横竖边框线 */
  text-align: center;
}

/* 可选：行悬停效果（不影响边框） */
.md-typeset tbody tr:hover {
  background-color: #c2cbd3;
}


/* 页脚整体 */
.md-footer {
  background-color: #18215C;   /* 白色背景 */
  color: white;              /* 文字颜色 */
}

/* 搜索框下方颜色 */
.md-search-result__meta {
  background-color: #18215C;
  color: white;
}



/* 社交图标动效 */
.md-social__link svg {
  transition: transform 0.2s ease;
}

.md-social__link:hover svg {
  transform: scale(1.15);
}





/* 代码块圆角 */
.md-typeset pre {
  border-radius: 8px;
}


.md-tabs__link {
  font-weight: 600;   /* 常用：400/500/600 */
}
