dataviz/docs/epub.css

122 lines
2.0 KiB
CSS
Raw Normal View History

2021-04-10 22:10:25 +00:00
/* This defines styles and classes used in the book */
body {
margin: 5%;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "PT Sans", "Open Sans", "Fira Sans",
"Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: medium;
}
code {
font-family: Consolas, "Lucida Console", Monaco, monospace;
}
h1 {
text-align: left;
}
h2 {
text-align: left;
}
h3 {
text-align: left;
}
h4 {
text-align: left;
}
h5 {
text-align: left;
}
h6 {
text-align: left;
}
/* For title, author, and date on the cover page */
h1.title {
}
p.author {
}
p.date {
}
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;
}
pre {
overflow-x: auto;
padding: 1em;
background: #f5f5f5;
}
code {
white-space: pre-wrap;
font-size: 0.8em;
}
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;
}
table {
display: inline-block;
border: 1px solid #e5e5e5;
border-spacing: 0;
border-collapse: collapse;
overflow-x: auto;
max-width: 100%;
text-align: left;
vertical-align: top;
}
table caption {
font-size: 0.9em;
}
table td,
table th {
padding: 0.35em 0.75em;
vertical-align: top;
font-size: 0.9em;
border-bottom: 1px solid #e5e5e5;
}
table th {
line-height: 1.2;
}
table tr:last-child td {
border-bottom: none;
}
@media screen {
/* Workaround for iBooks issue; see #6242 */
.sourceCode {
overflow: visible !important;
white-space: pre-wrap !important;
}
}