Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix minor CSS issues
  • Loading branch information
ralsina committed Sep 12, 2015
1 parent b65fcfe commit 90e2e87
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 68 deletions.
28 changes: 11 additions & 17 deletions listings/book.tmpl
Expand Up @@ -22,7 +22,7 @@
-webkit-column-rule: 1px solid #ddd;
height: 90vh;
font-family: 'Gentium Book Basic', serif;
font-color: #2d2e2e;
color: #2d2e2e;
font-weight: 500;
}
div.frame {
Expand All @@ -35,10 +35,7 @@
padding: 0;
margin: 0;
}
h1,
h2,
h3,
h4 {
h1, h2, h3, h4 {
text-align: center;
width: 100%;
font-family: 'Gentium Book Basic', serif;
Expand All @@ -52,22 +49,20 @@
text-align: center;
width: 100%;
}
.figure {
height: 88vh;
margin: 0;
}
.illus1,
.front {
margin-left: auto;
margin-right: auto;
.bookfig {
width: 100%;
height: auto;
max-width: 100%;
max-height: 100%;
height: auto;
}
div.figure {
height: 88vh;
margin: 0;
}
div.topic {
margin: 0;
}
div.section>p {
div.section > p {
text-indent: 1em;
margin-bottom: 0;
text-align: justify;
Expand All @@ -85,6 +80,7 @@
</div>
</div>
</div>
</article>
<script>
$('#scrolling-cont').flowtype({
minimum: 500,
Expand All @@ -108,6 +104,4 @@
});
});
</script>
</article>

</%block>
25 changes: 10 additions & 15 deletions listings/book2.tmpl
Expand Up @@ -22,7 +22,7 @@
-webkit-column-rule: 1px solid #ddd;
height: 90vh;
font-family: 'Gentium Book Basic', serif;
font-color: #2d2e2e;
color: #2d2e2e;
font-weight: 500;
}
div.frame {
Expand All @@ -35,10 +35,7 @@
padding: 0;
margin: 0;
}
h1,
h2,
h3,
h4 {
h1, h2, h3, h4 {
text-align: center;
width: 100%;
font-family: 'Gentium Book Basic', serif;
Expand All @@ -52,22 +49,20 @@
text-align: center;
width: 100%;
}
.figure {
height: 88vh;
margin: 0;
}
.illus1,
.front {
margin-left: auto;
margin-right: auto;
.bookfig {
width: 100%;
height: auto;
max-width: 100%;
max-height: 100%;
height: auto;
}
div.figure {
height: 88vh;
margin: 0;
}
div.topic {
margin: 0;
}
div.section>p {
div.section > p {
text-indent: 1em;
margin-bottom: 0;
text-align: justify;
Expand Down
6 changes: 2 additions & 4 deletions stories/dr-nikola.inc
Expand Up @@ -7,8 +7,7 @@ By `GUY BOOTHBY <http://www.gutenberg.org/ebooks/author/3587>`__
Author of "Dr. Nikola," "The Beautiful White Devil," etc., etc.

.. figure:: /images/frontispiece.jpg
:class: front
:figclass: figure2
:class: bookfig

.. topic:: The Project Gutenberg EBook of A Bid for Fortune, by Guy Boothby

Expand Down Expand Up @@ -37,8 +36,7 @@ Author of "Dr. Nikola," "The Beautiful White Devil," etc., etc.
1918

.. figure:: /images/illus_001.jpg
:class: illus1
:figclass: figure1
:class: bookfig

PART I
======
Expand Down
28 changes: 11 additions & 17 deletions templates/book.tmpl
Expand Up @@ -22,7 +22,7 @@
-webkit-column-rule: 1px solid #ddd;
height: 90vh;
font-family: 'Gentium Book Basic', serif;
font-color: #2d2e2e;
color: #2d2e2e;
font-weight: 500;
}
div.frame {
Expand All @@ -35,10 +35,7 @@
padding: 0;
margin: 0;
}
h1,
h2,
h3,
h4 {
h1, h2, h3, h4 {
text-align: center;
width: 100%;
font-family: 'Gentium Book Basic', serif;
Expand All @@ -52,22 +49,20 @@
text-align: center;
width: 100%;
}
.figure {
height: 88vh;
margin: 0;
}
.illus1,
.front {
margin-left: auto;
margin-right: auto;
.bookfig {
width: 100%;
height: auto;
max-width: 100%;
max-height: 100%;
height: auto;
}
div.figure {
height: 88vh;
margin: 0;
}
div.topic {
margin: 0;
}
div.section>p {
div.section > p {
text-indent: 1em;
margin-bottom: 0;
text-align: justify;
Expand All @@ -85,6 +80,7 @@
</div>
</div>
</div>
</article>
<script>
$('#scrolling-cont').flowtype({
minimum: 500,
Expand All @@ -108,6 +104,4 @@
});
});
</script>
</article>

</%block>
25 changes: 10 additions & 15 deletions templates/book2.tmpl
Expand Up @@ -22,7 +22,7 @@
-webkit-column-rule: 1px solid #ddd;
height: 90vh;
font-family: 'Gentium Book Basic', serif;
font-color: #2d2e2e;
color: #2d2e2e;
font-weight: 500;
}
div.frame {
Expand All @@ -35,10 +35,7 @@
padding: 0;
margin: 0;
}
h1,
h2,
h3,
h4 {
h1, h2, h3, h4 {
text-align: center;
width: 100%;
font-family: 'Gentium Book Basic', serif;
Expand All @@ -52,22 +49,20 @@
text-align: center;
width: 100%;
}
.figure {
height: 88vh;
margin: 0;
}
.illus1,
.front {
margin-left: auto;
margin-right: auto;
.bookfig {
width: 100%;
height: auto;
max-width: 100%;
max-height: 100%;
height: auto;
}
div.figure {
height: 88vh;
margin: 0;
}
div.topic {
margin: 0;
}
div.section>p {
div.section > p {
text-indent: 1em;
margin-bottom: 0;
text-align: justify;
Expand Down

0 comments on commit 90e2e87

Please sign in to comment.