42 lines
1.4 KiB
CSS
42 lines
1.4 KiB
CSS
/* This is Pandoc's default ebook CSS, modified slightly. */
|
||
/* https://github.com/jgm/pandoc/blob/master/data/epub.css */
|
||
@font-face {
|
||
font-family: 'mononoki';
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
src: url('../webfonts/mononoki.woff');
|
||
}
|
||
@font-face {
|
||
font-family: 'FreeMono';
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
src: url('../webfonts/FreeMono.woff');
|
||
}
|
||
@font-face {
|
||
font-family: 'DejaVuSansMono';
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
src: url('../webfonts/DejaVuSansMono.woff');
|
||
}
|
||
body { margin: 5%; text-align: justify; font-size: medium; }
|
||
code { font-family: 'mononoki', 'FreeMono', 'DejaVuSansMono', monospace; }
|
||
h1, h2, h3, h4, h5, h6 { text-align: left; }
|
||
nav#toc ol, nav#landmarks ol { padding: 0; margin-left: 1em; }
|
||
nav#toc ol li, nav#landmarks ol li { list-style-type: none; margin: 0; padding: 0; }
|
||
a.footnote-ref { vertical-align: super; }
|
||
em, em em em, em em em em em { font-style: italic;}
|
||
em em, em em em em { font-style: normal; }
|
||
code{ white-space: pre-wrap; }
|
||
span.smallcaps{ font-variant: small-caps; }
|
||
span.underline{ text-decoration: underline; }
|
||
q { quotes: "“" "”" "‘" "’"; }
|
||
div.column{ display: inline-block; vertical-align: top; width: 50%; }
|
||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||
|
||
/* Workaround for iBooks issue; see #6242 */
|
||
@media screen {
|
||
.sourceCode {
|
||
overflow: visible !important;
|
||
white-space: pre-wrap !important;
|
||
}
|
||
}
|