2016-06-21 21:32:49 +12:00
|
|
|
|
2016-08-19 20:58:48 +12:00
|
|
|
@require 'mixins'
|
|
|
|
|
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;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0.0em;
|
|
|
|
margin-bottom: 0.0em;
|
|
|
|
text-indent: 0.0em;
|
|
|
|
|
|
|
|
&.double {
|
|
|
|
margin-top: 1.0em;
|
|
|
|
}
|
|
|
|
&.double2 {
|
|
|
|
margin-top: 1.0em;
|
|
|
|
margin-bottom: 1.0em;
|
|
|
|
}
|
|
|
|
&.indented {
|
|
|
|
text-indent: 1.0em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-28 23:59:39 +12:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
|
2016-08-11 05:33:39 +12:00
|
|
|
.chapter-title {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-08-11 08:26:14 +12:00
|
|
|
& + p.indented {
|
|
|
|
text-indent: 0;
|
|
|
|
}
|
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%;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2016-06-28 09:19:01 +12:00
|
|
|
margin-top: 0.8em;
|
|
|
|
margin-bottom: 0.8em;
|
2016-08-19 20:58:48 +12:00
|
|
|
height: 0;
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid #999;
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin: 10px 0px;
|
|
|
|
padding: 20px;
|
|
|
|
border: none;
|
|
|
|
border-left: 5px solid rgba(0,0,0,0.2);
|
2016-08-19 20:58:48 +12:00
|
|
|
bgcolor(rgba(0,0,0,0.1));
|
|
|
|
|
|
|
|
/:root[__ibooks_internal_theme*="Night"] & {
|
|
|
|
border-color: rgba(255,255,255,0.2);
|
|
|
|
bgcolor(rgba(255,255,255,0.1));
|
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
|
|
|
|
&.left_insert, &.right_insert {
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
padding: 15px;
|
|
|
|
background-color: #F7F7F7;
|
|
|
|
border: 1px solid #AAA;
|
|
|
|
width: 50%;
|
|
|
|
box-shadow: 5px 5px 0px #EEE;
|
2016-08-19 20:58:48 +12:00
|
|
|
/:root[__ibooks_internal_theme*="Gray"] & {
|
|
|
|
bgcolor(rgba(0,0,0,0.1));
|
|
|
|
box-shadow: 5px 5px 0px #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
/:root[__ibooks_internal_theme*="Night"] & {
|
|
|
|
bgcolor(rgba(255,255,255,0.1));
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
&.left_insert {
|
|
|
|
margin-right: 25px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
&.right_insert {
|
|
|
|
margin-left: 25px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-28 23:59:39 +12:00
|
|
|
figure.youtube {
|
|
|
|
margin: 1em auto;
|
|
|
|
width: 60%;
|
|
|
|
max-width: 640px;
|
|
|
|
|
|
|
|
border: 1px solid #999;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 3px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
line-height: 1em;
|
|
|
|
text-align: left;
|
|
|
|
padding: 3px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.leftalign {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2016-06-21 21:32:49 +12:00
|
|
|
#author_notes {
|
|
|
|
clear: both;
|
2016-08-19 20:58:48 +12:00
|
|
|
border: 1px solid #ddd;
|
2016-06-21 21:32:49 +12:00
|
|
|
border-radius: 3px;
|
|
|
|
line-height: 1.7em;
|
|
|
|
padding: 16px;
|
|
|
|
margin-top: 1.0em;
|
|
|
|
margin-bottom: 1.0em;
|
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);
|
|
|
|
textcolor(#aaa);
|
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|
|
|
|
|
2016-06-23 01:43:25 +12:00
|
|
|
#toc {
|
|
|
|
ol {
|
|
|
|
list-style-type: none;
|
2016-08-11 05:33:39 +12:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2016-06-23 01:43:25 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-06-21 21:32:49 +12:00
|
|
|
}
|