diff --git a/backcover.xhtml b/backcover.xhtml index 647c1c8..09e1f90 100644 --- a/backcover.xhtml +++ b/backcover.xhtml @@ -9,7 +9,7 @@
- +
\ No newline at end of file diff --git a/colophon.xhtml b/colophon.xhtml index a468c4f..37d3ef1 100644 --- a/colophon.xhtml +++ b/colophon.xhtml @@ -9,7 +9,7 @@
- +
\ No newline at end of file diff --git a/config-vivliostyle.yml b/config-vivliostyle.yml index 0279b71..d60d5df 100644 --- a/config-vivliostyle.yml +++ b/config-vivliostyle.yml @@ -1,10 +1,10 @@ inherit: ["config.yml"] stylesheet: vivliostyle-a6.css cover: null -coverimage: null -titlepage: true -titlefile: title.xhtml -colophon: null +coverimage: cover.xhtml +titlepage: false +# titlefile: title.xhtml +colophon: colophon.xhtml backcover: null # catalogfile: catalog.yml bookname: book diff --git a/cover.xhtml b/cover.xhtml index cdafc42..d98b39e 100644 --- a/cover.xhtml +++ b/cover.xhtml @@ -9,7 +9,7 @@
- +
\ No newline at end of file diff --git a/sass/common/_contents.scss b/sass/common/_contents.scss index c971a7d..6c4a75c 100644 --- a/sass/common/_contents.scss +++ b/sass/common/_contents.scss @@ -36,23 +36,23 @@ figure > img[src$='.jpeg'] { image-resolution: 350dpi; } -p > img, div > img { +p > img, div > img, section > img { width: auto; max-width: $content-width; max-height: $content-height; } /* 奥付 */ -.colophon { - font-size: 7pt; - // 3行空け - margin-block-start: $base-line-height * 3; - - p { - text-indent: 0; - hanging-punctuation: none; - } -} +// .colophon { +// font-size: 7pt; +// // 3行空け +// margin-block-start: $base-line-height * 3; + +// p { +// text-indent: 0; +// hanging-punctuation: none; +// } +// } /* 改ページ */ .page-break { @@ -86,13 +86,7 @@ p > img, div > img { } /* 表紙 */ -.cover, .title, .backcover { - margin: 0 !important; - img { - max-width: 100vw !important; - max-height: 100vh !important; - } -} + /* 3行あける */ .line-03 { @@ -114,9 +108,11 @@ div.note, div.memo, div.tip, div.info, div.warning, div.important, div.caution, } img.max { - margin: 0; - width: 100%; - height: 100vh; + margin: 0 !important; + max-width: 100vw; + width: auto; + max-height: 100vh; + height: auto; } pre { diff --git a/sass/common/_format.scss b/sass/common/_format.scss index 9699ea3..1403997 100644 --- a/sass/common/_format.scss +++ b/sass/common/_format.scss @@ -83,7 +83,10 @@ html { } @page cover { - margin: 0 !important; + margin-top: 0 !important; + margin-bottom: 0 !important; + margin-right: 0 !important; + margin-left: 0 !important; @top-left { content: none; @@ -107,7 +110,10 @@ html { } @page title { - margin: 0 !important; + margin-top: 0 !important; + margin-bottom: 0 !important; + margin-right: 0 !important; + margin-left: 0 !important; @top-left { content: none; @@ -144,12 +150,25 @@ html { } @page colophon { + margin-top: 0 !important; + margin-bottom: 0 !important; + margin-right: 0 !important; + margin-left: 0 !important; + @top-left { content: none; } @top-right { content: none; } + + @right-middle { + content: none; + } + + @left-middle { + content: none; + } } .backcover { @@ -157,7 +176,10 @@ html { } @page backcover { - margin: 0 !important; + margin-top: 0 !important; + margin-bottom: 0 !important; + margin-right: 0 !important; + margin-left: 0 !important; @top-left { content: none; diff --git a/title.xhtml b/title.xhtml index 0c95f7a..3c26f15 100644 --- a/title.xhtml +++ b/title.xhtml @@ -9,7 +9,7 @@
- +
\ No newline at end of file