Skip to content

Commit

Permalink
Tweak semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Mar 14, 2024
1 parent 2599fb3 commit 30e7877
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 6 additions & 1 deletion src/epub/css/local.css
@@ -1,5 +1,6 @@
@charset "utf-8";
@namespace epub "http://www.idpf.org/2007/ops";
@namespace xml "http://www.w3.org/XML/1998/namespace";

/* Begin ALL EPIGRAPHS */
[epub|type~="epigraph"]{
Expand All @@ -8,7 +9,7 @@
-epub-hyphens: none;
}

[epub|type~="epigraph"] i{
[epub|type~="epigraph"] p[xml|lang]{
font-style: normal;
}

Expand Down Expand Up @@ -36,6 +37,10 @@ section[epub|type~="epigraph"] > *{
text-align: initial;
}

[epub|type~="epigraph"] p + p{
text-indent: 0;
}

@supports(display: flex){
section[epub|type~="epigraph"]{
align-items: center;
Expand Down
10 changes: 4 additions & 6 deletions src/epub/text/epigraph.xhtml
Expand Up @@ -8,8 +8,8 @@
<body epub:type="frontmatter">
<section id="epigraph" epub:type="epigraph">
<blockquote>
<p><i xml:lang="la">Ego doceo sine strepitu verborum, sine confusione opinionum, sine fastu honoris, sine impugnatione argumentorum.</i></p>
<p class="continued">“I teach without noise of words, without confusion of opinions, without the arrogance of honour, without the assault of arguments.”</p>
<p xml:lang="la">Ego doceo sine strepitu verborum, sine confusione opinionum, sine fastu honoris, sine impugnatione argumentorum.”</p>
<p>“I teach without noise of words, without confusion of opinions, without the arrogance of honour, without the assault of arguments.”</p>
<cite><i epub:type="se:name.publication.book" xml:lang="la">De Imitatione Christi</i>, chapter <span epub:type="z3998:roman">LXIII</span></cite>
</blockquote>
<blockquote epub:type="z3998:verse">
Expand All @@ -21,10 +21,8 @@
<cite><i epub:type="se:name.publication.play">Macbeth</i>, Act <span epub:type="z3998:roman">I</span>, Scene 3</cite>
</blockquote>
<blockquote>
<p>
<i xml:lang="grc">Ἅδην δ’ ἔχων βοηθον οὐ τρέμω σκιάς.</i>
</p>
<p class="continued">“Having death for my friend, I tremble not at shadows.”</p>
<p xml:lang="grc">Ἅδην δ’ ἔχων βοηθον οὐ τρέμω σκιάς.</p>
<p>“Having death for my friend, I tremble not at shadows.”</p>
<cite>Unknown Greek Author</cite>
</blockquote>
</section>
Expand Down

0 comments on commit 30e7877

Please sign in to comment.