book reviews

This commit is contained in:
2023-04-30 16:43:51 -05:00
parent 06d3642d08
commit 8e8d0a8492
9 changed files with 127 additions and 23 deletions

View File

@@ -195,7 +195,7 @@ a {
position: relative; position: relative;
padding-top: 6rem; padding-top: 6rem;
padding-left: 8rem; padding-left: 8rem;
width: calc(100%-8rem); max-width: calc(100%-8rem);
min-height: calc(100vh - 8rem); min-height: calc(100vh - 8rem);
background-color: rgb(24, 24, 24, .85); background-color: rgb(24, 24, 24, .85);
padding-bottom: 1rem; padding-bottom: 1rem;
@@ -264,6 +264,11 @@ a {
height: 100%; height: 100%;
} }
.wrap {
flex-wrap: wrap;
max-width: 100%;
}
.spaceBetween { .spaceBetween {
justify-content: space-between; justify-content: space-between;
} }
@@ -703,11 +708,17 @@ a {
} }
.bookReview { .bookReview {
margin-top: 3em; width: 6em;
padding: 1em;
} }
.bookcover { .bookcover {
width: 10em; width: 6em;
}
.booklist {
margin: min(10em, 10%);
margin-bottom: 20em;
} }
.timeitem { .timeitem {
@@ -753,6 +764,27 @@ a {
width: 75px; width: 75px;
} }
.hover-container {
position: relative;
}
.hover-container .hover-element {
position: absolute;
top: 3em;
left: -50%;
z-index: 10;
padding: 1em;
border-radius: 1em;
width: 20em;
background-color: #1a1a1a;
opacity: 0;
transition: 1s;
}
.hover-container:hover .hover-element {
opacity: 1;
}
@font-face { @font-face {
font-family: Chess New; font-family: Chess New;
src: url('https://www.chess.com/bundles/web/fonts/chessglyph-new.0cc8115c.woff2'); src: url('https://www.chess.com/bundles/web/fonts/chessglyph-new.0cc8115c.woff2');
@@ -760,6 +792,10 @@ a {
@media screen and (max-width: 1200px) { @media screen and (max-width: 1200px) {
.mobileV {
flex-direction: column;
}
#menu { #menu {
display: unset; display: unset;
} }
@@ -798,7 +834,7 @@ a {
} }
.foreground { .foreground {
width: 100%; max-width: 100%;
padding-left: 2rem; padding-left: 2rem;
/* centered objects will need to remove 1.5 of this to center */ /* centered objects will need to remove 1.5 of this to center */
padding-right: .5rem; padding-right: .5rem;

View File

@@ -1,13 +1,80 @@
{ {
"selection": ["Freakonomics", "Zero To One", "The Accidental Superpower", "Courage is Calling"], "selection": [
"Freakonomics",
"Zero To One",
"The Accidental Superpower",
"David and Goliath"
],
"books": { "books": {
"Freakonomics": { "filename": "freakonomics.jpeg" }, "Freakonomics": {
"Disunited Nations": { "filename": "disunitedNations.jpeg" }, "filename": "freakonomics.jpeg",
"The Accidental Superpower": { "filename": "theAccidentalSuperpower.jpeg" }, "link": "https://freakonomics.com/books/",
"Give Me a Break": { "filename": "giveMeABreak.jpeg" }, "review": "The original on cracked economics. Dozens of case studies heavy on the unexpected results of incentives. Mind Expanding. Very nice."
"Zero To One": { "filename": "zeroToOne.jpeg" }, },
"Courage is Calling": { "filename": "courageIsCalling.jpeg"}, "Superfreakonomics": {
"On Grand Strategy": { "filename": "onGrandStrategy.jpeg"}, "filename": "superfreakonomics.jpeg",
"The Parasitic Mind": { "filename": "theParasiticMind.jpeg"} "link": "https://freakonomics.com/books/",
"review": "More of the goods? Excellent. A number of case studies on finding simple solutions to wicked problems through changing the attack vector in brainstorming. Another fun read."
},
"When to Rob a Bank": {
"filename": "whenToRobABank.jpeg",
"link": "https://freakonomics.com/books/",
"review": "Collection of blog posts. Good for short reading sessions. I read this one first, I thought the Freakonomics mode of thinking was hilarious. Classic."
},
"Think like a Freak": {
"filename": "thinkLikeAFreak.jpg",
"link": "https://freakonomics.com/books/",
"review": "I'm reading this right now! haahahahahahahaa\nIt's classic freakonomics content"
},
"The Accidental Superpower": {
"filename": "theAccidentalSuperpower.jpeg",
"link": "https://zeihan.com/",
"review": "My intro to geopolitics, brilliant hook that made possibly my fastest read ever. The straightforward the lines of reasoning and grounding in concrete realities that few would consider controversial is incredible, even when the conclusions seem hyper-dramatic."
},
"The Absent Superpower": {
"filename": "theAbsentSuperpower.jpeg",
"link": "https://zeihan.com/",
"review": "Hadn't realized the author was the same as Accidental when I bought it. It covered a lot of the same stuff but with a heavvy emphasis on fracking technology which was a bit slow but it solidified the veracity of Zeihan's worldview."
},
"Disunited Nations": {
"filename": "disunitedNations.jpeg",
"link": "https://zeihan.com/disunited-nations/",
"review": "Chapter profiles of key countries in the world provides lots of interesting supporting details, but being the third book of its kind made the rehashing a bit of a drag."
},
"The End of the World is Just the Beginning": {
"filename": "theEndOfTheWorldIsJustTheBeginning.jpeg",
"link": "https://zeihan.com/end-of-the-world/",
"review": "Separates itself from the others by Zeihan in its breakdown of specific resources of every category, from nickel to corn. Being generalized, specific, and an enjoyable read all at the same time. Galaxy Brain stuff."
},
"Give Me a Break": {
"filename": "giveMeABreak.jpeg",
"link": "https://www.amazon.com/Give-Me-Break-Exposed-Hucksters-ebook/dp/B000FC2NF8/",
"review": "I expected a boring autobiography-type book, but instead is a glimpse inside Stossel's work that transformed itself as it transformed his view. Was very happy to see a figure of similar personal ideology. Probably made it a little too easy to swallow that pill."
},
"Zero To One": {
"filename": "zeroToOne.jpeg",
"link": "https://www.amazon.com/Zero-One-Notes-Startups-Future/dp/0804139296",
"review": "Initially very frustrating read. Took a bit of internal review to realize that this is an entrepreneurial perspective, not a consumer one. After that, it's quite eye-opening in ways that would've been obvious without the lens of life experience. The optimistic takes are very much appreciated and their justifications are solid."
},
"Courage is Calling": {
"filename": "courageIsCalling.jpeg",
"link": "https://www.amazon.com/Courage-Calling-Fortune-Favors-Brave/dp/B094PMPCBT/",
"review": "Average on the readability scale, but inspiring all the same. As a primer in stoicism it gets a 8/10 for not enough gigachad energy to match the gigachad content."
},
"On Grand Strategy": {
"filename": "onGrandStrategy.jpeg",
"link": "https://www.amazon.com/Grand-Strategy-John-Lewis-Gaddis/dp/1594203512",
"review": "Book for the academically-inclined. Not fun to read. Big words scary. It's insightful to be sure but I wouldn't read it again. The message on conceptual contradictions has stuck with me. Quite the brain food."
},
"The Parasitic Mind": {
"filename": "theParasiticMind.jpeg",
"link": "https://www.amazon.com/Parasitic-Mind-Infectious-Killing-Common/dp/1684512298/",
"review": "The humor is the most memorable part but the concepts are no slouches. The contemporary culture war basis makes it tricky to talk about, but it absolutely should be discussed."
},
"David and Goliath": {
"filename": "davidAndGoliath.png",
"link": "https://www.amazon.com/David-Goliath-Underdogs-Misfits-Battling/dp/0316239852/",
"review": "Book contains takes that may not be hot, but *are* incredibly based. In a sentence: Goliath is only the giant from the wrong perspectives. The only reason it's not one of my favorites is that it's tamer than the aggressively standoffish and hilarious."
}
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

View File

@@ -1,22 +1,23 @@
{% block content %} {% block content %}
<div class="foreground"> <div class="foreground">
<h2>These are my books lol</h2> <h2>These are some of my books lol</h2>
<h3> <h3>hover to reveal review</h3>
This page is under construction but I felt like at least publishing a list <div class="booklist flex wrap mobileV">
of books even if they didn't have reviews on them yet {% for i in var.books.books %}
</h3>
{% for i in var.books.books %}
<div id="'{{i}}'" class="bookReview"> <div id="'{{i}}'" class="bookReview">
<h4>{{i}}</h4> <div class="hover-container">
<div>
<img <img
class="bookcover" class="bookcover"
alt="{{i}} cover" alt="{{i}} cover"
src="{{ url_for('static', filename=('photos/books/' + var.books.books[i].filename))}}" src="{{ url_for('static', filename=('photos/books/' + var.books.books[i].filename))}}"
/> />
<p>{{ var.books.books[i].review }}</p> <div class="hover-element">
<p>{{ var.books.books[i].review }}</p>
<a href="{{ var.books.books[i].link }}">Book Source</a>
</div>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
</div>
</div> </div>
{% endblock %} {% endblock %}