Skip to content

Commit

Permalink
Move custom poetry CSS to its own section
Browse files Browse the repository at this point in the history
  • Loading branch information
javamanatee committed May 22, 2024
1 parent 7af04c4 commit 74d4d78
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/epub/css/local.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
text-indent: 0;
}

[epub|type~="z3998:poem"] p + p > span:first-child{
padding-left: 2em;
text-indent: -1em;
}

[epub|type~="z3998:poem"] p > span{
display: block;
padding-left: 1em;
Expand All @@ -23,6 +18,13 @@
}
/* end poetry */

/* custom poetry */
[epub|type~="z3998:poem"] p + p > span:first-child{
padding-left: 2em;
text-indent: -1em;
}
/* end custom poetry */

/* era */
abbr[epub|type~="se:era"]{
font-variant: all-small-caps;
Expand Down

0 comments on commit 74d4d78

Please sign in to comment.