Skip to content

Commit

Permalink
修訂 Styles 錯誤
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJui committed Sep 3, 2024
1 parent 3fee105 commit 552e520
Show file tree
Hide file tree
Showing 14 changed files with 5,908 additions and 1,245 deletions.
Binary file modified Tai_Gi_Zu_Im_Bun.xlsx
Binary file not shown.
22 changes: 11 additions & 11 deletions a700_Iong_Excel_Piau_Zu_Im.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ def get_input_and_output_options(argv):
# =========================================================================
# (5) 依據《文章標題》另存新檔。
# =========================================================================
# wb = xw.Book(CONVERT_FILE_NAME)
# setting_sheet = wb.sheets["env"]
# new_file_name = str(
# setting_sheet.range("C4").value
# ).strip()
# new_file_path = os.path.join(
# ".\\output",
# f"【河洛話注音】{new_file_name}" + ".xlsx")
wb = xw.Book(CONVERT_FILE_NAME)
setting_sheet = wb.sheets["env"]
new_file_name = str(
setting_sheet.range("C4").value
).strip()
new_file_path = os.path.join(
".\\output",
f"【河洛話注音】{new_file_name}" + ".xlsx")

# # 儲存新建立的工作簿
# wb.save(new_file_path)
# 儲存新建立的工作簿
wb.save(new_file_path)

# 保存 Excel 檔案
# wb.close()
wb.close()
43 changes: 27 additions & 16 deletions docs/assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,43 +153,54 @@ rtc {

.Piau_Im {
font-family: "Noto Serif TC";
font-size: 28pt;
letter-spacing: 0.2em;
line-height: 1.8;
}

.Piau_Im ruby {
writing-mode: vertical-lr;
text-orientation: upright;
line-height: normal;
font-size: 2.0em;
line-height: 2.0;
}

.Piau_Im rt {
font-family: BopomofoRuby;
color: #B94B6A;
font-size: 40%;
letter-spacing: 0;
font-size: 30%;
line-height: normal;

-webkit-ruby-position: inter-character;
ruby-position: inter-character;
text-orientation: upright;

-webkit-writing-mode: vertical-rl;
writing-mode: vertical-rl;
vertical-align: middle;
display: inline;
}

/* 雙排注音符號 */
.Siang_Pai {
font-family: "Noto Serif TC";
font-size: 48pt;
letter-spacing: 0.2em;
line-height: 1.8;
text-align: left;
line-height: 2.0;
font-size: 2.0em;
}

.Siang_Pai ruby {
ruby-merge: separate;
ruby-position: over;
}

.Siang_Pai rt {
font-family: Arial;
color: blueviolet;
font-size: 40%;
}

.Siang_Pai rtc {
font-family: BopomofoRuby;
color: #B94B6A;
font-size: 30%;
line-height: normal;
ruby-merge: merge;

-webkit-ruby-position: inter-character;
ruby-position: inter-character;
text-orientation: upright;
letter-spacing: 0.2em;

-webkit-writing-mode: vertical-lr;
writing-mode: vertical-lr;
Expand Down
Loading

0 comments on commit 552e520

Please sign in to comment.