2016-06-21 21:32:49 +12:00
|
|
|
|
2016-08-19 20:58:48 +12:00
|
|
|
@require 'mixins'
|
2018-03-13 10:07:11 +13:00
|
|
|
@require 'reset'
|
|
|
|
|
|
|
|
@page {
|
|
|
|
margin-top: 0.3em;
|
|
|
|
margin-bottom: 0.2em;
|
|
|
|
}
|
|
|
|
|
2016-08-19 20:58:48 +12:00
|
|
|
|
2016-06-21 21:32:49 +12:00
|
|
|
body {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
2016-06-28 09:19:01 +12:00
|
|
|
text-align: justify;
|
2018-03-13 10:07:11 +13:00
|
|
|
hyphens: auto;
|
|
|
|
-epub-hyphens: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
a, u {
|
|
|
|
text-decoration-skip: ink;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2017-06-07 08:15:05 +12:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
text-indent: 0;
|
2016-06-21 21:32:49 +12:00
|
|
|
|
|
|
|
&.double {
|
2017-06-07 08:15:05 +12:00
|
|
|
margin-top: 1em;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
&.double2 {
|
2017-06-07 08:15:05 +12:00
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
&.indented {
|
2017-06-07 08:15:05 +12:00
|
|
|
text-indent: 1em;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
2017-06-07 08:15:05 +12:00
|
|
|
}
|
|
|
|
div p {
|
|
|
|
text-indent: 0;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
|
2016-06-28 23:59:39 +12:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
text-align: left;
|
2018-03-13 10:07:11 +13:00
|
|
|
hyphens: none;
|
|
|
|
-epub-hyphens: none;
|
2016-06-28 23:59:39 +12:00
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
|
2017-06-07 08:15:05 +12:00
|
|
|
em {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
em em {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2016-08-11 05:33:39 +12:00
|
|
|
.chapter-title {
|
2018-03-13 10:07:11 +13:00
|
|
|
margin-top: 2em;
|
2016-08-11 05:33:39 +12:00
|
|
|
margin-bottom: 1.5em;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0;
|
2016-08-11 08:26:14 +12:00
|
|
|
}
|
2016-08-11 05:33:39 +12:00
|
|
|
}
|
|
|
|
|
2016-06-21 21:32:49 +12:00
|
|
|
img {
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
2018-03-13 10:07:11 +13:00
|
|
|
page-break-inside: avoid;
|
|
|
|
break-inside: avoid;
|
|
|
|
-webkit-column-break-inside: avoid;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
2017-06-12 23:53:17 +12:00
|
|
|
img.emoji {
|
|
|
|
height: 1em;
|
2018-03-13 10:07:11 +13:00
|
|
|
vertical-align: top;
|
2017-06-12 23:53:17 +12:00
|
|
|
}
|
2018-03-13 10:07:11 +13:00
|
|
|
img.emoticon {
|
|
|
|
height: 1.3em;
|
|
|
|
vertical-align: bottom;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
|
2017-06-07 20:48:59 +12:00
|
|
|
hr {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 0;
|
|
|
|
|
|
|
|
border-top-width: 1px;
|
|
|
|
border-top-style: solid;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
border-color: #999;
|
|
|
|
border-color: currentColor;
|
2018-03-13 10:07:11 +13:00
|
|
|
|
|
|
|
height: 0.15em;
|
|
|
|
min-height: 4px;
|
2017-06-07 20:48:59 +12:00
|
|
|
background: transparent;
|
|
|
|
width: 90%;
|
|
|
|
margin: 2em auto;
|
2018-03-13 10:07:11 +13:00
|
|
|
|
|
|
|
clear: both;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
break-inside: avoid;
|
|
|
|
-webkit-column-break-inside: avoid;
|
2017-06-07 20:48:59 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
// This looks bad on black background/dark themes
|
|
|
|
/*hr:after {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: -0.5em;
|
|
|
|
font-size: 1.0em;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
background: white;
|
2018-03-13 10:07:11 +13:00
|
|
|
line-height: 1.0em;
|
2017-06-07 20:48:59 +12:00
|
|
|
|
2018-03-13 10:07:11 +13:00
|
|
|
color: #999;
|
2017-06-07 20:48:59 +12:00
|
|
|
color: currentColor;
|
|
|
|
content: "\274A \274A \274A";
|
|
|
|
margin-top: 2px;
|
|
|
|
}*/
|
|
|
|
|
2018-03-13 10:07:11 +13:00
|
|
|
hr.old {
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
height: 0;
|
|
|
|
min-height: 0;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid #999;
|
|
|
|
border-color: currentColor;
|
|
|
|
opacity: 0.5;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-06-21 21:32:49 +12:00
|
|
|
blockquote {
|
2018-03-13 10:07:11 +13:00
|
|
|
clear: both;
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: 0.1px 0;
|
|
|
|
padding-left: 4%;
|
2016-06-21 21:32:49 +12:00
|
|
|
border: none;
|
2018-03-13 10:07:11 +13:00
|
|
|
border-left: 0.4rem solid #CCC;
|
|
|
|
border-left: 0.4rem solid rgba(0,0,0,0.2);
|
|
|
|
// bgcolor(#EEE);
|
|
|
|
// bgcolor(rgba(0,0,0,0.075));
|
|
|
|
// clearfix
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
2016-08-19 20:58:48 +12:00
|
|
|
|
|
|
|
/:root[__ibooks_internal_theme*="Night"] & {
|
|
|
|
border-color: rgba(255,255,255,0.2);
|
2018-03-13 10:07:11 +13:00
|
|
|
// bgcolor(rgba(255,255,255,0.1));
|
2016-08-19 20:58:48 +12:00
|
|
|
}
|
2018-03-13 10:07:11 +13:00
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
|
2018-03-13 10:07:11 +13:00
|
|
|
.bbcode-figure-left {
|
|
|
|
max-width: 40%;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.bbcode-figure-right {
|
|
|
|
max-width: 40%;
|
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
figure img {
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
.bbcode-indent {
|
|
|
|
&-1 { margin-left: 1em; }
|
|
|
|
&-2 { margin-left: 2em; }
|
|
|
|
&-3 { margin-left: 3em; }
|
|
|
|
&-4 { margin-left: 4em; }
|
|
|
|
}
|
|
|
|
.bbcode-pre-line p {
|
|
|
|
text-indent: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub {
|
|
|
|
font-size: 0.675em;
|
|
|
|
line-height: 1.2;
|
|
|
|
vertical-align: sub;
|
|
|
|
vertical-align: -20%;
|
|
|
|
}
|
|
|
|
sup {
|
|
|
|
font-size: 0.675em;
|
|
|
|
line-height: 1.2;
|
|
|
|
vertical-align: super;
|
|
|
|
vertical-align: 35%;
|
|
|
|
}
|
|
|
|
code {
|
|
|
|
font-family: monospace;
|
|
|
|
background-color: #DDD;
|
|
|
|
bgcolor(rgba(200, 200, 200, 0.2));
|
|
|
|
padding: .1875rem;
|
|
|
|
border-radius: .3125rem;
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
margin: 1em 0;
|
|
|
|
-webkit-hyphens: none;
|
|
|
|
-moz-hyphens: none;
|
|
|
|
-ms-hyphens: none;
|
|
|
|
hyphens: none;
|
|
|
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
|
|
text-align: left;
|
|
|
|
white-space: pre;
|
|
|
|
word-spacing: normal;
|
|
|
|
word-break: normal;
|
|
|
|
word-wrap: normal;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
pre code {
|
|
|
|
padding: 1em;
|
|
|
|
padding: 1rem;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
ord-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
.spoiler {
|
|
|
|
background-color: black;
|
|
|
|
color: transparent;
|
|
|
|
/:root[__ibooks_internal_theme*="Gray"] &, /:root[__ibooks_internal_theme*="Night"] & {
|
|
|
|
background-color: white;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
2018-03-13 10:07:11 +13:00
|
|
|
&:hover {
|
|
|
|
background-color: initial;
|
|
|
|
color: inherit;
|
|
|
|
/:root[__ibooks_internal_theme*="Gray"] &, /:root[__ibooks_internal_theme*="Night"] & {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-28 23:59:39 +12:00
|
|
|
figure.youtube {
|
2018-03-13 10:07:11 +13:00
|
|
|
clear: both;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 1em 0;
|
|
|
|
width: 70%;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
break-inside: avoid;
|
|
|
|
-webkit-column-break-inside: avoid;
|
2016-06-28 23:59:39 +12:00
|
|
|
|
2018-03-13 10:07:11 +13:00
|
|
|
& > a {
|
|
|
|
display: block;
|
|
|
|
width: 70%;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2016-06-28 23:59:39 +12:00
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2018-03-13 10:07:11 +13:00
|
|
|
border-radius: 7px;
|
2016-06-28 23:59:39 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
2018-03-13 10:07:11 +13:00
|
|
|
line-height: 1rem;
|
|
|
|
text-align: center;
|
|
|
|
margin-top: .3rem;
|
2016-06-28 23:59:39 +12:00
|
|
|
|
|
|
|
a {
|
|
|
|
font-style: italic;
|
2018-03-13 10:07:11 +13:00
|
|
|
font-size: 0.75rem;
|
2016-06-28 23:59:39 +12:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.leftalign {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2016-06-21 21:32:49 +12:00
|
|
|
#author_notes {
|
|
|
|
clear: both;
|
2018-03-13 10:07:11 +13:00
|
|
|
|
|
|
|
border: 1px solid #DDD;
|
2016-06-21 21:32:49 +12:00
|
|
|
border-radius: 3px;
|
|
|
|
line-height: 1.7em;
|
2018-03-13 10:07:11 +13:00
|
|
|
padding: 1em;
|
|
|
|
margin-top: 2em;
|
|
|
|
margin-bottom: 2em;
|
2016-08-19 20:58:48 +12:00
|
|
|
background-color: #EEE;
|
|
|
|
color: #555;
|
|
|
|
|
|
|
|
/:root[__ibooks_internal_theme*="Gray"] &, /:root[__ibooks_internal_theme*="Night"] & {
|
|
|
|
border-color: #333;
|
|
|
|
bgcolor(#1A1A1A);
|
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
|
2016-08-20 02:51:40 +12:00
|
|
|
a.chaptercomments {
|
2018-03-13 10:07:11 +13:00
|
|
|
clear: both;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
break-inside: avoid;
|
|
|
|
-webkit-column-break-inside: avoid;
|
|
|
|
|
2016-08-20 02:51:40 +12:00
|
|
|
text-decoration: none;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
textcolor(#fff);
|
|
|
|
font-weight: normal;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 0.9em;
|
|
|
|
text-shadow: -1px -1px #699739;
|
|
|
|
|
|
|
|
box-shadow: 0px 1px #81b945 inset;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #699739;
|
|
|
|
border-bottom-color: #638f36;
|
|
|
|
border-top-color: #6fa03c;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
bgcolor(#7bb042);
|
|
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7bb042), color-stop(100%, #6fa03c));
|
|
|
|
background: -webkit-linear-gradient(top, #7bb042 0%, #6fa03c 100%);
|
|
|
|
background: linear-gradient(to bottom, #7bb042 0%, #6fa03c 100%);
|
|
|
|
}
|
|
|
|
|