Skip to content

Instantly share code, notes, and snippets.

@mchubby
Created March 3, 2018 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mchubby/d33fcf6fd472cc07b4abdd3adb21c10f to your computer and use it in GitHub Desktop.
Save mchubby/d33fcf6fd472cc07b4abdd3adb21c10f to your computer and use it in GitHub Desktop.
@namespace epub "http://www.idpf.org/2007/ops";
.bold {
font-weight: bold;
}
.italic {
font-style: italic;
}
.center {
text-align: center;
}
section[epub|type~="credits"] {
padding: 0.5em;
margin: 1em;
border: 2px solid black;
}
a[epub|type~="noteref"] {
vertical-align: super;
line-height: normal;
font-size: smaller;
}
aside[epub|type~="notes"] {
font-style: italic;
}
h3 + aside[epub|type~="notes"], section[epub|type="chapter"] aside[epub|type~="notes"]:last-child {
background: #eee;
border:1px solid #ccc;
padding:5px 10px;
font-style: normal;
}
.indented1 {
margin-left: 10px;
}
h3 {
text-align: center;
display: block;
font-size: 1em;
font-weight: bold;
line-height: 1.2;
}
.ltx_tag {
display: block;
border-bottom: 1px solid;
font-size: 0.5em;
line-height: 1.2;
margin-bottom: 0.2em;
}
h4.pov {
text-align: center;
font-style: italic;
}
div[epub|type~="epigraph"] {
display: block;
text-align: left;
text-indent: 20pt;
margin: 3em 0 3em 0;
page-break-before: avoid;
page-break-after: always;
}
div[epub|type~="epigraph"] > p {
font-weight: bold;
}
div[epub|type~="epigraph"] > p.cite {
text-align: right;
font-weight: normal;
font-style: italic;
}
div[epub|type~="epigraph"][epub|type~="poem"] {
text-indent: 0;
}
/*
div[epub|type~="epigraph"] :after {
content: '—————';
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment