mirror of
https://git.tonybark.com/standard-mdbook/house-at-pooh-corner.git
synced 2026-02-10 16:24:52 -05:00
215 lines
No EOL
4.1 KiB
CSS
215 lines
No EOL
4.1 KiB
CSS
@charset "utf-8";
|
|
@namespace epub "http://www.idpf.org/2007/ops";
|
|
|
|
footer{
|
|
margin-top: 1em;
|
|
text-align: right;
|
|
}
|
|
|
|
q{
|
|
font-style: italic;
|
|
}
|
|
|
|
.aside{
|
|
font-style: italic;
|
|
}
|
|
|
|
/* All dedications */
|
|
section.epub-type-dedication{
|
|
text-align: center;
|
|
}
|
|
|
|
section.epub-type-dedication > *{
|
|
display: inline-block;
|
|
margin-top: auto;
|
|
margin-right: auto;
|
|
margin-bottom: auto;
|
|
margin-left: auto;
|
|
margin-top: 3em;
|
|
max-width: 80%;
|
|
}
|
|
|
|
@supports(display: flex){
|
|
section.epub-type-dedication{
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
min-height: calc(98vh - 3em);
|
|
padding-top: 3em;
|
|
}
|
|
|
|
section.epub-type-dedication > *{
|
|
margin-top: 0;
|
|
margin-right: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
/* End all dedications */
|
|
|
|
/* poem/verse/song */
|
|
.epub-type-z3998-poem p,
|
|
.epub-type-z3998-verse p,
|
|
.epub-type-z3998-song p{
|
|
text-align: left;
|
|
text-indent: 0;
|
|
}
|
|
|
|
.epub-type-z3998-song p + p{
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.epub-type-z3998-poem p > span,
|
|
.epub-type-z3998-verse p > span,
|
|
.epub-type-z3998-song p > span{
|
|
display: block;
|
|
padding-left: 1em;
|
|
text-indent: -1em;
|
|
}
|
|
|
|
.epub-type-z3998-poem p > span + br,
|
|
.epub-type-z3998-verse p > span + br,
|
|
.epub-type-z3998-song p > span + br{
|
|
display: none;
|
|
}
|
|
|
|
p span.i1{
|
|
padding-left: 2em;
|
|
text-indent: -1em;
|
|
}
|
|
|
|
p span.i2{
|
|
padding-left: 3em;
|
|
text-indent: -1em;
|
|
}
|
|
/* end of poem/verse/song */
|
|
|
|
/* location specific */
|
|
#dedication p{
|
|
font-style: italic;
|
|
margin-top: 3em;
|
|
}
|
|
|
|
#chapter-5 blockquote.first-of-type p.last-of-type,
|
|
#chapter-5 blockquote:first-of-type p:last-of-type,
|
|
#chapter-5 blockquote.last-of-type p.last-of-type,
|
|
#chapter-5 blockquote:last-of-type p:last-of-type{
|
|
margin-top: -1em;
|
|
text-indent: 9em;
|
|
}
|
|
|
|
#chapter-9 blockquote.first-of-type p,
|
|
#chapter-9 blockquote:first-of-type p{
|
|
font-style: italic;
|
|
}
|
|
|
|
#chapter-3 blockquote.epub-type-z3998-song.last-of-type p > span,
|
|
#chapter-3 blockquote.epub-type-z3998-song:last-of-type p > span{
|
|
padding: 0;
|
|
}
|
|
|
|
#chapter-3 blockquote.last-of-type p,
|
|
#chapter-3 blockquote:last-of-type p,
|
|
#chapter-5 blockquote.first-of-type,
|
|
#chapter-5 blockquote:first-of-type,
|
|
#chapter-5 blockquote header p,
|
|
#chapter-5 blockquote.last-of-type,
|
|
#chapter-5 blockquote:last-of-type,
|
|
#chapter-9 blockquote.last-of-type p,
|
|
#chapter-9 blockquote:last-of-type p{
|
|
text-align: center;
|
|
text-indent: 0;
|
|
}
|
|
|
|
#chapter-3 blockquote > header,
|
|
#chapter-5 blockquote header p,
|
|
#chapter-5 blockquote.first-of-type p.first-of-type,
|
|
#chapter-5 blockquote:first-of-type p:first-of-type,
|
|
#chapter-5 blockquote.last-of-type p.first-of-type,
|
|
#chapter-5 blockquote:last-of-type p:first-of-type,
|
|
#chapter-9 blockquote.nth-of-type-2 p,
|
|
#chapter-9 blockquote:nth-of-type(2) p,
|
|
#chapter-9 blockquote.last-of-type p,
|
|
#chapter-9 blockquote:last-of-type p{
|
|
font-variant: small-caps;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
#chapter-9 > p.first-of-type > q,
|
|
#chapter-9 > p:first-of-type > q{
|
|
font-style: normal;
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
/* drama */
|
|
table.epub-type-z3998-drama{
|
|
border-collapse: collapse;
|
|
margin-top: 1em;
|
|
margin-right: auto;
|
|
margin-bottom: 1em;
|
|
margin-left: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.epub-type-z3998-drama tr.first-child td,
|
|
.epub-type-z3998-drama tr:first-child td{
|
|
padding-top: 0;
|
|
}
|
|
|
|
.epub-type-z3998-drama tr.last-child td,
|
|
.epub-type-z3998-drama tr:last-child td{
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.epub-type-z3998-drama td{
|
|
padding: .5em;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.epub-type-z3998-drama td.last-child,
|
|
.epub-type-z3998-drama td:last-child{
|
|
padding-right: 0;
|
|
}
|
|
|
|
.epub-type-z3998-drama td.first-child,
|
|
.epub-type-z3998-drama td:first-child{
|
|
padding-left: 0;
|
|
}
|
|
|
|
.epub-type-z3998-drama td.epub-type-z3998-persona{
|
|
hyphens: none;
|
|
adobe-text-layout: optimizeSpeed; /* For Nook */
|
|
adobe-hyphenate: none;
|
|
-webkit-hyphens: none;
|
|
-moz-hyphens: none;
|
|
-epub-hyphens: none;
|
|
text-align: right;
|
|
width: 20%;
|
|
}
|
|
|
|
.epub-type-z3998-stage-direction{
|
|
font-style: italic;
|
|
}
|
|
|
|
.epub-type-z3998-stage-direction::before{
|
|
content: "(";
|
|
font-style: normal;
|
|
}
|
|
|
|
.epub-type-z3998-stage-direction::after{
|
|
content: ")";
|
|
font-style: normal;
|
|
}
|
|
|
|
.epub-type-z3998-persona{
|
|
font-variant: small-caps;
|
|
text-transform: lowercase;
|
|
}
|
|
/* end drama */
|
|
|
|
/* signature */
|
|
.epub-type-z3998-signature{
|
|
font-variant: small-caps;
|
|
} |