Skip to content

Commit

Permalink
Replace .signature class with z3998:signature epub:type
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Sep 10, 2020
1 parent 97e6018 commit a2f83a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/epub/css/local.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ footer{
margin-bottom: 0;
}

.signature{
[epub:type~="z3998:signature"]{
font-variant: small-caps;
}

Expand Down
2 changes: 1 addition & 1 deletion src/epub/text/foreword.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</blockquote>
<p>Leonid Andreyev died of a broken heart. But the spirit of his genius is deathless.</p>
<footer>
<p class="signature">Herman Bernstein.</p>
<p epub:type="z3998:signature">Herman Bernstein.</p>
<p>New York, September.</p>
</footer>
</section>
Expand Down

0 comments on commit a2f83a5

Please sign in to comment.