소스 검색

优化显示

bhikkhu-kosalla-china 3 년 전
부모
커밋
54b0e4d647
4개의 변경된 파일11개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      book.toml
  2. 0 0
      src/chanting/material/ye-ca-buddha.md
  3. 9 2
      theme/css/variables.css
  4. 1 0
      theme/index.hbs

+ 1 - 1
book.toml

@@ -12,7 +12,7 @@ git-repository-icon = "fa-git"
 additional-js = ["theme/myjs/mermaid.min.js", "theme/myjs/mermaid-init.js","theme/myjs/jquery-1.12.3.min.js","theme/myjs/lrc.js","theme/myjs/nosleep.js","theme/myjs/social-share.min.js","theme/myplugin/layer/layer.js","theme/myplugin/pagetoc/sidebar.js"]
 mathjax-support = true
 additional-css = ["theme/fonts/tai-tham-kh-new-v3.ttf","theme/mycss/font.css","theme/mycss/lrc.css","theme/mycss/share.min.css","theme/fonts/iconfont.ttf","theme/fonts/iconfont.woff","theme/myplugin/layer/theme/default/layer.css","theme/myplugin/layer/theme/default/icon.png","theme/myplugin/pagetoc/style.css"] 
-
+default-theme = "all"
 [output.html.fold]
 enable = true
 level = 0 

+ 0 - 0
src/chanting/ye-ca-buddha.md → src/chanting/material/ye-ca-buddha.md


+ 9 - 2
theme/css/variables.css

@@ -51,6 +51,9 @@
 tai{
 	display: none;
 }
+my{
+	display: none;
+}
 
 roman{
 	display: none;
@@ -65,6 +68,10 @@ han{
 	font-weight: bolder;
 	display: block;
 }
+.my my{
+	font-weight: bolder;
+	display: block;
+}
 
 .roman roman{
 	font-weight: bolder;
@@ -74,12 +81,12 @@ han{
 
 
 .han han{
-	font-weight: bolder;
+	/*font-weight: bolder;*/
 	display: block;
 }
 
 .zh zh{
-	font-weight: bolder;
+	/*font-weight: bolder;*/
 	display: block;
 	margin-bottom: 1rem;
 }

+ 1 - 0
theme/index.hbs

@@ -124,6 +124,7 @@
                         <ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
                             <li role="none"><button role="menuitem" class="theme" id="all">{{ theme_option "全部" }}</button></li>
                             <li role="none"><button role="menuitem" class="theme" id="tai">{{ theme_option "傣" }}</button></li>
+                            <li role="none"><button role="menuitem" class="theme" id="my">{{ theme_option "缅" }}</button></li>
                             <li role="none"><button role="menuitem" class="theme" id="roman">{{ theme_option "罗马" }}</button></li>
                             <li role="none"><button role="menuitem" class="theme" id="han">{{ theme_option "汉字注音" }}</button></li>
                         </ul>