Skip to content

Commit

Permalink
版面変更
Browse files Browse the repository at this point in the history
  • Loading branch information
huideyeren committed May 14, 2024
1 parent 3dc7f22 commit b804073
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Show .svg.log
run: cat .svg.log
- name: Build PDF.
run: REVIEW_CONFIG_FILE=config-ebook-pdf.yml REVIEW_CATALOG_FILE=catalog-download.yml bundle exec rake pdf
run: REVIEW_CONFIG_FILE=config-ebook-pdf.yml bundle exec rake pdf
- name: Upload artifact.
uses: actions/upload-artifact@v3
with:
Expand All @@ -143,7 +143,7 @@ jobs:
- name: Show .plantuml.log
run: cat .plantuml.log
- name: Build EPUB.
run: REVIEW_CONFIG_FILE=config-epub.yml REVIEW_CATALOG_FILE=catalog-download.yml bundle exec rake epub
run: REVIEW_CONFIG_FILE=config-epub.yml bundle exec rake epub
- name: Upload artifact.
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion config-print-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit: ["config.yml"]
bookname: book-print-pdf
# prt: ねこのしっぽ
texdocumentclass: ["review-jlreq", "media=print,paper=b5,fontsize=9pt,serial_pagination=true,hiddenfolio=shippo,startpage=3,tate,twoside,onecolumn,openany"]
texdocumentclass: ["review-jlreq", "media=print,paper=b6,fontsize=8pt,serial_pagination=true,hiddenfolio=shippo,startpage=3,tate,twoside,onecolumn,openany"]
2 changes: 1 addition & 1 deletion config-vivliostyle.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
inherit: ["config.yml"]
stylesheet: vivliostyle-a5.css
stylesheet: vivliostyle-a6.css
# catalogfile: catalog.yml
bookname: book
highlight:
Expand Down
17 changes: 15 additions & 2 deletions sass/common/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ h1 {
/* フォント */
font-weight: bold;
/* フォントサイズ */
font-size: 11.5pt;
font-size: 1.35rem;
/* 字下げ */
text-indent: 0;
/* 直後の改ページ・改段禁止 */
Expand All @@ -39,7 +39,7 @@ h2 {
/* フォント */
font-weight: normal;
/* フォントサイズ */
font-size: 10pt;
font-size: 1.18rem;
/* 字下げ */
text-indent: 6em;
/* 直後の改ページ・改段禁止 */
Expand All @@ -53,6 +53,19 @@ h1 + h2 {
margin-block-start: $base-line-height;
}

h2 {
/* フォント */
font-weight: normal;
/* フォントサイズ */
font-size: 1rem;
/* 字下げ */
text-indent: 8em;
/* 直後の改ページ・改段禁止 */
break-after: avoid;
// 2行取り
line-height: $base-line-height * 2;
}

ruby > rt {
font-size: 50%;
}
Expand Down
2 changes: 1 addition & 1 deletion sass/vivliostyle-a6.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// 基本フォントサイズ
$base-font-size: 8pt;
// 基本行送り
$base-line-height: 16pt;
$base-line-height: 1.4rem;
// 基本フォントファミリー
//$base-font-family: "EB Garamond", "Yakumono", "Nanum Myeongjo", "Noto Serif CJK jp", serif;
$base-font-family: "EB Garamond", "Yakumono", "Noto Serif CJK jp", serif;
Expand Down

0 comments on commit b804073

Please sign in to comment.