Use regular background for Strong's word card

- Remove dark gradient hero background
- Use site's standard background with border
- Make Strong's number larger and bolder (1.5rem)
- Keep colored language badges (brown Hebrew, blue Greek)
- Proper dark mode support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-03 13:42:58 -05:00
parent cb5f77b95b
commit 049127314c
+30 -53
View File
@@ -10,77 +10,55 @@
max-width: 800px;
}
/* Main word card - hero style */
/* Main word card */
.word-card {
background: linear-gradient(135deg,
{% if entry.language == 'Hebrew' %}#2d1810 0%, #1a0f0a 100%{% else %}#1a2040 0%, #0f1525 100%{% endif %});
border: none;
border-radius: 16px;
padding: 3rem 2.5rem;
background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 2.5rem;
margin-bottom: 2rem;
text-align: center;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
position: relative;
overflow: hidden;
}
.word-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}
.word-card > * {
position: relative;
z-index: 1;
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.word-card .strongs-number {
font-family: monospace;
font-size: 1rem;
color: rgba(255,255,255,0.7);
margin-bottom: 1.25rem;
font-size: 1.5rem;
color: var(--text-color);
margin-bottom: 1rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
font-weight: 500;
letter-spacing: 0.05em;
font-weight: 700;
letter-spacing: 0.02em;
}
.lang-badge {
display: inline-block;
font-size: 0.6rem;
padding: 0.25rem 0.6rem;
border-radius: 4px;
font-size: 0.65rem;
padding: 0.2rem 0.5rem;
border-radius: 3px;
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 700;
letter-spacing: 0.03em;
font-weight: 600;
}
.lang-badge.hebrew {
background: rgba(255,255,255,0.2);
background: #8B4513;
color: #fff;
border: 1px solid rgba(255,255,255,0.3);
}
.lang-badge.greek {
background: rgba(255,255,255,0.2);
background: #4169E1;
color: #fff;
border: 1px solid rgba(255,255,255,0.3);
}
.word-card .original-word {
font-size: 5rem;
line-height: 1.2;
margin-bottom: 1rem;
color: #fff;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
margin-bottom: 0.75rem;
color: var(--text-color);
}
.word-card .original-word.hebrew {
@@ -93,27 +71,25 @@
}
.word-card .transliteration {
font-size: 1.5rem;
color: rgba(255,255,255,0.9);
font-size: 1.4rem;
color: var(--text-secondary);
font-style: italic;
margin-bottom: 0.35rem;
font-weight: 300;
margin-bottom: 0.25rem;
}
.word-card .pronunciation {
font-size: 1rem;
color: rgba(255,255,255,0.6);
color: var(--text-secondary);
}
.word-card .quick-def {
margin-top: 1.5rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255,255,255,0.15);
font-size: 1.1rem;
color: rgba(255,255,255,0.85);
font-style: italic;
line-height: 1.6;
max-width: 500px;
border-top: 1px solid var(--border-color);
font-size: 1.15rem;
color: var(--text-color);
line-height: 1.7;
max-width: 550px;
margin-left: auto;
margin-right: auto;
}
@@ -484,6 +460,7 @@
}
/* Dark mode */
[data-theme="dark"] .word-card,
[data-theme="dark"] .info-card {
background: #1a1a1a;
border-color: #333;