Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin M committed Oct 14, 2023
1 parent c274e47 commit 97f6b7b
Show file tree
Hide file tree
Showing 10 changed files with 769 additions and 160 deletions.
22 changes: 16 additions & 6 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,22 +162,22 @@ h2 {
margin-bottom: 16px;
}

.ad-container {
.bottom-left-container {
flex: auto;
box-sizing: border-box;
font-family: sans-serif;
width: 161px;
}

body:not(.lighttheme) .ad-container {
body:not(.lighttheme) .bottom-left-container {
color: #fff;
}

.ad-container h6 {
.bottom-left-container h6 {
margin: 8px 0;
}

.ad-container ul {
.bottom-left-container ul {
padding: 8px 0;
}

Expand All @@ -191,7 +191,7 @@ body:not(.lighttheme) .ad-container {
margin-bottom: 16px;
}

.ad-container a {
.bottom-left-container a {
display: block;
}

Expand Down Expand Up @@ -278,7 +278,7 @@ body.lighttheme {
border-right-width: 1px;
}

.lighttheme .ad-container * {
.lighttheme .bottom-left-container * {
color: #1D1F21 !important;
}

Expand Down Expand Up @@ -358,3 +358,13 @@ button:active {
height: 15px;
vertical-align: text-bottom;
}

.supporters {
border-bottom: solid 1px #ccc;
margin-bottom: 32px;
padding-bottom: 16px
}

.bottom-left-image-link img {
border-radius: 8px;
}
Binary file removed img/blit-ad1.png
Binary file not shown.
Binary file removed img/blit-ad2.png
Binary file not shown.
Binary file removed img/blit-ad3.png
Binary file not shown.
147 changes: 0 additions & 147 deletions img/blit_logo.svg

This file was deleted.

Binary file added img/pulsewave-spot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/pulsewave-spot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/pulsewave-spot3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ <h2 class="left">Online JSON Compare</h2>
<div id="history-container" class="history-container">

</div>
<div class="ad-container">
<div>
<div class="bottom-left-container">
<div class="supporters">
<h6> SPECIAL THANKS TO OUR SUPPORTERS</h6>
<ul>
<li>Qicheng Gao</li>
</ul>
</div>
<a href="/sponsor/" title="Support us on Patreon">
<img src="./img/patreon.png" alt="Support us on Patreon"/>
<a class="bottom-left-image-link" href="https://www.kickstarter.com/projects/blit-labs/pulsewave-hear-the-news-in-your-own-way-every-day" title="PulseWave - Audible for news." target="_blank">

</a>
</div>
</div>
Expand Down Expand Up @@ -129,9 +129,9 @@ <h6> SPECIAL THANKS TO OUR SUPPORTERS</h6>
$('#right-input').on('click', '.input-collapse,.input-split,.input-expand', onPaneResizeRightClick);

function initAd() {
var adNum = Math.floor(Math.random() * Math.floor(3)) + 1;
var ad = $('<a href="https://blitapp.com?ref=json-diff-img'+adNum+'" class="carbon-img" target="_blank" rel="noopener"><img src="/img/blit-ad'+adNum+'.png" alt="Blit - Scheduled Website Screenshots" border="0" height="100" width="130" style="max-width: 130px;"></a>');
$('#ad-wrap').prepend(ad);
var imgNum = Math.floor(Math.random() * Math.floor(3)) + 1;
var img = '<img src="/img/pulsewave-spot'+imgNum+'.png" alt="PulseWave - Audible for news." width="166" height="300"/>';
$('.bottom-left-image-link').html(img);
}

function toggleLightTheme() {
Expand Down
Loading

0 comments on commit 97f6b7b

Please sign in to comment.