Крупный счёт и ответ, баннер отвечающего, анимации, картинки

- счёт на табло вдвое крупнее, номинал и правильный ответ — крупнее
- баннер «Отвечает» с именем игрока на табло
- анимации: каскад клеток, закрытие с искрой, появление ответа и медиа
- картинки: svg/avif в импорте, крупный показ на табло, понятная ошибка
- демо-кадр в content/media/demo и пример в шаблоне
- скрипт проверки визуала на живом браузере
This commit is contained in:
oskarvitalii committed 2026-11-16 19:47:49 +07:00
1 parent 1924f5498a
commit 327356bd0d
16 files changed
+697 -35

No files matched your search

+59
View File
@@ -0,0 +1,59 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 540" width="960" height="540">
<defs>
<linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#101a3a" />
<stop offset="100%" stop-color="#1d2b57" />
</linearGradient>
<radialGradient id="glow" cx="50%" cy="42%" r="45%">
<stop offset="0%" stop-color="#e9c46a" stop-opacity="0.35" />
<stop offset="100%" stop-color="#e9c46a" stop-opacity="0" />
</radialGradient>
</defs>
<rect width="960" height="540" fill="url(#sky)" />
<rect width="960" height="540" fill="url(#glow)" />
<!-- Снежинки: разного размера, чтобы кадр не выглядел пустым -->
<g fill="#ffffff" opacity="0.65">
<circle cx="120" cy="90" r="2.5" />
<circle cx="240" cy="150" r="1.8" />
<circle cx="360" cy="70" r="2.2" />
<circle cx="620" cy="110" r="2.6" />
<circle cx="760" cy="80" r="1.9" />
<circle cx="860" cy="160" r="2.3" />
<circle cx="180" cy="300" r="1.7" />
<circle cx="470" cy="60" r="2" />
<circle cx="700" cy="240" r="1.6" />
<circle cx="80" cy="420" r="2.1" />
<circle cx="900" cy="330" r="1.8" />
</g>
<!-- Рамка кадра -->
<rect x="24" y="24" width="912" height="492" rx="18" fill="none" stroke="#e9c46a" stroke-opacity="0.35" stroke-width="3" />
<!-- Перфорация киноплёнки -->
<g fill="#0a1024" opacity="0.75">
<rect x="40" y="60" width="16" height="26" rx="4" />
<rect x="40" y="130" width="16" height="26" rx="4" />
<rect x="40" y="200" width="16" height="26" rx="4" />
<rect x="40" y="270" width="16" height="26" rx="4" />
<rect x="40" y="340" width="16" height="26" rx="4" />
<rect x="40" y="410" width="16" height="26" rx="4" />
<rect x="904" y="60" width="16" height="26" rx="4" />
<rect x="904" y="130" width="16" height="26" rx="4" />
<rect x="904" y="200" width="16" height="26" rx="4" />
<rect x="904" y="270" width="16" height="26" rx="4" />
<rect x="904" y="340" width="16" height="26" rx="4" />
<rect x="904" y="410" width="16" height="26" rx="4" />
</g>
<text x="480" y="248" text-anchor="middle" font-family="Segoe UI, Arial, sans-serif" font-size="46" font-weight="700" fill="#f6f2e7">
Кадр из фильма
</text>
<text x="480" y="306" text-anchor="middle" font-family="Segoe UI, Arial, sans-serif" font-size="24" fill="#98a2c0">
замените этот файл своим изображением
</text>
<text x="480" y="352" text-anchor="middle" font-family="Segoe UI, Arial, sans-serif" font-size="20" fill="#e9c46a" opacity="0.85">
content/media/&lt;id-пака&gt;/кадр.jpg
</text>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.