mirror of
https://github.com/standardebooks/o-henry_short-fiction.git
synced 2024-12-07 10:37:39 +08:00
Add some story-specific CSS
This commit is contained in:
parent
a8c2f93da2
commit
576a74288e
@ -6,26 +6,14 @@ span[epub|type~="subtitle"]{
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
blockquote[xml|lang]{
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
abbr.era{
|
||||
font-variant: all-small-caps;
|
||||
}
|
||||
|
||||
table{
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
tr:last-child td:last-child{
|
||||
border-top: 1px solid;
|
||||
}
|
||||
|
||||
td:first-child{
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
td:last-child{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
[epub|type~="epigraph"]{
|
||||
font-style: italic;
|
||||
hyphens: none;
|
||||
@ -104,12 +92,14 @@ p span.i3{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
[epub|type~="z3998:salutation"] + p,
|
||||
[epub|type~="z3998:letter"] header + p{
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
[epub|type~="z3998:recipient"],
|
||||
[epub|type~="z3998:salutation"]{
|
||||
[epub|type~="z3998:salutation"],
|
||||
[epub|type~="z3998:sender"]{
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
@ -118,10 +108,20 @@ footer{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
p.signature{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.signature{
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
[epub|type~="z3998:postscript"]{
|
||||
margin-top: 1em;
|
||||
text-indent: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
[epub|type~="z3998:drama"] tr:first-child td{
|
||||
padding-top: 0;
|
||||
}
|
||||
@ -172,3 +172,61 @@ footer{
|
||||
[epub|type~="z3998:persona"]{
|
||||
font-variant: all-small-caps;
|
||||
}
|
||||
|
||||
#conscience-in-art table{
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
#conscience-in-art tr:last-child td:last-child{
|
||||
border-top: 1px solid;
|
||||
}
|
||||
|
||||
#conscience-in-art td:first-child{
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
#conscience-in-art td:last-child{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#sound-and-fury p:last-child{
|
||||
font-variant: small-caps;
|
||||
margin-top: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#the-vitagraphoscope section > header + *{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#the-vitagraphoscope header{
|
||||
font-variant: small-caps;
|
||||
hyphens: none;
|
||||
-epub-hyphens: none;
|
||||
page-break-after: avoid;
|
||||
page-break-inside: avoid;
|
||||
text-align: center;
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#the-vitagraphoscope header p:nth-child(2){
|
||||
font-style: italic;
|
||||
font-variant: normal;
|
||||
}
|
||||
|
||||
#the-vitagraphoscope-1-3 p:last-child{
|
||||
font-variant: small-caps;
|
||||
margin-top: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#a-departmental-case blockquote > header{
|
||||
font-variant: all-small-caps;
|
||||
margin-bottom: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#a-departmental-case blockquote > header + p {
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user