File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33< html >
44 < markdown-html
5- version ="1.19.1 "
5+ version ="1.20.0 "
66 author ="PJ568 "
77 repo ="https://github.com/PJ-568/markdown.html "
88 license ="CC BY-SA 4.0 International "
2525 < script
2626 defer
2727 src ="https://lib.baomitu.com/marked/4.0.2/marked.min.js "
28- type ="text /javascript "
28+ type ="application /javascript "
2929 > </ script >
3030 < script
3131 src ="https://lib.baomitu.com/pjax/0.2.8/pjax.min.js "
32- type ="text /javascript "
32+ type ="application /javascript "
3333 > </ script >
3434 < script
3535 src ="https://lib.baomitu.com/translate.js/3.17.0/translate.js "
36- type ="text /javascript "
36+ type ="application /javascript "
3737 > </ script >
3838 < script
3939 src ="https://lib.baomitu.com/Darkmode.js/1.5.7/darkmode-js.min.js "
758758 initPJAX ( ) ; //// 初始化 PJAX
759759 initCustomPJAXResponse ( ) ; //// 初始化自定义 PJAX 响应
760760 initCustomPJAXEventListener ( ) ; //// 初始化自定义 PJAX 事件监听器
761- loadCSS (
762- "https://chinese-fonts-cdn.deno.dev/packages/maple-mono-cn/dist/MapleMono-CN-Regular/result.css"
763- ) ; //// 加载字体 CSS
761+ // loadCSS(
762+ // "https://chinese-fonts-cdn.deno.dev/packages/maple-mono-cn/dist/MapleMono-CN-Regular/result.css"
763+ // ); //// 加载字体 CSS,会造成渲染阻塞,暂时禁用
764764 endLoad ( ) ; //// 结束加载动画
765765 }
766766
11641164
11651165 /* 小屏响应式优化 */
11661166 @media only screen and (max-width : 950px ) {
1167+ : root ,
1168+ html ,
1169+ body {
1170+ background-color : # 616161 ;
1171+ }
1172+
1173+ : root ,
11671174 html ,
11681175 body ,
11691176 .markdown-body {
11701177 height : 100% ;
11711178 }
11721179
1180+ nav {
1181+ position : relative;
1182+ margin-left : auto;
1183+ }
1184+
11731185 .markdown-body {
11741186 overflow-y : scroll;
11751187 min-width : 256px ;
You can’t perform that action at this time.
0 commit comments