Update index.html
Browse files- index.html +16 -34
index.html
CHANGED
|
@@ -82,7 +82,7 @@
|
|
| 82 |
|
| 83 |
/* ===== LOGO ICON ===== */
|
| 84 |
.logo-icon-wrap { position: relative; width: 64px; height: 64px; }
|
| 85 |
-
.logo-icon-wrap svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 18px rgba(14,165,233,0.
|
| 86 |
.logo-icon-pulse {
|
| 87 |
position: absolute; inset: -6px; border-radius: 50%;
|
| 88 |
border: 2px solid rgba(56,189,248,0.5);
|
|
@@ -363,8 +363,8 @@
|
|
| 363 |
/* ===== AUDIO PLAYER ===== */
|
| 364 |
.audio-player-wrap {
|
| 365 |
background: white; border: 1.5px solid var(--border); border-radius: 16px;
|
| 366 |
-
padding:
|
| 367 |
-
display: flex; flex-direction: column; gap:
|
| 368 |
}
|
| 369 |
.audio-player-row {
|
| 370 |
display: flex; align-items: center; gap: 8px; width: 100%;
|
|
@@ -374,25 +374,25 @@
|
|
| 374 |
font-size: 0.72rem; font-weight: 700; color: var(--muted); white-space: nowrap; flex-shrink: 0;
|
| 375 |
}
|
| 376 |
.audio-label i { color: var(--sky-deep); }
|
| 377 |
-
audio { flex: 1; height:
|
| 378 |
|
| 379 |
/* ===== DOWNLOAD BUTTON ===== */
|
| 380 |
.download-btn {
|
| 381 |
-
align-self:
|
| 382 |
-
flex-
|
| 383 |
-
|
| 384 |
-
padding: 8px 14px; border-radius: 12px; border: none;
|
| 385 |
background: linear-gradient(135deg, #0ea5e9, #6366f1);
|
| 386 |
color: white; font-family: 'Vazirmatn', sans-serif;
|
| 387 |
-
font-size: 0.
|
| 388 |
transition: all 0.25s cubic-bezier(0.34,1.3,0.64,1);
|
| 389 |
box-shadow: 0 4px 14px rgba(14,165,233,0.35);
|
| 390 |
white-space: nowrap; position: relative; overflow: hidden;
|
|
|
|
| 391 |
}
|
| 392 |
.download-btn::before {
|
| 393 |
content: ''; position: absolute; inset: 0;
|
| 394 |
background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
|
| 395 |
-
border-radius:
|
| 396 |
}
|
| 397 |
.download-btn:hover {
|
| 398 |
transform: translateY(-2px) scale(1.04);
|
|
@@ -460,36 +460,18 @@
|
|
| 460 |
<div class="logo-icon-pulse2"></div>
|
| 461 |
<div class="orbit-dot"></div>
|
| 462 |
<div class="orbit-dot2"></div>
|
| 463 |
-
<!--
|
| 464 |
<svg viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
| 465 |
<defs>
|
| 466 |
-
<linearGradient id="
|
| 467 |
-
<stop offset="0%" stop-color="#38bdf8"/>
|
| 468 |
-
<stop offset="100%" stop-color="#818cf8"/>
|
| 469 |
-
</linearGradient>
|
| 470 |
-
<linearGradient id="lg2" x1="0" y1="0" x2="64" y2="64" gradientUnits="userSpaceOnUse">
|
| 471 |
<stop offset="0%" stop-color="#0ea5e9"/>
|
| 472 |
<stop offset="100%" stop-color="#6366f1"/>
|
| 473 |
</linearGradient>
|
| 474 |
</defs>
|
| 475 |
-
<
|
| 476 |
-
<
|
| 477 |
-
<
|
| 478 |
-
<
|
| 479 |
-
<rect x="8" y="14" width="22" height="14" rx="4" fill="white" opacity="0.9"/>
|
| 480 |
-
<polygon points="14,28 10,33 20,28" fill="white" opacity="0.9"/>
|
| 481 |
-
<!-- Lines inside left bubble -->
|
| 482 |
-
<rect x="11" y="18" width="14" height="2" rx="1" fill="#0ea5e9" opacity="0.7"/>
|
| 483 |
-
<rect x="11" y="22" width="10" height="2" rx="1" fill="#0ea5e9" opacity="0.5"/>
|
| 484 |
-
<!-- Speech bubble right (target language) -->
|
| 485 |
-
<rect x="34" y="28" width="22" height="14" rx="4" fill="white" opacity="0.85"/>
|
| 486 |
-
<polygon points="50,28 40,28 54,23" fill="white" opacity="0.85"/>
|
| 487 |
-
<!-- Lines inside right bubble -->
|
| 488 |
-
<rect x="37" y="32" width="14" height="2" rx="1" fill="#818cf8" opacity="0.7"/>
|
| 489 |
-
<rect x="37" y="36" width="10" height="2" rx="1" fill="#818cf8" opacity="0.5"/>
|
| 490 |
-
<!-- Arrow between bubbles -->
|
| 491 |
-
<path d="M31 24 L33 22 L35 24" stroke="white" stroke-width="1.5" stroke-linecap="round" fill="none" opacity="0.9"/>
|
| 492 |
-
<line x1="33" y1="22" x2="33" y2="30" stroke="white" stroke-width="1.5" stroke-linecap="round" opacity="0.9"/>
|
| 493 |
</svg>
|
| 494 |
</div>
|
| 495 |
<div class="logo-text">
|
|
|
|
| 82 |
|
| 83 |
/* ===== LOGO ICON ===== */
|
| 84 |
.logo-icon-wrap { position: relative; width: 64px; height: 64px; }
|
| 85 |
+
.logo-icon-wrap svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 18px rgba(14,165,233,0.4)); }
|
| 86 |
.logo-icon-pulse {
|
| 87 |
position: absolute; inset: -6px; border-radius: 50%;
|
| 88 |
border: 2px solid rgba(56,189,248,0.5);
|
|
|
|
| 363 |
/* ===== AUDIO PLAYER ===== */
|
| 364 |
.audio-player-wrap {
|
| 365 |
background: white; border: 1.5px solid var(--border); border-radius: 16px;
|
| 366 |
+
padding: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.04);
|
| 367 |
+
display: flex; flex-direction: column; gap: 14px;
|
| 368 |
}
|
| 369 |
.audio-player-row {
|
| 370 |
display: flex; align-items: center; gap: 8px; width: 100%;
|
|
|
|
| 374 |
font-size: 0.72rem; font-weight: 700; color: var(--muted); white-space: nowrap; flex-shrink: 0;
|
| 375 |
}
|
| 376 |
.audio-label i { color: var(--sky-deep); }
|
| 377 |
+
audio { flex: 1; height: 38px; border-radius: 8px; outline: none; min-width: 0; }
|
| 378 |
|
| 379 |
/* ===== DOWNLOAD BUTTON ===== */
|
| 380 |
.download-btn {
|
| 381 |
+
align-self: center;
|
| 382 |
+
display: flex; align-items: center; justify-content: center; gap: 8px;
|
| 383 |
+
padding: 12px 24px; border-radius: 14px; border: none;
|
|
|
|
| 384 |
background: linear-gradient(135deg, #0ea5e9, #6366f1);
|
| 385 |
color: white; font-family: 'Vazirmatn', sans-serif;
|
| 386 |
+
font-size: 0.85rem; font-weight: 800; cursor: pointer;
|
| 387 |
transition: all 0.25s cubic-bezier(0.34,1.3,0.64,1);
|
| 388 |
box-shadow: 0 4px 14px rgba(14,165,233,0.35);
|
| 389 |
white-space: nowrap; position: relative; overflow: hidden;
|
| 390 |
+
min-width: 200px;
|
| 391 |
}
|
| 392 |
.download-btn::before {
|
| 393 |
content: ''; position: absolute; inset: 0;
|
| 394 |
background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
|
| 395 |
+
border-radius: 14px;
|
| 396 |
}
|
| 397 |
.download-btn:hover {
|
| 398 |
transform: translateY(-2px) scale(1.04);
|
|
|
|
| 460 |
<div class="logo-icon-pulse2"></div>
|
| 461 |
<div class="orbit-dot"></div>
|
| 462 |
<div class="orbit-dot2"></div>
|
| 463 |
+
<!-- Google Translate style SVG icon -->
|
| 464 |
<svg viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
| 465 |
<defs>
|
| 466 |
+
<linearGradient id="lg2" x1="22" y1="24" x2="56" y2="58" gradientUnits="userSpaceOnUse">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 467 |
<stop offset="0%" stop-color="#0ea5e9"/>
|
| 468 |
<stop offset="100%" stop-color="#6366f1"/>
|
| 469 |
</linearGradient>
|
| 470 |
</defs>
|
| 471 |
+
<rect x="8" y="12" width="34" height="34" rx="8" fill="#e0f2fe" stroke="#0ea5e9" stroke-width="2.5"/>
|
| 472 |
+
<text x="25" y="36" fill="#0ea5e9" font-size="22" font-family="Arial, sans-serif" font-weight="900" text-anchor="middle">A</text>
|
| 473 |
+
<rect x="22" y="24" width="34" height="34" rx="8" fill="url(#lg2)" stroke="#ffffff" stroke-width="3"/>
|
| 474 |
+
<text x="39" y="48" fill="#ffffff" font-size="22" font-family="Arial, sans-serif" font-weight="bold" text-anchor="middle">文</text>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 475 |
</svg>
|
| 476 |
</div>
|
| 477 |
<div class="logo-text">
|