Hebrew-TTS-Samples / style.css
danielrosehill's picture
Add Hebrew TTS comparison samples with audio players
8f4ef76
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: #0f1117;
color: #e0e0e0;
line-height: 1.6;
padding: 2rem 1rem;
max-width: 960px;
margin: 0 auto;
}
header {
text-align: center;
margin-bottom: 2.5rem;
}
header h1 {
font-size: 2rem;
color: #fff;
margin-bottom: 0.5rem;
}
.subtitle {
color: #9ca3af;
font-size: 0.95rem;
}
section {
margin-bottom: 2.5rem;
}
section > h2 {
font-size: 1.4rem;
color: #fff;
border-bottom: 1px solid #2a2d35;
padding-bottom: 0.4rem;
margin-bottom: 0.75rem;
}
.section-desc {
color: #9ca3af;
font-size: 0.9rem;
margin-bottom: 1.25rem;
}
.card {
background: #1a1d27;
border: 1px solid #2a2d35;
border-radius: 10px;
padding: 1.25rem 1.5rem;
margin-bottom: 1.25rem;
}
.card h3 {
font-size: 1.15rem;
color: #fff;
margin-bottom: 0.5rem;
}
.provider-note {
font-size: 0.85rem;
color: #9ca3af;
margin-bottom: 1rem;
}
.provider-note code {
background: #2a2d35;
padding: 0.15em 0.4em;
border-radius: 4px;
font-size: 0.85em;
}
.sample-group {
margin-bottom: 1rem;
}
.sample-group h4 {
font-size: 0.9rem;
color: #c4b5fd;
margin-bottom: 0.5rem;
font-weight: 600;
}
.sample {
margin-bottom: 0.6rem;
}
.sample label {
display: block;
font-size: 0.85rem;
color: #d1d5db;
margin-bottom: 0.2rem;
font-weight: 500;
}
.sample audio {
width: 100%;
height: 36px;
border-radius: 6px;
}
.sample-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 0.75rem;
}
.badge {
display: inline-block;
font-size: 0.7rem;
padding: 0.1em 0.5em;
border-radius: 4px;
font-weight: 700;
text-transform: uppercase;
vertical-align: middle;
}
.badge.best {
background: #065f46;
color: #6ee7b7;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.88rem;
}
th, td {
text-align: left;
padding: 0.5rem 0.75rem;
border-bottom: 1px solid #2a2d35;
}
th {
color: #c4b5fd;
font-weight: 600;
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.quality-best { color: #6ee7b7; font-weight: 600; }
.quality-good { color: #93c5fd; font-weight: 500; }
.quality-poor { color: #fca5a5; font-weight: 500; }
footer {
text-align: center;
color: #6b7280;
font-size: 0.85rem;
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #2a2d35;
}
footer a {
color: #818cf8;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
a {
color: #818cf8;
}