Skip to content

Commit f35018b

Browse files
committed
oopsies bug with styles myb
1 parent a5c70b1 commit f35018b

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

static/assets/scripts/helpers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,8 @@ async function enforceDonationLockout() {
631631
const currentDomain = window.location.hostname;
632632

633633
// If current host is not in allowedHosts, show complete lockout and disable access
634-
if (!allowedHosts.includes(currentDomain)) {
634+
if (!allowedHosts.includes(currentDomain) && !currentDomain.includes("localhost")) {
635+
console.log("enforce ",currentDomain)
635636
document.body.innerHTML = `
636637
<div style="display:flex;align-items:center;justify-content:center;height:100vh;background:#111;color:#fff;font-family:sans-serif;text-align:center;">
637638
<div>

static/assets/styles/master.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,10 @@ input[type="text"].cc {
170170
justify-content: center;
171171
padding: 15px;
172172
}
173+
.card-content, .card-content h2.card-title, .card-content p.card-description {
174+
color: white !important;
173175

176+
}
174177
.card{
175178
cursor: pointer;
176179
}

static/assets/styles/theme-1.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ body.future {
2929
box-shadow: 0 0 25px rgba(0, 255, 204, 0.4);
3030
}
3131

32-
.future .card.grid .card-content {
33-
color: #e0e0e0;
34-
}
32+
3533

3634
.future #searchBox {
3735
background-color: #1a1a1a;

static/assets/styles/theme-2.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ body.vintage {
2727
box-shadow: 3px 3px 0px #8b4513;
2828
}
2929

30-
.vintage .card.grid .card-content {
31-
color: #4a4a4a;
32-
}
30+
3331

3432
.vintage #searchBox {
3533
background-color: #fffaf0;

static/assets/styles/theme-3.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ body.ocean {
2727
transform: scale(1.05);
2828
}
2929

30-
.ocean .card.grid .card-content {
31-
color: #003049;
32-
}
3330

3431
.ocean #searchBox {
3532
background-color: #ffffff;

0 commit comments

Comments
 (0)