Riguz留言 | 贡献
无编辑摘要
Riguz留言 | 贡献
无编辑摘要
第1行: 第1行:
/* MediaWiki:Common.css */
/* 西文:Computer Modern 风格 → Cambria → Georgia → Times */
/* 中文:思源宋体(Source Han Serif)→ 系统宋体兜底 */
html, body {
html, body {
font-family: "Inter", "Merriweather", "Georgia", "Cambria", "Times New Roman", "Times", "Hiragino Sans GB", "Noto Sans SC", PMingLiU, "Souce Han Sans", "Source Han Serif", "Microsoft Yahei", "Microsoft YaHei", serif;
    font-family: "Cambria", "Cambria Math", "Georgia", "Times New Roman",  
}
                "Source Han Serif CN", "Noto Serif CJK SC", "SimSun",  
 
                "PMingLiU", "MingLiU_HKSCS", "STSong", serif;
.fixed-600 img {
    font-size: 17px;           /* 略大一点,宋体小了费眼 */
    width: 600px;
     line-height: 1.75;         /* 复古排版行距要大 */
     height: auto;
     letter-spacing: 0.01em;   /* 极细微的字间距调整 */
}
 
.fixed-400 img {
    width: 400px;
     height: auto;
}
}


.fixed-200 img {
/* 标题用稍粗的衬线,更有分量感 */
     width: 200px;
h1, h2, h3, h4, h5, h6 {
     height: auto;
    font-family: "Cambria", "Georgia", "Times New Roman",
                "Source Han Serif CN", "Noto Serif CJK SC",
                "SimSun", serif;
     font-weight: 600;
     line-height: 1.3;
}
}


q {
/* 代码块保持等宽,形成衬线/等宽的古典技术文档对比 */
display: block;
code, pre, .mw-code, .mw-highlight pre {
padding: 20px;
    font-family: "JetBrains Mono", "Fira Code", "Consolas",  
color: grey;
                "Monaco", "Menlo", "Liberation Mono", monospace;
font-size: large;
    font-size: 0.9em;
font-family: Georgia, "Times New Roman", STKaiti, KaiTi, "Microsoft YaHei", "微软雅黑", STXihei, "华文细黑", serif;
}
}


.MathJax {
/* 侧边栏、导航等 UI 元素用无衬线,区分内容区 */
padding-left: 5px;
#mw-panel, #p-personal, #left-navigation, #right-navigation,
    padding-right: 5px;
.vector-menu, .mw-ui-button, .mw-ui-input {
    border-bottom: 1px dashed #ff00003b;
     font-family: "Inter", "Segoe UI", "Noto Sans SC",  
    color: #9c27b0;
                "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
 
pre, code, tt, kbd, samp, .mw-code, .mw-editfont-monospace {
     font-family: 'Cascadia Code', Consolas, 'Courier New', monospace;
     font-size: 14px;
     font-size: 14px;
}
}


.label {
/* 引用块:更复古的视觉 */
    padding-left: .625rem;
blockquote {
    padding-right: .625rem;
     font-family: "Georgia", "Cambria", "Source Han Serif CN", serif;
    padding-bottom: .125rem;
     font-style: italic;
    padding-top: .125rem;
     border-left: 3px solid #8b7355; /* 铜褐色,有年代感 */
    border-radius: .25rem;
     background: #faf8f3;
     font-size: 12px;
     padding: 0.5em 1em;
}
     margin: 1em 0;
 
.label-default {
    background-color: rgb(225, 239, 254);
    color: rgb(30, 66, 159);
}
 
.label-dark {
     background-color: rgb(243, 244, 246);
     color: rgb(31, 41, 55);
}
 
.label-red {
    background-color: rgb(253, 232, 232);
    color: rgb(155, 28, 28);
}
 
.label-green {
     background-color: rgb(222, 247, 236);
     color: rgb(3, 84, 63);
}
 
.label-yellow {
    background-color: rgb(253, 246, 178);
     color: rgb(114, 59, 19);
}
 
.label-indigo {
    background-color: rgb(229, 237, 255);
    color: rgb(66, 56, 157);
}
 
.label-purple {
    background-color: rgb(237, 235, 254);
    color: rgb(85, 33, 181);
}
}


.label-pink {
/* 数学公式周围的文字字号微调,让公式和正文更协调 */
     background-color: rgb(252, 232, 243);
.mwe-math-element {
    color: rgb(153, 21, 75);
     font-size: 1.05em;
}
}

2026年7月23日 (四) 13:39的版本

/* MediaWiki:Common.css */

/* 西文:Computer Modern 风格 → Cambria → Georgia → Times */
/* 中文:思源宋体(Source Han Serif)→ 系统宋体兜底 */
html, body {
    font-family: "Cambria", "Cambria Math", "Georgia", "Times New Roman", 
                 "Source Han Serif CN", "Noto Serif CJK SC", "SimSun", 
                 "PMingLiU", "MingLiU_HKSCS", "STSong", serif;
    font-size: 17px;           /* 略大一点,宋体小了费眼 */
    line-height: 1.75;         /* 复古排版行距要大 */
    letter-spacing: 0.01em;    /* 极细微的字间距调整 */
}

/* 标题用稍粗的衬线,更有分量感 */
h1, h2, h3, h4, h5, h6 {
    font-family: "Cambria", "Georgia", "Times New Roman", 
                 "Source Han Serif CN", "Noto Serif CJK SC", 
                 "SimSun", serif;
    font-weight: 600;
    line-height: 1.3;
}

/* 代码块保持等宽,形成衬线/等宽的古典技术文档对比 */
code, pre, .mw-code, .mw-highlight pre {
    font-family: "JetBrains Mono", "Fira Code", "Consolas", 
                 "Monaco", "Menlo", "Liberation Mono", monospace;
    font-size: 0.9em;
}

/* 侧边栏、导航等 UI 元素用无衬线,区分内容区 */
#mw-panel, #p-personal, #left-navigation, #right-navigation,
.vector-menu, .mw-ui-button, .mw-ui-input {
    font-family: "Inter", "Segoe UI", "Noto Sans SC", 
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
}

/* 引用块:更复古的视觉 */
blockquote {
    font-family: "Georgia", "Cambria", "Source Han Serif CN", serif;
    font-style: italic;
    border-left: 3px solid #8b7355;  /* 铜褐色,有年代感 */
    background: #faf8f3;
    padding: 0.5em 1em;
    margin: 1em 0;
}

/* 数学公式周围的文字字号微调,让公式和正文更协调 */
.mwe-math-element {
    font-size: 1.05em;
}