generated from huidetang/XiandaiFenshuTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
435dcd2
commit ce2cb42
Showing
4 changed files
with
279 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@charset "UTF-8"; | ||
|
||
html { | ||
/* 組み方向 */ | ||
-webkit-writing-mode: vertical-rl; | ||
-epub-writing-mode: vertical-rl; | ||
writing-mode: tb-rl; | ||
} | ||
|
||
span.balloon { | ||
font-size: 0.9em; | ||
} | ||
span.balloon:before { | ||
content: "←"; | ||
} | ||
|
||
/* image width definition(pacentage) */ | ||
.width-010per { width: 10%; } | ||
.width-020per { width: 20%; } | ||
.width-025per { width: 25%; } | ||
.width-030per { width: 30%; } | ||
.width-033per { width: 33%; } | ||
.width-040per { width: 40%; } | ||
.width-050per { width: 50%; } | ||
.width-060per { width: 60%; } | ||
.width-067per { width: 67%; } | ||
.width-070per { width: 70%; } | ||
.width-075per { width: 75%; } | ||
.width-080per { width: 80%; } | ||
.width-090per { width: 90%; } | ||
.width-100per { width: 100%; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,216 @@ | ||
@charset "UTF-8"; | ||
|
||
/** | ||
* from Rouge | ||
*/ | ||
.highlight table td { padding: 5px; } | ||
.highlight table pre { margin: 0; } | ||
.highlight .cm { | ||
color: #999988; | ||
font-style: italic; | ||
} | ||
.highlight .cp { | ||
color: #999999; | ||
font-weight: bold; | ||
} | ||
.highlight .c1 { | ||
color: #999988; | ||
font-style: italic; | ||
} | ||
.highlight .cs { | ||
color: #999999; | ||
font-weight: bold; | ||
font-style: italic; | ||
} | ||
.highlight .c, .highlight .cd { | ||
color: #999988; | ||
font-style: italic; | ||
} | ||
.highlight .err { | ||
color: #a61717; | ||
background-color: #e3d2d2; | ||
} | ||
.highlight .gd { | ||
color: #000000; | ||
background-color: #ffdddd; | ||
} | ||
.highlight .ge { | ||
color: #000000; | ||
font-style: italic; | ||
} | ||
.highlight .gr { | ||
color: #aa0000; | ||
} | ||
.highlight .gh { | ||
color: #999999; | ||
} | ||
.highlight .gi { | ||
color: #000000; | ||
background-color: #ddffdd; | ||
} | ||
.highlight .go { | ||
color: #888888; | ||
} | ||
.highlight .gp { | ||
color: #555555; | ||
} | ||
.highlight .gs { | ||
font-weight: bold; | ||
} | ||
.highlight .gu { | ||
color: #aaaaaa; | ||
} | ||
.highlight .gt { | ||
color: #aa0000; | ||
} | ||
.highlight .kc { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kd { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kn { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kp { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kr { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kt { | ||
color: #445588; | ||
font-weight: bold; | ||
} | ||
.highlight .k, .highlight .kv { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .mf { | ||
color: #009999; | ||
} | ||
.highlight .mh { | ||
color: #009999; | ||
} | ||
.highlight .il { | ||
color: #009999; | ||
} | ||
.highlight .mi { | ||
color: #009999; | ||
} | ||
.highlight .mo { | ||
color: #009999; | ||
} | ||
.highlight .m, .highlight .mb, .highlight .mx { | ||
color: #009999; | ||
} | ||
.highlight .sb { | ||
color: #d14; | ||
} | ||
.highlight .sc { | ||
color: #d14; | ||
} | ||
.highlight .sd { | ||
color: #d14; | ||
} | ||
.highlight .s2 { | ||
color: #d14; | ||
} | ||
.highlight .se { | ||
color: #d14; | ||
} | ||
.highlight .sh { | ||
color: #d14; | ||
} | ||
.highlight .si { | ||
color: #d14; | ||
} | ||
.highlight .sx { | ||
color: #d14; | ||
} | ||
.highlight .sr { | ||
color: #009926; | ||
} | ||
.highlight .s1 { | ||
color: #d14; | ||
} | ||
.highlight .ss { | ||
color: #990073; | ||
} | ||
.highlight .s { | ||
color: #d14; | ||
} | ||
.highlight .na { | ||
color: #008080; | ||
} | ||
.highlight .bp { | ||
color: #999999; | ||
} | ||
.highlight .nb { | ||
color: #0086B3; | ||
} | ||
.highlight .nc { | ||
color: #445588; | ||
font-weight: bold; | ||
} | ||
.highlight .no { | ||
color: #008080; | ||
} | ||
.highlight .nd { | ||
color: #3c5d5d; | ||
font-weight: bold; | ||
} | ||
.highlight .ni { | ||
color: #800080; | ||
} | ||
.highlight .ne { | ||
color: #990000; | ||
font-weight: bold; | ||
} | ||
.highlight .nf { | ||
color: #990000; | ||
font-weight: bold; | ||
} | ||
.highlight .nl { | ||
color: #990000; | ||
font-weight: bold; | ||
} | ||
.highlight .nn { | ||
color: #555555; | ||
} | ||
.highlight .nt { | ||
color: #000080; | ||
} | ||
.highlight .vc { | ||
color: #008080; | ||
} | ||
.highlight .vg { | ||
color: #008080; | ||
} | ||
.highlight .vi { | ||
color: #008080; | ||
} | ||
.highlight .nv { | ||
color: #008080; | ||
} | ||
.highlight .ow { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .o { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .w { | ||
color: #bbbbbb; | ||
} | ||
.highlight { | ||
background-color: #f8f8f8; | ||
} | ||
.rouge-table { border-spacing: 0 } | ||
.rouge-gutter { text-align: right } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@charset "UTF-8"; | ||
@import 'common/_fonts.scss'; | ||
|
||
// 基本フォントサイズ | ||
$base-font-size: 12pt; | ||
// 基本行送り | ||
$base-line-height: 1.4rem; | ||
// 基本フォントファミリー | ||
$base-font-family: "EB Garamond", "Yakumono", "Noto Serif CJK jp", serif; | ||
|
||
// 行数 | ||
$lines: 15; | ||
// 1行あたり文字数 | ||
$characters-per-line: 40; | ||
// 天 | ||
$ten: 17mm; | ||
// 地 | ||
$chi: 15mm; | ||
// 小口 | ||
$koguchi: 12mm; | ||
// ノド | ||
$nodo: 18mm; | ||
|
||
// Rougeハイライト | ||
@import 'common/rouge'; | ||
// EPUB用フォーマット | ||
@import 'common/format_epub'; | ||
// タイポグラフィのスタイル定義 | ||
@import 'common/typography'; | ||
// コンテンツのスタイル定義 | ||
@import 'common/contents'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters