Forráskód Böngészése

改变显示模式

bhikkhu-kosalla-china 4 éve
szülő
commit
67ac66b8f6
3 módosított fájl, 39 hozzáadás és 177 törlés
  1. 4 20
      src/chanting/evening_chanting_A.md
  2. 30 152
      theme/css/variables.css
  3. 5 5
      theme/index.hbs

+ 4 - 20
src/chanting/evening_chanting_A.md

@@ -19,31 +19,15 @@
 
 ## Ratanattaya vandanā(礼拜三宝)
 
-拉答那答亚 万达那
+<tai>ᩋᩁᩉᩴ, ᩈᨾᩜᩣᩈᨾ᩠ᨻᩩᨴᩮ᩠ᨵᩤ, ᨽᨣᩅᩤ,</tai><br/><roman>Arahaṃ, Sammāsambuddho, Bhagavā,</roman><br/><zh>世尊是阿拉汉, 正自觉者,</zh>
 
-Arahaṃ, Sammāsambuddho, Bhagavā,
+<tai>ᨻᩩᨴ᩠ᨵᩴ ᨽᨣᩅᨶ᩠ᨲᩴ ᩋᨽᩥᩅᩤᨴᩮᨾᩥ.</tai><br/><roman>Buddhaṃ Bhagavantaṃ abhivādemi.</roman><br/><zh>我礼敬佛陀、世尊! (一拜)</zh>
 
-阿拉杭, 桑玛桑布陀, 葩嘎瓦,
+<tai>ᩈ᩠ᩅᩣᨠ᩠ᨡᩣᨲᩮᩣ ᨽᨣᩅᨲᩣ ᨵᨾᩮᩜᩣ ᨵᨾᩜᩴ ᨶᨾᩔᩣᨾᩥ.</tai><br/><roman>Svākkhāto Bhagavatā Dhammo Dhammaṃ namassāmi.</roman><br/><zh>世尊是阿拉汉, 正自觉者, 我礼敬法! (一拜)</zh>
 
-世尊是阿拉汉, 正自觉者,
+<tai>ᩈᩩᨷ᩠ᨷᨭᩥᨷᨶᩮᩣ᩠ᨶ ᨽᨣᩅᨲᩮᩣ ᩈᩣᩅᨠᩈᩘᨥᩮᩣ, ᩈᩘᨥᩴ ᨶᨾᩣᨾᩥ.</tai><br/><roman>Suppaṭipanno Bhagavato sāvakasaṅgho, Saṅghaṃ namāmi.</roman><br/><zh>世尊的弟子僧团是善行道者, 我礼敬僧! (一拜)</zh>
 
-Buddhaṃ Bhagavantaṃ abhivādemi.
 
