Skip to content

Commit

Permalink
another image, tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Sep 11, 2015
1 parent e46d01b commit 4628d91
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 21 deletions.
Binary file added nikola/data/samplesite/images/frontispiece.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions nikola/data/samplesite/stories/dr-nikolas-vendetta.rst
Expand Up @@ -6,10 +6,9 @@ By GUY BOOTHBY

Author of "Dr. Nikola," "The Beautiful White Devil," etc., etc.


DR. NIKOLA
~~~~~~~~~~

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

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

Expand Down Expand Up @@ -37,8 +36,6 @@ DR. NIKOLA
LONDON, MELBOURNE AND TORONTO
1918

------------------------

.. figure:: /images/illus_001.jpg
:class: illus1
:figclass: figure1
Expand Down
44 changes: 29 additions & 15 deletions nikola/data/samplesite/templates/book.tmpl
Expand Up @@ -23,6 +23,7 @@
-webkit-column-rule: 1px solid #ddd;
height: 800px;
font-family: 'Gentium Book Basic', serif;
font-color: #2d2e2e;
}

div.frame {
Expand All @@ -36,25 +37,41 @@
margin: 0;
}

.illus1 {
margin-left: auto;
margin-right: auto;
max-height: 780px;
h1, h2, h3, h4 {
text-align: center;
width: 100%;
font-family: 'Rye', cursive;
font-size: 120%;
}

.figure1 {
padding-top: 20%;
h1 {
font-size: 150%;
}

.figure2 {
height: 40%;
padding-bottom: 20%;
height: 80%;
}
.figure1 {
height: 800px;
padding: 0;
margin: 0;
}

h1, h2, h3, h4 {
text-align: center;
width: 100%;
font-family: 'Rye', cursive;
.illus1, .front {
margin-left: auto;
margin-right: auto;
max-height: 500px;
}
.illus1 {
height: 700px;
width: auto;
margin: 0;
}

div.topic {
margin: 0;
}
</style>
</%block>

Expand All @@ -63,10 +80,7 @@
<div class="frame">
<div class="scrolling-cont" id="scrolling-cont" name="scrolling-cont">
<div class="e-content entry-content chapter" itemprop="articleBody text">
<header>
${pheader.html_title()}
${pheader.html_translations(post)}
</header>
${pheader.html_title()}
${post.text()}
</div>
</div>
Expand Down

0 comments on commit 4628d91

Please sign in to comment.