更新主题 #21
|
@ -11,7 +11,9 @@ additional-css = [
|
||||||
"theme/css/mdui.css",
|
"theme/css/mdui.css",
|
||||||
"theme/css/highlight.min.css",
|
"theme/css/highlight.min.css",
|
||||||
"theme/css/page.css",
|
"theme/css/page.css",
|
||||||
|
"theme/css/font.css",
|
||||||
"theme/font/icons.woff2",
|
"theme/font/icons.woff2",
|
||||||
|
"theme/font/noto.otf",
|
||||||
]
|
]
|
||||||
additional-js = [
|
additional-js = [
|
||||||
"theme/js/mdui.global.js",
|
"theme/js/mdui.global.js",
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Noto Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("NotoSansCJK-Medium") url('../font/noto.otf') format('otf');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Code Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("SourceCodePro") url('../font/sourcecodepro.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Noto Sans', sans-serif !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: 'Source Code Pro', 'Courier New', monospace !important;
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
<!-- MDUI CSS&JS -->
|
<!-- MDUI CSS&JS -->
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
<meta name="renderer" content="webkit" />
|
<meta name="renderer" content="webkit" />
|
||||||
<link rel="stylesheet" href="{{ ../path_to_root }}theme/css/mdui.css">
|
<link rel="stylesheet" href="{{ ../path_to_root }}theme/css/mdui.css">
|
||||||
<script src="{{ ../path_to_root }}theme/js/mdui.global.js"></script>
|
<script src="{{ ../path_to_root }}theme/js/mdui.global.js"></script>
|
||||||
|
@ -27,17 +27,16 @@
|
||||||
|
|
||||||
<!-- 搜索引擎描述 -->
|
<!-- 搜索引擎描述 -->
|
||||||
<meta name="description" content="Study Area CN {{ description }}">
|
<meta name="description" content="Study Area CN {{ description }}">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
<meta name="keywords"
|
<meta name="keywords"
|
||||||
content="Study-area, study-area, study-area-cn Study Area CN, study area cn, 酷学园, 酷学园 CN , 酷!学园, netman, linux, mdbook, rockylinux">
|
content="Study-area, study-area, study-area-cn Study Area CN, study area cn, 酷学园, 酷学园 CN , 酷!学园, netman, linux, mdbook, rockylinux">
|
||||||
|
|
||||||
<!-- favicon -->
|
<!-- favicon -->
|
||||||
{{#if favicon_svg}}
|
{{#if favicon_svg}}
|
||||||
<link rel="icon" href="{{ path_to_root }}favicon.png">
|
<link rel="icon" href="{{ ../path_to_root }}favicon.png">
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if favicon_png}}
|
{{#if favicon_png}}
|
||||||
<link rel="shortcut icon" href="{{ path_to_root }}favicon.png">
|
<link rel="shortcut icon" href="{{ ../path_to_root }}favicon.png">
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if print_enable}}
|
{{#if print_enable}}
|
||||||
|
@ -48,14 +47,15 @@
|
||||||
<link rel="stylesheet" href="{{ ../path_to_root }}theme/css/highlight.min.css">
|
<link rel="stylesheet" href="{{ ../path_to_root }}theme/css/highlight.min.css">
|
||||||
<script src="{{ ../path_to_root }}theme/js/highlight.min.js"></script>
|
<script src="{{ ../path_to_root }}theme/js/highlight.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{#if mathjax_support}}
|
{{#if mathjax_support}}
|
||||||
<!-- MathJax -->
|
<!-- MathJax -->
|
||||||
<script async src="{{ ../path_to_root }}theme/js/mathjax.js"></script>
|
<script async src="{{ ../path_to_root }}theme/js/mathjax.js"></script>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ ../path_to_root }}theme/css/page.css">
|
<link rel="stylesheet" href="{{ ../path_to_root }}theme/css/page.css">
|
||||||
|
|
||||||
|
<!-- 自定义字体 -->
|
||||||
|
<link href="{{ ../path_to_root }}theme/css/font.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body style="margin:0;padding:0;">
|
<body style="margin:0;padding:0;">
|
||||||
|
|
Reference in New Issue