book reviews redo

This commit is contained in:
2024-07-28 14:51:06 -05:00
parent 55d8f22816
commit 7b0e58d8bd
4 changed files with 35 additions and 16 deletions

View File

@@ -100,7 +100,7 @@ p, li {
font-size: 1rem; font-size: 1rem;
} }
a { a, a p {
color: #a0a0a0a0; color: #a0a0a0a0;
text-decoration: none; text-decoration: none;
} }
@@ -718,6 +718,10 @@ a {
justify-content: center; justify-content: center;
} }
.fullHeight {
height: 100%;
}
.chess { .chess {
max-width: 300px; max-width: 300px;
border: none; border: none;
@@ -892,8 +896,10 @@ a {
} }
.bookReview { .bookReview {
width: 6em; width: min(100%, 30em);
padding: 1em; padding: 1em;
border: solid 3px rgba(139, 36, 36, 0.5);
flex-grow: 1;
} }
.bookcover { .bookcover {
@@ -901,9 +907,10 @@ a {
} }
.booklist { .booklist {
margin: min(10em, 10%); /* margin: min(10em, 10%);
margin-bottom: 2em; margin-bottom: 2em;
margin-top: 2em; margin-top: 2em; */
justify-content: left;
} }
.boxed { .boxed {
@@ -913,6 +920,10 @@ a {
padding: 1em; padding: 1em;
} }
.emPad {
padding: 1em;
}
.timeitem { .timeitem {
transition: .4s; transition: .4s;
overflow-y: clip; overflow-y: clip;

View File

@@ -43,7 +43,7 @@
"The Tyranny of Metrics": { "The Tyranny of Metrics": {
"filename": "TyrannyOfMetrics.jpg", "filename": "TyrannyOfMetrics.jpg",
"link": "https://www.amazon.com/Tyranny-Metrics-Jerry-Z-Muller/dp/0691174954", "link": "https://www.amazon.com/Tyranny-Metrics-Jerry-Z-Muller/dp/0691174954",
"review": "Library find. Very appreciated read given my field of study. Adds a new lens on the cost of information and how it impacts us from the cube office to the oval office" "review": "Library find. Very appreciated read given my field of study. Adds a new lens on the cost of information and how it impacts us from the cube office to the oval office."
}, },
"The Accidental Superpower": { "The Accidental Superpower": {
"filename": "theAccidentalSuperpower.jpeg", "filename": "theAccidentalSuperpower.jpeg",

View File

@@ -6,6 +6,6 @@
<loc>https://asimonson.com/Resume</loc> <loc>https://asimonson.com/Resume</loc>
<loc>https://asimonson.com/duck</loc> <loc>https://asimonson.com/duck</loc>
<loc>https://asimonson.com/books</loc> <loc>https://asimonson.com/books</loc>
<lastmod>2024-05-19</lastmod> <lastmod>2024-07-24</lastmod>
</url> </url>
</urlset> </urlset>

View File

@@ -16,19 +16,27 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<h3>All Reviews</h3>
<p>Hover to reveal review<br />Read to reveal KNOWLEDGE</p> <p>Hover to reveal review<br />Read to reveal KNOWLEDGE</p>
<div class="booklist flex wrap mobileV"> <div class="booklist flex wrap">
{% for i in var.books.books %} {% for i in var.books.books %}
<div id="'{{i}}'" class="bookReview"> <div id="'{{i}}'" class="bookReview">
<div class="hover-container"> <div class='fullHeight flex'>
<img <div>
class="bookcover" <div class='heightBox'>
alt="{{i}} cover" <img
src="{{ url_for('static', filename=('photos/books/' + var.books.books[i].filename))}}" class="bookcover"
/> alt="{{i}} cover"
<div class="hover-element"> src="{{ url_for('static', filename=('photos/books/' + var.books.books[i].filename))}}"
<p>{{ var.books.books[i].review }}</p> />
<a href="{{ var.books.books[i].link }}">Book Source</a> </div>
</div>
<div class='vFlex emPad spaceBetween'>
<div>
<h4 class='nomargin'>{{ i }}</h4>
<p class='nomargin'>{{ var.books.books[i].review }}</p>
</div>
<a href="{{ var.books.books[i].link }}"><p>Book Source</p></a>
</div> </div>
</div> </div>
</div> </div>