Skip to content

Commit

Permalink
Fixes layout
Browse files Browse the repository at this point in the history
  • Loading branch information
javierarce committed Oct 3, 2023
1 parent 89f5ebb commit ca5f09d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _layouts/book.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
<div class="Book__author">{{ page.author }}</div>
</div>
<div class="Book__page">
{% if page.cover -%}
<div class="Book__cover">
<img src="/img/covers/{{page.cover}}" alt="Cover for {{page.title}}">
</div>
{% endif -%}
{{ content }}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _sass/Book.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
.Book__author {
display: block;
opacity: 0.5;
font-size: 1em;
font-size: 0.9em;
font-style: italic;
font-family: "Times New Roman", Times, Baskerville, Georgia, serif;
font-family: Georgia, serif;
}

.Book__content.is-light p {
Expand Down

0 comments on commit ca5f09d

Please sign in to comment.