/* v0.10.109：MkDocs Material 主题自定义
 * 1. 全宽（去掉默认 max-width 1220px）
 * 2. 表格 100% 宽
 * 3. 代码块圆角 + 边框
 */

/* 1. 主内容区全宽 */
.md-grid {
  max-width: none;
}

/* sidebar + nav 区固定宽，内容区填满剩余 */
.md-main__inner {
  margin: 1rem 1.5rem;
}

.md-content {
  max-width: 100%;
}

/* 2. 表格全宽（material 默认是 auto，宽屏看着窄）*/
.md-typeset table:not([class]) {
  width: 100%;
  display: table;
}

/* 3. 代码块更明显的视觉边界 */
.md-typeset pre > code,
.md-typeset .highlight {
  border-radius: 6px;
  border: 1px solid var(--md-default-fg-color--lightest);
}

/* 4. 内联 wikilink 高亮（roamlinks plugin 渲染后还是 a 标签）*/
.md-typeset a[href$=".md"] {
  border-bottom: 1px dashed var(--md-primary-fg-color);
}

/* 5. frontmatter description 在页面顶部更显眼（如果显示）*/
.md-typeset > blockquote:first-of-type {
  border-left: 4px solid var(--md-primary-fg-color);
  background: var(--md-primary-bg-color--light, #e3f2fd);
  padding: 0.8em 1em;
  border-radius: 4px;
}
