Spaces:
Running
Running
/* Audio Table Styles */ | |
.table-container { | |
width: 60%; | |
overflow-x: auto; | |
margin: 1rem auto; | |
box-shadow: 0 2px 10px rgba(0,0,0,0.1); | |
border-radius: 8px; | |
} | |
.audio-table { | |
width: 100%; | |
min-width: 1800px; | |
border-collapse: collapse; | |
background: white; | |
} | |
.audio-table th { | |
background-color: #f8f9fa; | |
padding: 1rem 0.5rem; | |
min-width: 200px; | |
text-align: center; | |
font-weight: 600; | |
color: #2c3e50; | |
border-bottom: 2px solid #e9ecef; | |
white-space: nowrap; | |
position: sticky; | |
top: 0; | |
z-index: 10; | |
} | |
.audio-table td { | |
padding: 1rem 0.5rem; | |
text-align: center; | |
min-width: 200px; | |
border-bottom: 1px solid #f1f3f4; | |
vertical-align: middle; | |
} | |
.audio-table tr:nth-child(even) { | |
background-color: #f8f9fa; | |
} | |
.audio-table tr:hover { | |
background-color: #e3f2fd; | |
transition: background-color 0.3s ease; | |
} | |
.perturbation-type { | |
width: 150px; | |
min-width: 150px; | |
font-weight: 600; | |
color: #2c3e50; | |
background-color: #f8f9fa ; | |
position: sticky; | |
left: 0; | |
z-index: 5; | |
} | |
.audio-player { | |
width: 180px; | |
height: 35px; | |
} | |
.section-content { | |
clear: both; | |
width: 100%; | |
display: block; | |
} | |
.scroll-hint { | |
display: none; | |
text-align: center; | |
color: #666; | |
font-size: 0.9rem; | |
margin-bottom: 0.5rem; | |
} | |
.audio-comparison-table { | |
width: 100%; | |
border-collapse: collapse; | |
margin: 2rem 0; | |
background: white; | |
border-radius: 8px; | |
overflow: hidden; | |
box-shadow: 0 2px 10px rgba(0,0,0,0.1); | |
} | |
.audio-comparison-table th { | |
background-color: #f8f9fa; | |
padding: 1.2rem 0.8rem; | |
text-align: center; | |
font-weight: 600; | |
font-size: 1rem; | |
color: #2c3e50; | |
border-bottom: 2px solid #e9ecef; | |
} | |
.audio-comparison-table td { | |
padding: 1.2rem 0.8rem; | |
text-align: center; | |
border-bottom: 1px solid #f1f3f4; | |
vertical-align: middle; | |
} | |
.audio-comparison-table tr:last-child td { | |
border-bottom: none; | |
} | |
.audio-comparison-table tr:nth-child(even) { | |
background-color: #f8f9fa; | |
} | |
.audio-comparison-table tr:hover { | |
background-color: #e3f2fd; | |
transition: background-color 0.3s ease; | |
} | |
.sample-label { | |
background: #e3f2fd; | |
color: #1565c0; | |
padding: 0.2rem 0.5rem; | |
border-radius: 4px; | |
font-size: 0.75rem; | |
margin-bottom: 0.5rem; | |
display: inline-block; | |
font-weight: 500; | |
} | |
.noise-type { | |
font-weight: 600; | |
color: #2c3e50; | |
margin-bottom: 0.5rem; | |
} | |
@media (max-width: 1024px) { | |
.scroll-hint { | |
display: block; | |
} | |
.audio-player { | |
width: 180px; | |
height: 32px; | |
} | |
.audio-table th, | |
.audio-table td { | |
padding: 0.75rem 0.4rem; | |
} | |
.audio-comparison-table { | |
font-size: 0.85rem; | |
} | |
.audio-comparison-table th, | |
.audio-comparison-table td { | |
padding: 0.8rem 0.5rem; | |
} | |
} | |
@media (max-width: 768px) { | |
.perturbation-type { | |
width: 120px; | |
min-width: 120px; | |
font-size: 0.85rem; | |
} | |
.audio-player { | |
width: 140px; | |
height: 30px; | |
} | |
.audio-comparison-table th, | |
.audio-comparison-table td { | |
padding: 0.8rem 0.5rem; | |
} | |
} |