diff --git a/src/static/css/App.css b/src/static/css/App.css index bbdced7..7215ad3 100644 --- a/src/static/css/App.css +++ b/src/static/css/App.css @@ -666,10 +666,21 @@ a { .bookshelf { width: 360px; padding: 10px; + border: solid 2px #553; + background-image: url("https://wallpapercave.com/wp/wp4292426.jpg"); +} + +.bookshelfHeader { + color: lightgray; + margin: .5em; + border-bottom: solid black 3px; + margin-right: 5em; +} + +.bookContainer { display: flex; justify-content: space-around; flex-wrap: wrap; - background-color: #a58a45; } .book { @@ -686,7 +697,9 @@ a { .book h4 { font-size: x-small; - color: black; + color: lightgray; + margin-bottom: 0; + text-align: center; } .bookReview { diff --git a/src/templates/partials/bookshelf.html b/src/templates/partials/bookshelf.html index 59cd7a9..6269396 100644 --- a/src/templates/partials/bookshelf.html +++ b/src/templates/partials/bookshelf.html @@ -1,17 +1,20 @@ {% macro bookshelf(books) %}
- {% for i in books.selection %} {% set book = books.books[i] %} - -
- {{ i }} cover -

{{ i }}

-
-
- {% endfor %} +
I read things:
+
+ {% for i in books.selection %} {% set book = books.books[i] %} + +
+ {{ i }} cover +

{{ i }}

+
+
+ {% endfor %} +
{% endmacro %}