Skip to content

Commit

Permalink
pudate
Browse files Browse the repository at this point in the history
  • Loading branch information
huideyeren committed Sep 6, 2024
1 parent 4ce75e5 commit 046a6f0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion backcover.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>裏表紙</title>
</head>
<body>
<section class="backcover" id="backcover" role="doc-backcover">
<section class="backcover" id="backcover">
<img src="images/backcover.png" />
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion cover.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>表紙</title>
</head>
<body>
<section class="cover" id="cover" role="doc-cover">
<section class="cover" id="cover">
<img src="images/cover.png" />
</section>
</body>
Expand Down
5 changes: 3 additions & 2 deletions lib/tasks/review.rake
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,11 @@ end

desc 'build with vivliostyle'
task 'vivliostyle:build': BOOK_EPUB do
sh "#{REVIEW_VSCLI} build #{REVIEW_VSCLI_USESANDBOX} #{REVIEW_VSCLI_OPTIONS} --preflight press-ready-local #{REVIEW_VSCLI_GRAYSCALE} -o #{REVIEW_VSCLI_PDF} #{BOOK_EPUB} --log-level debug"
sh "#{REVIEW_VSCLI} build #{REVIEW_VSCLI_USESANDBOX} #{REVIEW_VSCLI_OPTIONS} --preflight press-ready-local #{REVIEW_VSCLI_GRAYSCALE} -o #{REVIEW_VSCLI_PDF} #{BOOK_EPUB}"
end

desc 'build with vivliostyle'
task vivliostyle: 'vivliostyle:build'

CLEAN.include([BOOK, BOOK_PDF, BOOK_EPUB, BOOK + '-pdf', BOOK + '-epub', WEBROOT, 'images/_review_math', 'images/_review_math_text', TEXTROOT, IDGXMLROOT])
CLEAN.include([BOOK, BOOK_PDF, BOOK_EPUB, BOOK + '-pdf', BOOK + '-epub', WEBROOT, 'images/_review_math',
'images/_review_math_text', TEXTROOT, IDGXMLROOT])
2 changes: 1 addition & 1 deletion profile.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>著者紹介</title>
</head>
<body>
<section class="profile" id="profile" role="doc-profile">
<section class="profile" id="profile">
<div class="profile-content">
<h1>著者紹介</h1>
<figure>
Expand Down
14 changes: 0 additions & 14 deletions sass/common/_format.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,6 @@ html {
.colophon {
page: colophon;

-webkit-writing-mode: horizontal-tb;
-epub-writing-mode: horizontal-tb;
writing-mode: horizontal-tb;

&.page-break {
margin-right: 0;
}
Expand All @@ -230,9 +226,6 @@ html {
div.colophon-content {
max-width: 100%;
max-height: 100vh;
-webkit-writing-mode: horizontal-tb;
-epub-writing-mode: horizontal-tb;
writing-mode: horizontal-tb;
font-size: 7pt;

margin-block-start: $content-height * 0.6;
Expand Down Expand Up @@ -262,10 +255,6 @@ html {
/* 著者紹介 */
.profile {
page: profile;

-webkit-writing-mode: horizontal-tb;
-epub-writing-mode: horizontal-tb;
writing-mode: horizontal-tb;
}

@page profile {
Expand All @@ -282,9 +271,6 @@ html {
div.profile-content{
max-width: 100%;
max-height: 100vh;
-webkit-writing-mode: horizontal-tb;
-epub-writing-mode: horizontal-tb;
writing-mode: horizontal-tb;
font-size: 7pt;

h2 {
Expand Down
2 changes: 1 addition & 1 deletion title.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title></title>
</head>
<body>
<section class="title" id="title" role="doc-title">
<section class="title" id="title">
<img src="images/title.png" />
</section>
</body>
Expand Down

0 comments on commit 046a6f0

Please sign in to comment.