Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions app.css
Original file line number Diff line number Diff line change
Expand Up @@ -5077,14 +5077,17 @@ footer a:hover { color: var(--accent-2); }
display: inline-flex;
align-items: center;
justify-content: center;
width: 3rem; height: 3rem;
width: 3.5rem; height: 3.5rem;
border-radius: 50%;
background: #166534;
background: linear-gradient(135deg, #166534, #15803d);
color: #fff;
font-size: .75rem;
font-size: .85rem;
font-weight: 900;
letter-spacing: .05em;
box-shadow: 0 2px 8px rgba(22,101,52,.4);
letter-spacing: .08em;
box-shadow:
0 4px 14px rgba(22,101,52,.45),
inset 0 1px 0 rgba(255,255,255,.15);
border: 2px solid rgba(255,255,255,.1);
}
.sb-event-big {
font-size: 1.6rem;
Expand All @@ -5093,6 +5096,11 @@ footer a:hover { color: var(--accent-2); }
text-align: center;
line-height: 1.2;
}
.sb-event-ball {
font-size: 2.5rem;
line-height: 1;
margin-bottom: .3rem;
}

/* Fixture info strip */
.sb-fixture-strip {
Expand Down
7 changes: 5 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3323,9 +3323,12 @@
awayEl.textContent = awayName;
vsRow.append(homeEl, vsBadge, awayEl);
} else {
// No VS pattern — just show the event name large
// No VS pattern — show event name large with ball icon above
const ballIcon = document.createElement("div"); ballIcon.className = "sb-event-ball";
ballIcon.textContent = "\u26bd";
const eventEl = document.createElement("div"); eventEl.className = "sb-event-big";
eventEl.textContent = eventName;
vsRow.appendChild(ballIcon);
vsRow.appendChild(eventEl);
}
view.appendChild(vsRow);
Expand All @@ -3339,7 +3342,7 @@
const dateStr = isNaN(d.getTime()) ? startDate : d.toLocaleDateString("en-GB", { weekday: "short", day: "numeric", month: "short", year: "numeric" });
const timeStr = isNaN(d.getTime()) ? "" : d.toLocaleTimeString("en-GB", { hour: "2-digit", minute: "2-digit" });
const dateRow = document.createElement("div"); dateRow.className = "sb-fixture-row";
dateRow.innerHTML = "<span class=\"sb-fixture-icon\">Ὄ5</span> <span>" + dateStr + (timeStr ? " · " + timeStr : "") + "</span>";
dateRow.innerHTML = "<span class=\"sb-fixture-icon\">\u{1F4C5}</span> <span>" + dateStr + (timeStr ? " · " + timeStr : "") + "</span>";
fixtureStrip.appendChild(dateRow);
handled.add("startDate");
}
Expand Down
Loading