body { scroll-behavior: smooth; } @-moz-document url-prefix() { body { text-align: justify; text-justify: inter-word; } } .ml-article ul, .ml-article ol { padding-inline-start: 3em; } .ml-pinyin { line-height: 2.2em; } .ml-ipa { font-family: CharisSILW, serif, serif; } .ruby-wrapper { margin: 0 .2em; } rt { font-size: 82.5%; line-height: 1.5; speak: none } body, button, input, select, textarea, .temp-lang, h1, h2, h3, h4, h5, h6 { letter-spacing: 0; &:lang(*-Hans) { font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Source Han Sans SC","Source Han Sans CN","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif; letter-spacing: 1px; } &:lang(cmn-Hans), &:lang(wuu-Hans), &:lang(czh-Hans), &:lang(hak-Hans), &:lang(yue-Hans), &:lang(nan-Hans), &:lang(cpx-Hans), &:lang(cdo-Hans), &:lang(mnp-Hans), &:lang(zco-Hans), &:lang(gan-Hans), &:lang(hsn-Hans), &:lang(cjy-Hans), &:lang(lzh-Hans) { font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Source Han Sans SC","Source Han Sans CN","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif; letter-spacing: 1px; } &:lang(*-Hant) { font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang TC","Hiragino Sans TC","Noto Sans CJK TC","Source Han Sans TC","Source Han Sans HK","Microsoft Jhenghei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif; letter-spacing: 1px; } &:lang(cmn-Hant), &:lang(wuu-Hant), &:lang(czh-Hant), &:lang(hak-Hant), &:lang(yue-Hant), &:lang(nan-Hant), &:lang(cpx-Hant), &:lang(cdo-Hant), &:lang(mnp-Hant), &:lang(zco-Hant), &:lang(gan-Hant), &:lang(hsn-Hant), &:lang(cjy-Hant), &:lang(lzh-Hant) { font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang TC","Hiragino Sans TC","Noto Sans CJK TC","Source Han Sans TC","Source Han Sans HK","Microsoft Jhenghei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif; letter-spacing: 1px; } &:lang(jp) { font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang JP","Hiragino Sans JP","Noto Sans CJK JP","Source Han Sans JP","Source Han Sans JP","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif; } } .ml-article { min-height: 30%; } .ml-title { margin-bottom: 8px; } @media print { .ml-article { font: 400 12pt / 1.7 'Noto Serif CJK SC', serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background: white; color: black; } .ml-header, .ml-footer, .ml-drawer { display: none; } } pre.highlight { margin: 0; padding: 1em; } blockquote { margin: 0; margin-left: 1em; padding-left: .75em; } pre, code, samp, kbd { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } kbd { padding: 1px 3px } p, table { margin: .75em 0; } .ml-article p { text-indent: 34px; } .footnote p, .ml-article ul p, .ml-article ol p { text-indent: 0; } summary { cursor: pointer } .highlight, .highlight .w { background: none } u { text-decoration: none } body, .ml-drawer-inside { &::-webkit-scrollbar { width: 5px; } &::-webkit-scrollbar-thumb { border-radius: 10px; } } .ml-front a { margin-left: .5em; } q { &:lang(cmn-Hans), &:lang(cmn-Hant), &:lang(wuu-Hans), &:lang(wuu-Hant), &:lang(czh-Hans), &:lang(czh-Hant), &:lang(hak-Hans), &:lang(hak-Hant), &:lang(yue-Hans), &:lang(yue-Hant), &:lang(nan-Hans), &:lang(nan-Hant), &:lang(cpx-Hans), &:lang(cpx-Hant), &:lang(cdo-Hans), &:lang(cdo-Hant), &:lang(mnp-Hans), &:lang(mnp-Hant), &:lang(zco-Hans), &:lang(zco-Hant), &:lang(gan-Hans), &:lang(gan-Hant), &:lang(hsn-Hans), &:lang(hsn-Hant), &:lang(cjy-Hans), &:lang(cjy-Hant), &:lang(lzh-Hans), &:lang(lzh-Hant) { quotes: '\300C' '\300D' '\300E' '\300F' } &:lang(*-Hans), &:lang(*-Hant) { quotes: '\300C' '\300D' '\300E' '\300F' } } math * { text-align: center } .ml-card-list ul { padding: 0; } a.ml-card-anchor, a.ml-block-anchor { border: none; display: block; } .ml-block-anchor { padding: 4px; } .ml-page-list { text-align: center; li { display: inline-block; list-style: none; } a, .ml-placeholder { display: block; width: 2.5em; line-height: 2em; border-bottom: none; } } ul.ml-page-list { padding: 0; } .ml-smaller.ml-front, h2, h3, h4 { line-height: 1.5rem; } h1.ml-title { font-size: 2em; // 二号 } .ml-article h2, .ml-article h1 { font-size: 1.5em; // 三号 margin-top: 1.5rem; } .ml-article h3 { font-size: 1.25em; // 四号 margin-top: 1.5rem; } .ml-article h4 { font-size: 1.125em; } h1, h2, h3, h4, h5, h6 { font-weight: 300; }