mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-12 05:51:44 +08:00
5f994589b3
Converts markdown to styled HTML with inline CSS, code highlighting, math, PlantUML, footnotes, alerts, and WeChat-compatible themes.
35 lines
718 B
CSS
35 lines
718 B
CSS
/**
|
|
* MD 基础主题样式
|
|
* 包含所有元素的基础样式和 CSS 变量定义
|
|
*/
|
|
|
|
/* ==================== 容器样式 ==================== */
|
|
section,
|
|
container {
|
|
font-family: var(--md-font-family);
|
|
font-size: var(--md-font-size);
|
|
line-height: 1.75;
|
|
text-align: left;
|
|
}
|
|
|
|
/* 确保 #output 容器应用基础样式 */
|
|
#output {
|
|
font-family: var(--md-font-family);
|
|
font-size: var(--md-font-size);
|
|
line-height: 1.75;
|
|
text-align: left;
|
|
}
|
|
|
|
/* ==================== Global resets ==================== */
|
|
blockquote {
|
|
margin-top: 0;
|
|
margin-right: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
/* 去除第一个元素的 margin-top */
|
|
#output section > :first-child {
|
|
margin-top: 0 !important;
|
|
}
|