feat: responsive for web with sidebar and different styling for test ui on web
This commit is contained in:
@ -9,6 +9,8 @@ import { useExamConfigStore } from "../../../stores/useExamConfigStore";
|
||||
const STYLES = `
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&family=Nunito+Sans:wght@400;600&display=swap');
|
||||
|
||||
:root { --content-max: 1100px; }
|
||||
|
||||
.results-screen {
|
||||
min-height: 100vh;
|
||||
background: #fffbf4;
|
||||
@ -72,6 +74,17 @@ const STYLES = `
|
||||
display: flex; flex-direction: column; gap: 1rem;
|
||||
}
|
||||
|
||||
/* Desktop / wide layout */
|
||||
@media (min-width: 900px) {
|
||||
.results-inner { max-width: var(--content-max); padding: 3rem 1.5rem 4rem; }
|
||||
.stats-grid { grid-template-columns: repeat(4, 1fr); }
|
||||
|
||||
.r-blob-1 { left: calc((100vw - var(--content-max)) / 2 - 120px); top: -120px; width: 300px; height: 300px; }
|
||||
.r-blob-2 { left: calc((100vw - var(--content-max)) / 2 + 20px); bottom: -80px; width: 220px; height: 220px; }
|
||||
.r-blob-3 { right: calc((100vw - var(--content-max)) / 2 - 40px); top: 10%; width: 260px; height: 260px; }
|
||||
.r-blob-4 { right: calc((100vw - var(--content-max)) / 2 + 10px); bottom: 6%; width: 180px; height: 180px; }
|
||||
}
|
||||
|
||||
/* ── Header ── */
|
||||
.results-header {
|
||||
display: flex; align-items: center; gap: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user