-布汤 葩嘎万当 阿毗瓦嘚弥.
-
-我礼敬佛陀、世尊! (一拜)
-
-Svākkhāto Bhagavatā Dhammo Dhammaṃ namassāmi.
-
-斯瓦卡多 葩嘎瓦答 汤摩 汤芒 那玛萨弥.
-
-世尊是阿拉汉, 正自觉者, 我礼敬法! (一拜)
-
-Suppaṭipanno Bhagavato sāvakasaṅgho, Saṅghaṃ namāmi.
-
-苏巴帝班耨 葩嘎瓦多 萨瓦咖桑叩, 桑亢 那玛弥.
-
-世尊的弟子僧团是善行道者, 我礼敬僧! (一拜)
 
 {{#include ./namotassa.md}}
 

+ 30 - 152
theme/css/variables.css

@@ -9,88 +9,7 @@
 }
 
 /* Themes */
-
-.ayu {
-    --bg: hsl(210, 25%, 8%);
-    --fg: #c5c5c5;
-
-    --sidebar-bg: #14191f;
-    --sidebar-fg: #c8c9db;
-    --sidebar-non-existant: #5c6773;
-    --sidebar-active: #ffb454;
-    --sidebar-spacer: #2d334f;
-
-    --scrollbar: var(--sidebar-fg);
-
-    --icons: #737480;
-    --icons-hover: #b7b9cc;
-
-    --links: #0096cf;
-
-    --inline-code-color: #ffb454;
-
-    --theme-popup-bg: #14191f;
-    --theme-popup-border: #5c6773;
-    --theme-hover: #191f26;
-
-    --quote-bg: hsl(226, 15%, 17%);
-    --quote-border: hsl(226, 15%, 22%);
-
-    --table-border-color: hsl(210, 25%, 13%);
-    --table-header-bg: hsl(210, 25%, 28%);
-    --table-alternate-bg: hsl(210, 25%, 11%);
-
-    --searchbar-border-color: #848484;
-    --searchbar-bg: #424242;
-    --searchbar-fg: #fff;
-    --searchbar-shadow-color: #d4c89f;
-    --searchresults-header-fg: #666;
-    --searchresults-border-color: #888;
-    --searchresults-li-bg: #252932;
-    --search-mark-bg: #e3b171;
-}
-
-.coal {
-    --bg: hsl(200, 7%, 8%);
-    --fg: #98a3ad;
-
-    --sidebar-bg: #292c2f;
-    --sidebar-fg: #a1adb8;
-    --sidebar-non-existant: #505254;
-    --sidebar-active: #3473ad;
-    --sidebar-spacer: #393939;
-
-    --scrollbar: var(--sidebar-fg);
-
-    --icons: #43484d;
-    --icons-hover: #b3c0cc;
-
-    --links: #2b79a2;
-
-    --inline-code-color: #c5c8c6;
-
-    --theme-popup-bg: #141617;
-    --theme-popup-border: #43484d;
-    --theme-hover: #1f2124;
-
-    --quote-bg: hsl(234, 21%, 18%);
-    --quote-border: hsl(234, 21%, 23%);
-
-    --table-border-color: hsl(200, 7%, 13%);
-    --table-header-bg: hsl(200, 7%, 28%);
-    --table-alternate-bg: hsl(200, 7%, 11%);
-
-    --searchbar-border-color: #aaa;
-    --searchbar-bg: #b7b7b7;
-    --searchbar-fg: #000;
-    --searchbar-shadow-color: #aaa;
-    --searchresults-header-fg: #666;
-    --searchresults-border-color: #98a3ad;
-    --searchresults-li-bg: #2b2b2f;
-    --search-mark-bg: #355c7d;
-}
-
-.light {
+.all,.tai,.roman,.han,.zh{
     --bg: hsl(0, 0%, 100%);
     --fg: hsl(0, 0%, 0%);
 
@@ -129,85 +48,44 @@
     --searchresults-li-bg: #e4f2fe;
     --search-mark-bg: #a2cff5;
 }
-
-.navy {
-    --bg: hsl(226, 23%, 11%);
-    --fg: #bcbdd0;
-
-    --sidebar-bg: #282d3f;
-    --sidebar-fg: #c8c9db;
-    --sidebar-non-existant: #505274;
-    --sidebar-active: #2b79a2;
-    --sidebar-spacer: #2d334f;
-
-    --scrollbar: var(--sidebar-fg);
-
-    --icons: #737480;
-    --icons-hover: #b7b9cc;
-
-    --links: #2b79a2;
-
-    --inline-code-color: #c5c8c6;
-
-    --theme-popup-bg: #161923;
-    --theme-popup-border: #737480;
-    --theme-hover: #282e40;
-
-    --quote-bg: hsl(226, 15%, 17%);
-    --quote-border: hsl(226, 15%, 22%);
-
-    --table-border-color: hsl(226, 23%, 16%);
-    --table-header-bg: hsl(226, 23%, 31%);
-    --table-alternate-bg: hsl(226, 23%, 14%);
-
-    --searchbar-border-color: #aaa;
-    --searchbar-bg: #aeaec6;
-    --searchbar-fg: #000;
-    --searchbar-shadow-color: #aaa;
-    --searchresults-header-fg: #5f5f71;
-    --searchresults-border-color: #5c5c68;
-    --searchresults-li-bg: #242430;
-    --search-mark-bg: #a2cff5;
+tai{
+	display: none;
 }
 
-.rust {
-    --bg: hsl(60, 9%, 87%);
-    --fg: #262625;
-
-    --sidebar-bg: #3b2e2a;
-    --sidebar-fg: #c8c9db;
-    --sidebar-non-existant: #505254;
-    --sidebar-active: #e69f67;
-    --sidebar-spacer: #45373a;
-
-    --scrollbar: var(--sidebar-fg);
+roman{
+	display: none;
+}
 
-    --icons: #737480;
-    --icons-hover: #262625;
 
-    --links: #2b79a2;
+han{
+	display: none;
+}
 
-    --inline-code-color: #6e6b5e;
+.tai tai{
+	font-weight: bolder;
+	display: contents;
+}
 
-    --theme-popup-bg: #e1e1db;
-    --theme-popup-border: #b38f6b;
-    --theme-hover: #99908a;
+.roman roman{
+	font-weight: bolder;
+	display: contents;
+}
 
-    --quote-bg: hsl(60, 5%, 75%);
-    --quote-border: hsl(60, 5%, 70%);
 
-    --table-border-color: hsl(60, 9%, 82%);
-    --table-header-bg: #b3a497;
-    --table-alternate-bg: hsl(60, 9%, 84%);
+.han han{
+	font-weight: bolder;
+	display: contents;
+}
 
-    --searchbar-border-color: #aaa;
-    --searchbar-bg: #fafafa;
-    --searchbar-fg: #000;
-    --searchbar-shadow-color: #aaa;
-    --searchresults-header-fg: #666;
-    --searchresults-border-color: #888;
-    --searchresults-li-bg: #dec2a2;
-    --search-mark-bg: #e69f67;
+.zh zh{
+	font-weight: bolder;
+	display: contents;
+}
+.all tai{
+	display: contents;
+}
+.all roman{
+	display: contents;
 }
 
 @media (prefers-color-scheme: dark) {

+ 5 - 5
theme/index.hbs

@@ -122,11 +122,11 @@
                             <i class="fa fa-paint-brush"></i>
                         </button>
                         <ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
-                            <li role="none"><button role="menuitem" class="theme" id="light">{{ theme_option "Light" }}</button></li>
-                            <li role="none"><button role="menuitem" class="theme" id="rust">{{ theme_option "Rust" }}</button></li>
-                            <li role="none"><button role="menuitem" class="theme" id="coal">{{ theme_option "Coal" }}</button></li>
-                            <li role="none"><button role="menuitem" class="theme" id="navy">{{ theme_option "Navy" }}</button></li>
-                            <li role="none"><button role="menuitem" class="theme" id="ayu">{{ theme_option "Ayu" }}</button></li>
+                            <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="roman">{{ theme_option "罗马" }}</button></li>
+                            <li role="none"><button role="menuitem" class="theme" id="han">{{ theme_option "汉字注音" }}</button></li>
+                            <li role="none"><button role="menuitem" class="theme" id="zh">{{ theme_option "中译" }}</button></li>
                         </ul>
                         {{#if search_enabled}}
                         <button id="search-toggle" class="icon-button" type="button" title="搜索 快捷键:S" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">