feat: responsive for web with sidebar and different styling for test ui on web

This commit is contained in:
2026-02-27 02:36:54 +06:00
parent 79fc2eacdc
commit c35f328e30
15 changed files with 8254 additions and 251 deletions

View File

@ -25,6 +25,8 @@ const DOTS = [
const STYLES = `
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&family=Nunito+Sans:wght@400;600;700&display=swap');
:root { --content-max: 1100px; }
.pt-screen {
min-height: 100vh;
background: #fffbf4;
@ -64,6 +66,17 @@ const STYLES = `
display: flex; flex-direction: column; gap: 1.25rem;
}
/* Desktop / wide layout */
@media (min-width: 900px) {
.pt-inner { max-width: var(--content-max); padding: 3rem 1.5rem 6rem; }
.pt-stats-row { grid-template-columns: repeat(3, 1fr); }
.pt-blob-1 { left: calc((100vw - var(--content-max)) / 2 - 120px); top: -120px; width: 300px; height: 300px; }
.pt-blob-2 { left: calc((100vw - var(--content-max)) / 2 + 20px); bottom: -80px; width: 220px; height: 220px; }
.pt-blob-3 { right: calc((100vw - var(--content-max)) / 2 - 40px); top: 10%; width: 260px; height: 260px; }
.pt-blob-4 { right: calc((100vw - var(--content-max)) / 2 + 10px); bottom: 6%; width: 180px; height: 180px; }
}
/* ── Pop-in animation ── */
@keyframes ptPopIn {
from { opacity:0; transform: scale(0.92) translateY(12px); }