commit: 267e301258488f9a306e924e17f6e51f71f59869
parent 0403feb8f01168afb7790549a5a134726021cc13
Author: Matt Korostoff <mkorostoff@gmail.com>
Date: Thu, 27 Aug 2020 15:33:06 -0400
Merge pull request #51 from MKorostoff/feature/update-bezos-wealth
200 BILLION
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/index.html b/index.html
@@ -67,7 +67,7 @@
<div name="bezos" class="wealth-wrapper bezos">
<div id="bezos" class="wealth ruler">
- <h2 class="wealth-title">$171 billion (wealth of Jeff Bezos)</h2>
+ <h2 class="wealth-title">$200 billion (wealth of Jeff Bezos)</h2>
<div class="counter" id="bezos-counter"></div>
<div class="key">
<span>$80 million</span>
@@ -131,7 +131,7 @@
<div class="square shadow">
<div class="title">Annual cost of chemotherapy for all cancer patients ($9 billion)</div>
<div class="midtext-wrapper">
- <div class="midtext">In 2018, Jeff Bezos made $9 billion in about 40 days.</div>
+ <div class="midtext">On July 20th 2020 Jeff Bezos made <a href="https://www.cnbc.com/2020/07/21/bezos-record-multibillion-dollar-net-worth-gain-bloomberg.html" target="_blank">$13 billion</a> in a single day.</div>
</div>
</div>
</div>
diff --git a/main.css b/main.css
@@ -226,8 +226,8 @@ h1 {
}
.infobox {
z-index: 1;
- margin-left: 6000px;
- width: 12000px;
+ margin-left: 8000px;
+ width: 15000px;
}
.four-hundred .infobox {
width: 4000px;
@@ -295,7 +295,7 @@ h1 {
background-color: #03A9F4;
}
.bezos .wealth {
- width: 342000px;
+ width: 400000px;
height: 500px;
background-color: orange;
}
diff --git a/main.js b/main.js
@@ -79,7 +79,7 @@ function update_wealth_counter() {
if (bezos_viewable()) {
if (bezos_counter_viewable()) {
let wealth = (window.scrollX - bezos.offsetLeft + 175) * 500000;
- bezos_counter.innerHTML = (wealth < 171000000000) ? money.format(wealth) : "$171,000,000,000";
+ bezos_counter.innerHTML = (wealth < 200000000000) ? money.format(wealth) : "$200,000,000,000";
}
else {
bezos_counter.innerHTML = '';