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 { &:lang(*-Hans) { font: 300 1em/1.8 -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; } &: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.8 -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; } &:lang(*-Hant) { font: 300 1em/1.8 -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; } &: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.8 -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; } &:lang(jp) { font: 300 1em/1.8 -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: .9em 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; }