Skip to content

Commit 1901d50

Browse files
skotnicznymarijnh
authored andcommitted
Tweaks to HTML and CSS
1 parent 30e6bf2 commit 1901d50

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

epub/style.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ h3 {
6868

6969
div.chap_num {
7070
font-family: 'Cinzel', Georgia, serif;
71-
display: block;
7271
margin-bottom: -0.8rem;
7372
}
7473

@@ -144,6 +143,10 @@ sup {
144143
font-size: 70%;
145144
}
146145

146+
ol li p {
147+
margin: 0;
148+
}
149+
147150
/* Syntax highlighting */
148151
.cm-keyword {color: #506;}
149152
.cm-atom {color: #106;}

html/css/ejs.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ ol li p {
160160
font-size: 60%;
161161
color: #aaa;
162162
margin-top: -.7em;
163+
display: block;
163164
}
164165

165166
blockquote {

src/chapter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<<if $in.next_link>> <a href="<<t $in.next_link>>.html" title="next chapter"></a><</if>>
2424
</nav>
2525

26-
<h1<<if $in.id>> id="<<t $in.id>>"<</if>>><<if $in.chap_num>><div class=chap_num>Chapter <<t $in.chap_num>></div><</if>><<t $in.title>></h1>
26+
<h1<<if $in.id>> id="<<t $in.id>>"<</if>>><<if $in.chap_num>><span class=chap_num>Chapter <<t $in.chap_num>></span><</if>><<t $in.title>></h1>
2727

2828
<<h $in.content>>
2929

0 commit comments

Comments
 (0)