Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use vh to avoid fixed-height
  • Loading branch information
ralsina committed Sep 11, 2015
1 parent 4628d91 commit 0f08e96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
1 change: 1 addition & 0 deletions nikola/data/samplesite/stories/dr-nikolas-vendetta.rst
Expand Up @@ -46,6 +46,7 @@ PART I
PROLOGUE
--------


The manager of the new Imperial Restaurant on the Thames Embankment went
into his luxurious private office and shut the door. Having done so, he
first scratched his chin reflectively, and then took a letter from the
Expand Down
20 changes: 6 additions & 14 deletions nikola/data/samplesite/templates/book.tmpl
Expand Up @@ -21,7 +21,7 @@
-webkit-column-width: 400px;
-webkit-column-count: 2;
-webkit-column-rule: 1px solid #ddd;
height: 800px;
height: 90vh;
font-family: 'Gentium Book Basic', serif;
font-color: #2d2e2e;
}
Expand All @@ -48,25 +48,17 @@
font-size: 150%;
}

.figure2 {
height: 40%;
padding-bottom: 20%;
}
.figure1 {
height: 800px;
padding: 0;
margin: 0;
.figure {
height: 90vh;
padding-top: 10vh;
margin: 0;
}

.illus1, .front {
margin-left: auto;
margin-right: auto;
max-height: 500px;
}
.illus1 {
height: 700px;
max-height: 70vh;
width: auto;
margin: 0;
}

div.topic {
Expand Down

0 comments on commit 0f08e96

Please sign in to comment.