Andley_BG4e/.obsidian/snippets/BG4E.css

191 lines
4.3 KiB
CSS

/* ============= 設定字型 ================== */
@font-face {
font-family: AndleyFont;
unicode-range: U+0370-03FF, U+1F00-1FFF; /* Greek UNICODE */
src: local("SBL BibLit");
}
@font-face {
font-family: AndleyFont;
unicode-range: U+0590-05FF, U+FB10-FB4F; /* Hebrew UNICODE */
src: local("SBL BibLit");
}
@font-face {
font-family: AndleyFont;
unicode-range: U+00-024F; /* English UNICODE */
src: local("Noto Sans");
}
@font-face {
font-family: AndleyFont;
unicode-range: U+4E00-9FFF; /* 中文 UNICODE */
src: local("Noto Sans CJK TC");
}
@font-face {
font-family: InterlinearFont;
unicode-range: U+0370-03FF, U+1F00-1FFF; /* Greek UNICODE */
src: local("Arial Narrow");
}
@font-face {
font-family: InterlinearFont;
unicode-range: U+00-024F; /* English UNICODE */
src: local("Arial Narrow");
}
@font-face {
font-family: InterlinearFont;
unicode-range: U+4E00-9FFF; /* 中文 UNICODE */
src: local("Noto Sans CJK TC");
}
/* ============= 銀幕顯示 設定 ============= */
/* Obsidian 介面 */
.theme-dark {
--text-tag: #778899;
--text-muted: #D3D3D3;
--text-faint: gold;
--text-accent: greenyellow;
--color1:#ea4335;
--color2:#4285f4;
--color3:#34a853;
--color4:#ff8a00;
}
.theme-light {
--text-tag: rgb(128, 136, 240);
--text-normal:black;
--text-faint: black;
--text-accent: black;
--background-primary: white;
--color1:darkred;
--color2:darkblue;
--color3:darkgreen;
--color4:darkmagenta;
}
/* 標題顏色 */
.titlebar-inner {
color: var(--text-faint);
}
.workspace-leaf.mod-active .view-header-title {
color: var(--text-accent);
}
/* 粗體、斜體 in preview and editor */
.cm-strong, .markdown-preview-view strong {
font-weight: bolder;
color: var(--text-accent);
}
.cm-em, .markdown-preview-view em {
color: var(--text-faint);
}
/* tags in preview and editor */
.cm-s-obsidian span.cm-tag {
color: var(--text-tag);
}
/* 標題 */
.cm-header-1, .markdown-preview-view h1 {
color: var(--color1);
font-size:26px; /* 20pt 字體大小*/
text-align: center;
border-bottom: 4px double ;
font-family: "Noto Sans Black", "Noto Sans CJK TC Black";
}
.cm-header-2,.markdown-preview-view h2 {
color: var(--color2);
font-size:24px; /* 18pt 字體大小*/
text-align: center;
font-family: "Noto Sans Black", "Noto Sans CJK TC Black";
}
.cm-header-3,.markdown-preview-view h3 {
color: var(--color3);
font-size:22px; /* 16pt 字體大小*/
text-indent: -30px;
font-family: "Noto Sans Black", "Noto Sans CJK TC Black";
}
.cm-header-4,.markdown-preview-view h4 {
color: var(--color4);
font-size:19px; /* 14pt 字體大小*/
text-indent: -20px;
font-family: "Noto Sans Black", "Noto Sans CJK TC Black";
}
.cm-header-5,.markdown-preview-view h5 {
color: var(--color5);
font-size:16px; /* 12pt 字體大小*/
text-indent: -10px;
font-family: "Noto Sans Black", "Noto Sans CJK TC Black";
}
.cm-header-6,.markdown-preview-view h6 {
color: var(--color6);
font-size:16px; /* 12pt 字體大小*/
font-family: "Noto Sans Black", "Noto Sans CJK TC Black";
}
/***************************************/
/* Table */
/***************************************/
.markdown-preview-view th {
border: 1px solid;
border-bottom: 4px double;
font-weight: 800;
padding: 5px 5px;
}
.markdown-preview-view td {
border: 1px solid;
padding: 3px 5px;
}
/***************************************/
/* Ruby Interlinear */
/***************************************/
/* -------- 銀幕 Interlinear 經文段落---------- */
ruby {
display: inline-flex;
flex-direction: column-reverse ;
align-items: center;
font-size: 19px ;
line-height: 18px ;
padding-bottom: 10px ;
font-family: AndleyFont;
}
rt {
font-size: 16px ;
line-height: 15px ;
font-family: InterlinearFont;
}
ul ruby {
font-size: 16px ; /* 12pt 字體大小*/
line-height: 14px ;
padding-bottom: 3px ;
}
ul rt {
font-size: 13px ; /* 10pt 字體大小*/
line-height: 12px ;
}
html, body {
font-family: AndleyFont;
}
.nav-file-title, .nav-folder-title {
display: flex;
border: 1px solid transparent;
border-radius: 3px;
cursor: pointer;
color: var(--text-muted);
font-size: 13px;
line-height: 14px;
padding: 1px 10px 0 26px;
white-space: nowrap;
width: max-content;
min-width: 100%;
}