Files
walkersim/styles.css

107 lines
1.4 KiB
CSS

:root {
color-scheme: dark;
--bg: #15181d;
--panel: #1d222b;
--text: #ecf0f5;
--muted: #a7b1bf;
--accent: #5fb3ff;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
background: var(--bg);
color: var(--text);
}
.app {
display: grid;
grid-template-columns: 1fr 320px;
min-height: 100vh;
}
.canvas-wrap {
padding: 12px;
}
#sim-canvas {
width: 100%;
height: calc(100vh - 24px);
background: #0f1116;
border: 1px solid #2a3342;
border-radius: 8px;
}
.panel {
background: var(--panel);
border-left: 1px solid #2a3342;
padding: 16px;
}
h1 {
margin: 0 0 14px;
font-size: 1.1rem;
}
h2 {
margin: 12px 0 8px;
font-size: 0.95rem;
}
.row {
display: grid;
grid-template-columns: 1fr;
gap: 6px;
margin-bottom: 12px;
}
.row output {
color: var(--muted);
font-variant-numeric: tabular-nums;
}
.buttons {
grid-template-columns: 1fr 1fr;
}
button {
background: #2b3850;
border: 1px solid #3d5274;
color: var(--text);
border-radius: 6px;
padding: 8px 10px;
cursor: pointer;
}
button:hover {
background: #35486a;
}
input[type='range'] {
width: 100%;
}
.check {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.diag pre {
margin: 0;
background: #10141b;
border: 1px solid #2a3342;
border-radius: 6px;
padding: 10px;
white-space: pre-wrap;
color: #d4dbe7;
line-height: 1.3;
font-size: 12px;
}