vault backup: 2024-07-28 06:16:27

Affected files:
.obsidian/snippets/bg4e.css
.obsidian/workspace.json
assets/css/style.scss
This commit is contained in:
Andley Chang 2024-07-28 06:16:28 +08:00
parent afd8102456
commit eb8dee25ba
3 changed files with 66 additions and 26 deletions

View File

@ -175,9 +175,8 @@ li {
line-height:1.5em;
}
/* ⋯⋯⋯⋯⋯⋯⋯ */
mark {
/* text decoration for marking syntax functions */
mark {
&.poetry::before {content:'\a '; white-space: pre;}
&.poetry {background-color: transparent;}
&.paragraph::after {background-color: transparent; content:'\a\a'; white-space: pre;}

View File

@ -95,8 +95,7 @@
}
],
"direction": "horizontal",
"width": 200,
"collapsed": true
"width": 200
},
"right": {
"id": "1464b72f66019d33",

View File

@ -4,8 +4,54 @@
@import "{{ site.theme }}";
@import url('https://fonts.googleapis.com/css2?family=Gentium+Book+Plus&family=Noto+Sans+TC&display=swap');
/* ============= 設定字型 ================== */
@font-face {
font-family: AndleyFont;
unicode-range: U+0370-03FF, U+1F00-1FFF; /* Greek UNICODE */
src: local("Gentium Book Plus");
}
@font-face {
font-family: AndleyFont;
unicode-range: U+0590-05FF, U+FB10-FB4F; /* Hebrew UNICODE */
src: local("SBL Hebrew");
}
@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, U+3400-4DBF, U+20000-2A6DF, U+2A7002B73F, U+2B7402B81F, U+2B8202CEAF, U+F900-FAFF, U+2F800-2FA1F; /* 中文 UNICODE */
src: local("Noto Sans CJK TC");
}
/* ———————— */
@font-face {
font-family: InterlinearFont;
unicode-range: U+0370-03FF, U+1F00-1FFF; /* Greek UNICODE */
src: local("Gentium Plus");
}
@font-face {
font-family: InterlinearFont;
unicode-range: U+0590-05FF, U+FB10-FB4F; /* Hebrew UNICODE */
src: local("SBL Hebrew");
}
@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");
}
body {
font-family: 'Gentium Book Plus', 'Noto Sans TC', 'Noto Sans SC';
font-family: 'Gentium Book Plus', 'Noto Serif Hebrew', 'Noto Sans TC', 'Noto Sans SC';
color: black;
}
@ -24,34 +70,32 @@
color:black;
}
strong {
color: red;
font-weight:700;
}
em {
color: blue;
font-weight:700;
}
ul {
margin-bottom: 0em;
}
ruby {
font-family: AndleyFont;
font-size: 16px;
line-height: 4.5em;
padding: 0 1px;
}
ul ruby {
line-height: 2.5em;
}
li {
line-height:1.5em;
}
rt {
font-family: InterlinearFont;
text-align: center;
font-size:13px;
padding: 0 2px;
}
/* page layout */
header {
padding: 20px 20px 5px 20px;
@ -108,17 +152,15 @@
/* text decoration for marking syntax functions */
mark {
&.pm {background: none;font-weight:900; }
&.S {background: none; text-decoration: underline double; text-underline-offset: 4px;}
&.P {background: none; text-decoration: underline wavy; text-underline-offset: 4px;}
&.C {background: none; text-decoration: underline solid; text-underline-offset: 4px;}
&.A {background: none; text-decoration: underline dotted; text-underline-offset: 4px;}
&.green {background-color: lightgreen; }
&.red {background-color: lightcoral; }
&.blue {background-color: skyblue; }
&.purple {background-color: purple; }
}
&.poetry::before {content:'\a '; white-space: pre;}
&.poetry {background-color: transparent;}
&.paragraph::after {background-color: transparent; content:'\a\a'; white-space: pre;}
&.punctuation {background-color: transparent; font-weight:bolder;}
&.verb {background-color: transparent; text-decoration: underline double; text-underline-offset: 5px;}
&.ptc {background-color: transparent; text-decoration: underline solid; text-underline-offset: 5px;}
&.inf {background-color: transparent; text-decoration: underline dotted; text-underline-offset: 5px;}
}
/* BULLET POINT RELATIONSHIP LINES */