69 lines
1.1 KiB
CSS
69 lines
1.1 KiB
CSS
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body.maze-page {
|
|
background:
|
|
radial-gradient(circle at top, #1c2733 0%, #0a0f15 55%, #06080c 100%);
|
|
color: #e8eef6;
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
canvas {
|
|
display: block;
|
|
}
|
|
|
|
.maze-layout {
|
|
width: min(1100px, calc(100vw - 24px));
|
|
margin: 12px auto 20px;
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.panel {
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 16px;
|
|
background: rgba(7, 12, 18, 0.72);
|
|
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel-label {
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
font-size: 12px;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
color: #93a4b8;
|
|
}
|
|
|
|
#renderCanvas {
|
|
width: 100%;
|
|
height: min(62vh, 680px);
|
|
}
|
|
|
|
#p5-panel {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 8px 0 14px;
|
|
}
|
|
|
|
#p5-panel canvas {
|
|
width: min(100%, 1000px);
|
|
height: auto;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.maze-layout {
|
|
width: calc(100vw - 16px);
|
|
margin: 8px auto 16px;
|
|
}
|
|
|
|
#renderCanvas {
|
|
height: 52vh;
|
|
}
|
|
}
|