diff --git a/samples/gon/img/Vulpes_vulpes_japonica_in_Mount_Shirouma_1996-09-29.jpg b/samples/gon/img/Vulpes_vulpes_japonica_in_Mount_Shirouma_1996-09-29.jpg deleted file mode 100644 index 91b6b4a8c..000000000 Binary files a/samples/gon/img/Vulpes_vulpes_japonica_in_Mount_Shirouma_1996-09-29.jpg and /dev/null differ diff --git a/samples/gon/img/gon.jpg b/samples/gon/img/gon.jpg index c48aa610b..40c2801e8 100644 Binary files a/samples/gon/img/gon.jpg and b/samples/gon/img/gon.jpg differ diff --git a/samples/gon/scss/base/_contents.scss b/samples/gon/scss/base/_contents.scss deleted file mode 100755 index f4fa06f22..000000000 --- a/samples/gon/scss/base/_contents.scss +++ /dev/null @@ -1,35 +0,0 @@ -@charset "UTF-8"; - -/*著作者*/ -.author { - position: absolute; - bottom: 0; - font-size: $base-font-size; - margin-top: 50pt; - letter-spacing: normal; -} - -/*画像+キャプション*/ -figure { - display: block; - width: 236pt; - -ms-writing-mode: lr-tb; - -webkit-writing-mode: horizontal-tb; - writing-mode: horizontal-tb; -} -figure img { - width: 100%; - height: auto; - vertical-align: bottom; -} -figcaption { - text-align: left; - font-size: 7pt; -} - -/*奥付*/ -.colophon { - font-size: 7pt; - // 3行空け - margin-right: $base-line-height * 3; -} \ No newline at end of file diff --git a/samples/gon/scss/base/_format.scss b/samples/gon/scss/base/_format.scss deleted file mode 100755 index 1bd8cc523..000000000 --- a/samples/gon/scss/base/_format.scss +++ /dev/null @@ -1,59 +0,0 @@ -@charset "UTF-8"; - -// 行数 -$lines: 15; -// 1行あたり文字数 -$characters-per-line: 39; - -html { - /* 組み方向 */ - -epub-writing-mode: vertical-rl; - -ms-writing-mode: tb-rl; - writing-mode: vertical-rl; - - orphans: 1; - widows: 1; -} - -* { - margin: 0; - padding: 0; -} - -@page { - size: 105mm 148mm; - // 行送り * 行数 - width: $base-line-height * $lines; - // フォントサイズ * 文字数 - height: $base-font-size * $characters-per-line; - margin-top: 15mm; - margin-bottom: auto; - margin-left: auto; - margin-right: auto; - - /* 以下、マージンボックスに継承される */ - font-size: 6pt; - font-family: $base-font-family; /* 本来不要(ルート要素の指定が継承される)だが、現時点のvivliostyle.jsの制限により必要 */ - vertical-align: top; -} - -@page :left { - margin-right: 10mm; - @top-left { - content: counter(page) "  ごん狐"; - margin-left: 3.75pt; - margin-top: 6mm; - writing-mode: horizontal-tb; /* CSS仕様上は@pageルール内に書けばよいが、現時点のvivliostyle.jsの制限によりここに書く */ - } -} - -@page :right { - margin-left: 10mm; - /* 右下ノンブル */ - @top-right { - content: counter(page); - margin-right: 3.75pt; - margin-top: 6mm; - writing-mode: horizontal-tb; /* CSS仕様上は@pageルール内に書けばよいが、現時点のvivliostyle.jsの制限によりここに書く */ - } -} diff --git a/samples/gon/scss/base/_typography.scss b/samples/gon/scss/base/_typography.scss deleted file mode 100755 index b9100cda1..000000000 --- a/samples/gon/scss/base/_typography.scss +++ /dev/null @@ -1,76 +0,0 @@ -@charset "UTF-8"; - -html { - /* フォント */ - font-family: $base-font-family; - font-weight: normal; - /* 行末揃え */ - text-align: justify; - font-size: $base-font-size; - line-height: $base-line-height; -} - -h1 { - /* フォント */ - font-weight: bold; - /* フォントサイズ */ - font-size: 11.5pt; - /* 字下げ */ - text-indent: 0; - /* 直後の改ページ・改段禁止 */ - break-after: avoid; - // 3行取り - line-height: $base-line-height * 3; - letter-spacing: 1em; -} - -h2 { - /* フォント */ - font-weight: normal; - /* フォントサイズ */ - font-size: 10pt; - /* 字下げ */ - text-indent: 6em; - /* 直後の改ページ・改段禁止 */ - break-after: avoid; - // 2行取り - line-height: $base-line-height * 2; -} - -h1 + h2 { - // 1行空け - margin-right: $base-line-height; -} - -ruby > rt { - font-size: 4pt; -} - -p { - text-indent: 1em; - hanging-punctuation: force-end; -} - -hr { - border: none; - border-right: 1pt solid black; - height: 6em; - margin: auto 8.5pt; -} - -/* 縦中横 */ -.tcy { - -webkit-text-combine: horizontal; - text-combine: horizontal; - -ms-text-combine-horizontal: all; - text-combine-horizontal: all; - text-combine-upright: all; -} - -/* 圏点(ゴマ) */ -em.sesame_dot { - font-style: normal; - -webkit-text-emphasis-style: sesame; - text-emphasis-style: sesame; -} - diff --git a/samples/gon/scss/style.scss b/samples/gon/scss/style.scss deleted file mode 100755 index 423e13db7..000000000 --- a/samples/gon/scss/style.scss +++ /dev/null @@ -1,15 +0,0 @@ -@charset "UTF-8"; - -// 基本フォントサイズ -$base-font-size: 8.5pt; -// 基本行送り -$base-line-height: 16pt; -// 基本フォントファミリー -$base-font-family: "游明朝", "YuMincho", serif; - -// ページのスタイル定義 -@import 'base/format'; -// タイポグラフィのスタイル定義 -@import 'base/typography'; -// コンテンツのスタイル定義 -@import 'base/contents'; diff --git a/samples/niimi/OEBPS/img/gon.jpg b/samples/niimi/OEBPS/img/gon.jpg index c48aa610b..40c2801e8 100644 Binary files a/samples/niimi/OEBPS/img/gon.jpg and b/samples/niimi/OEBPS/img/gon.jpg differ diff --git a/samples/niimi/scss/base/_contents.scss b/samples/niimi/scss/base/_contents.scss deleted file mode 100644 index 56c5fd7a9..000000000 --- a/samples/niimi/scss/base/_contents.scss +++ /dev/null @@ -1,81 +0,0 @@ -@charset "UTF-8"; - -/*著作者*/ -.author { - position: absolute; - bottom: 0; - font-size: $base-font-size; - margin-top: 50pt; - letter-spacing: normal; -} - -/*画像+キャプション*/ -figure { - display: block; - width: 236pt; - -ms-writing-mode: lr-tb; - -webkit-writing-mode: horizontal-tb; - writing-mode: horizontal-tb; -} -figure img { - width: 100%; - height: auto; - vertical-align: bottom; -} -figcaption { - text-align: left; - font-size: 7pt; -} - -/*奥付*/ -.colophon { - font-size: 7pt; - // 3行空け - margin-right: $base-line-height * 3; - p { - text-indent: 0; - } -} - -/* 改ページ */ -.page-break { - page-break-before: always; -} - -.colophon.page-break { - margin-right: 0; -} - -/* 2字下げ */ -.indent-double { - padding-top: 2em; - text-indent: 0; -} - -/* 目次 */ -.toc { - ol { - list-style: none; - a { - text-decoration: none; - } - } -} - -/* 表紙 */ -.cover { - h1 { - line-height: 17.75em; - margin-right: 1.75em; - } -} - -/* 3行あける */ -.line-03 { - margin-right: $base-line-height * 3; -} - -/* インデント解除 */ -.indent-none { - text-indent: 0; -} \ No newline at end of file diff --git a/samples/niimi/scss/base/_format.scss b/samples/niimi/scss/base/_format.scss deleted file mode 100644 index d2222e890..000000000 --- a/samples/niimi/scss/base/_format.scss +++ /dev/null @@ -1,60 +0,0 @@ -@charset "UTF-8"; - -// 行数 -$lines: 15; -// 1行あたり文字数 -$characters-per-line: 39; - -html { - /* 組み方向 */ - -epub-writing-mode: vertical-rl; - -ms-writing-mode: tb-rl; - writing-mode: vertical-rl; - - orphans: 1; - widows: 1; -} - -* { - margin: 0; - padding: 0; -} - -@page { - size: 105mm 148mm; - // 行送り * 行数 - width: $base-line-height * $lines; - // フォントサイズ * 文字数 - height: $base-font-size * $characters-per-line; - margin-top: 15mm; - margin-bottom: auto; - margin-left: auto; - margin-right: auto; - - /* 以下、マージンボックスに継承される */ - font-size: 5.5pt; - font-family: $base-font-family; /* 本来不要(ルート要素の指定が継承される)だが、現時点のvivliostyle.jsの制限により必要 */ - vertical-align: top; -} - -@page :left { - margin-right: 10mm; - @top-left { - vertical-align: top; - margin-left: 3.75pt; - margin-top: 6mm; - writing-mode: horizontal-tb; /* CSS仕様上は@pageルール内に書けばよいが、現時点のvivliostyle.jsの制限によりここに書く */ - } -} - -@page :right { - margin-left: 10mm; - /* 右上ノンブル */ - @top-right { - vertical-align: top; - margin-right: 3.75pt; - margin-top: 6mm; - writing-mode: horizontal-tb; /* CSS仕様上は@pageルール内に書けばよいが、現時点のvivliostyle.jsの制限によりここに書く */ - } -} - diff --git a/samples/niimi/scss/base/_typography.scss b/samples/niimi/scss/base/_typography.scss deleted file mode 100644 index e5c343e73..000000000 --- a/samples/niimi/scss/base/_typography.scss +++ /dev/null @@ -1,85 +0,0 @@ -@charset "UTF-8"; - -html { - /* フォント */ - font-family: $base-font-family; - font-weight: normal; - /* 行末揃え */ - text-align: justify; - font-size: $base-font-size; - line-height: $base-line-height; -} - -h1 { - /* フォント */ - font-weight: bold; - /* フォントサイズ */ - font-size: 11.5pt; - /* 字下げ */ - text-indent: 0; - /* 直後の改ページ・改段禁止 */ - break-after: avoid; - // 3行取り(+微調整) - line-height: $base-line-height * 2.9; -} -h1.short { - // タイトルが短い場合のスタイル - letter-spacing: 1em; -} - -.without-subsection { - h1 { - padding-left: $base-line-height * 1.8; - } -} - -h2 { - /* フォント */ - font-weight: normal; - /* フォントサイズ */ - font-size: 10pt; - /* 字下げ */ - text-indent: 6em; - /* 直後の改ページ・改段禁止 */ - break-after: avoid; - // 2行取り(+微調整) - line-height: $base-line-height * 1.9; -} - -h1 + h2 { - // 1行空け - margin-right: $base-line-height; -} - -ruby > rt { - font-size: 3.5pt; -} - -p { - text-indent: 1em; - hanging-punctuation: force-end; -} - -hr { - border: none; - border-right: 1pt solid black; - height: 6em; - margin: auto 8.5pt; -} - -/* 縦中横 */ -.tcy { - -webkit-text-combine: horizontal; - text-combine: horizontal; - -ms-text-combine-horizontal: all; - text-combine-horizontal: all; - text-combine-upright: all; -} - -/* 圏点(ゴマ) */ -em.sesame_dot { - font-style: normal; - -webkit-text-emphasis-style: sesame; - text-emphasis-style: sesame; -} - diff --git a/samples/niimi/scss/style.scss b/samples/niimi/scss/style.scss deleted file mode 100644 index b3f7dbecf..000000000 --- a/samples/niimi/scss/style.scss +++ /dev/null @@ -1,15 +0,0 @@ -@charset "UTF-8"; - -// 基本フォントサイズ -$base-font-size: 8.5pt; -// 基本行送り -$base-line-height: 16pt; -// 基本フォントファミリー -$base-font-family: "游明朝", "YuMincho", "Hiragino Mincho ProN", serif; - -// ページのスタイル定義 -@import 'base/format'; -// タイポグラフィのスタイル定義 -@import 'base/typography'; -// コンテンツのスタイル定義 -@import 'base/contents'; diff --git a/samples/wood/scss/base/_contents.scss b/samples/wood/scss/base/_contents.scss deleted file mode 100755 index 57cb3f97e..000000000 --- a/samples/wood/scss/base/_contents.scss +++ /dev/null @@ -1,6 +0,0 @@ -@charset "UTF-8"; - -p.author { - text-indent: 0; - text-align: right; -} diff --git a/samples/wood/scss/base/_format.scss b/samples/wood/scss/base/_format.scss deleted file mode 100755 index 3205d25be..000000000 --- a/samples/wood/scss/base/_format.scss +++ /dev/null @@ -1,55 +0,0 @@ -@charset "UTF-8"; -html { - /* writing mode */ - writing-mode: horizontal-tb; - - orphans: 2; - widows: 2; -} - -* { - margin: 0; - padding: 0; -} - -@page { - size: 144mm 217mm; - margin-top: 20mm; - margin-bottom: 20mm; - margin-left: 20mm; - margin-right: 20mm; - - /* The followings are inherited to page-margin boxes */ - font-family: $base-font-family; - font-size: 9pt; - vertical-align: top; -} - -@page :left { - /* top-left header */ - @top-left { - content: "Wood Engraving"; - margin-top: 10mm; - margin-bottom: 4mm; - border-bottom: 2pt solid #000; - } - /* bottom-left page number */ - @bottom-left { - content: counter(page); - margin-top: 6mm; - } -} - -@page :right { - /* top-right header (only for border) */ - @top-right { - content: ""; - margin-bottom: 4mm; - border-bottom: 2pt solid #000; -} - /* bottom-right page number */ - @bottom-right { - content: counter(page); - margin-top: 6mm; - } -} diff --git a/samples/wood/scss/base/_typography.scss b/samples/wood/scss/base/_typography.scss deleted file mode 100755 index af2da8d5e..000000000 --- a/samples/wood/scss/base/_typography.scss +++ /dev/null @@ -1,46 +0,0 @@ -@charset "UTF-8"; -html { - font-family: $base-font-family; - font-weight: normal; - font-size: $base-font-size; - line-height: $base-line-height; - -webkit-font-smoothing: antialiased; -} - -h1 { - font-weight: bold; - font-size: 2em; - line-height: 1em; - margin-bottom: $base-font-size; - text-indent: 0; - /* forbid page/column break after it */ - break-after: avoid; -} - -h2 { - font-size: 12pt; - font-weight: bold; - text-indent: 0; - /* forbid page/column break after it */ - break-after: avoid; - line-height: 32pt; - margin-top: 16pt; -} - -p { - text-indent: 2em; - text-align: justify; - hyphens: auto; -} - -p.dropcap { - text-indent: 0; - min-width: 20pt; -} - -p.dropcap span.dropcap { - font-size: 2 * $base-line-height; - float: left; - line-height: 2 * $base-line-height; - margin-right: 2.25pt; -} \ No newline at end of file diff --git a/samples/wood/scss/style.scss b/samples/wood/scss/style.scss deleted file mode 100755 index d05fdf70b..000000000 --- a/samples/wood/scss/style.scss +++ /dev/null @@ -1,12 +0,0 @@ -@charset "UTF-8"; - -$base-font-family: 'Quattrocento', Georgia, serif; -$base-font-size: 10pt; -$base-line-height: 18pt; - -// page format definition -@import 'base/format'; -// typography style definition -@import 'base/typography'; -// contents style definition -@import 'base/contents';