claude, enhance the visuals
This commit is contained in:
6 files changed
+177
-27
No files matched your search
@@ -4,11 +4,11 @@
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Silkscreen';
|
||||
font-family: 'DotGothic16';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('./vendor/silkscreen.woff2') format('woff2');
|
||||
src: url('./vendor/dotgothic16.woff2') format('woff2');
|
||||
}
|
||||
|
||||
body { background: #f5f5f5; color: #212529; }
|
||||
@@ -18,7 +18,7 @@ body { background: #f5f5f5; color: #212529; }
|
||||
.btn { font-weight: 500; }
|
||||
#run, #step, #reset { min-width: 90px; }
|
||||
#clock { min-width: 5ch; font-size: 1.15rem; }
|
||||
#intersection { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
|
||||
#intersection { display: block; width: 100%; max-width: 640px; margin: 0 auto; }
|
||||
.legend-light { display: inline-block; width: 11px; height: 11px; margin-right: 5px; border: 1px solid #343a40; border-radius: 50%; }
|
||||
.red { background: #dc3545; }
|
||||
.yellow { background: #ffc107; }
|
||||
@@ -29,6 +29,7 @@ body { background: #f5f5f5; color: #212529; }
|
||||
.phase-table .form-check { display: inline-flex; min-height: 0; margin: 0; }
|
||||
.phase-table .form-check-input { cursor: pointer; margin-top: 0; }
|
||||
.signal-word { font-size: .7rem; font-weight: 700; display: inline-block; min-width: 54px; text-align: center; padding: 3px 4px; border: 1px solid currentColor; }
|
||||
.phase-timer { display: block; min-height: 1.1em; margin-top: 3px; font-size: .7rem; color: #6c757d; font-variant-numeric: tabular-nums; }
|
||||
.signal-red { color: #b02a37; background: #fff; }
|
||||
.signal-yellow { color: #212529; background: #ffc107; }
|
||||
.signal-green { color: white; background: #198754; border-color: #146c43; }
|
||||
@@ -48,14 +49,14 @@ footer a:hover { color: #212529; text-decoration: underline; }
|
||||
#controller-screen.lcd-mode {
|
||||
background: #1a3fd6;
|
||||
color: #ffffff;
|
||||
font-family: 'Silkscreen', monospace;
|
||||
font-size: 1rem;
|
||||
font-family: 'DotGothic16', monospace;
|
||||
font-size: 1.15rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.movement { transition: stroke .1s; }
|
||||
.signal-box { fill: #202428; stroke: #f8f9fa; stroke-width: 1; }
|
||||
.phase-number { font: bold 16px system-ui, sans-serif; fill: white; text-anchor: middle; }
|
||||
.lamp-letter { font: bold 12px system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; }
|
||||
.phase-number { font: bold 21px system-ui, sans-serif; fill: white; text-anchor: middle; }
|
||||
.lamp-letter { font: bold 15px system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; }
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.panel { padding: .75rem; }
|
||||
|
||||