Skip to content

Commit 17de946

Browse files
author
Luke
committed
Fixes for mobile
1 parent 9266020 commit 17de946

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ <h1 class="text-base sm:text-lg font-bold text-blue-400 truncate">Bible Cross-Re
220220
class="w-20 sm:w-24 h-2 bg-gray-700 rounded-lg cursor-pointer">
221221
<span id="arc-value" class="text-xs w-8">500</span>
222222
</div>
223-
<button onclick="openPresentation('creed')" class="text-xs bg-gray-700 hover:bg-blue-600 px-2 sm:px-3 py-1.5 rounded border border-gray-600 hover:border-blue-500 text-blue-400 hover:text-white transition-colors whitespace-nowrap">
224-
Nicene Creed
223+
<button onclick="openPresentation('creed')" class="text-xs sm:text-xs bg-gray-700 hover:bg-blue-600 px-1.5 py-1 sm:px-2 sm:py-1.5 rounded border border-gray-600 hover:border-blue-500 text-blue-400 hover:text-white transition-colors whitespace-nowrap">
224+
Creed
225225
</button>
226-
<button onclick="openPresentation('prophecy')" class="text-xs bg-gray-700 hover:bg-blue-600 px-2 sm:px-3 py-1.5 rounded border border-gray-600 hover:border-blue-500 text-blue-400 hover:text-white transition-colors whitespace-nowrap">
226+
<button onclick="openPresentation('prophecy')" class="text-xs sm:text-xs bg-gray-700 hover:bg-blue-600 px-1.5 py-1 sm:px-2 sm:py-1.5 rounded border border-gray-600 hover:border-blue-500 text-blue-400 hover:text-white transition-colors whitespace-nowrap">
227227
Prophecies
228228
</button>
229229
<input type="text" id="search-input" placeholder="Search... "

presentation_data.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,23 @@ const PRESENTATION_STYLES = `
152152
font-weight: 700;
153153
margin-bottom: 0.75rem;
154154
line-height: 1.2;
155+
/* Fallback color for browsers that don't support background-clip */
156+
color: var(--accent-primary);
157+
text-shadow: 0 0 20px var(--accent-glow);
155158
background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary) 100%);
156159
-webkit-background-clip: text;
157160
-webkit-text-fill-color: transparent;
158161
background-clip: text;
162+
position: relative;
163+
}
164+
165+
/* Mobile override - use solid color for better compatibility */
166+
@media (max-width: 768px) {
167+
.slide-line {
168+
-webkit-text-fill-color: var(--accent-primary);
169+
background: none;
170+
color: var(--accent-primary);
171+
}
159172
}
160173
161174
.slide-subline {

0 commit comments

Comments
 (0)