Visual improvements

This commit is contained in:
Nikolay Puzanov 2022-12-07 17:55:21 +03:00
parent 01c982fada
commit 37b7a54d3b
2 changed files with 18 additions and 13 deletions

View File

@ -15,7 +15,13 @@
body { body {
padding: 3px; padding: 3px;
font-size: 14px; font-family: 'JetBrains Mono', monospace;
font-size: 10pt;
}
pre {
font-family: 'JetBrains Mono', monospace;
font-size: 10pt;
} }
#buttons { #buttons {
@ -43,11 +49,6 @@
button span.text { padding: 4px; } button span.text { padding: 4px; }
#text {
font-family: 'JetBrains Mono', monospace;
font-size: inherit;
}
#editor { #editor {
height: 75vh; height: 75vh;
width: 100%; width: 100%;
@ -70,6 +71,12 @@
shape-rendering: crispEdges; shape-rendering: crispEdges;
} }
svg text {
font-family: 'JetBrains Mono', monospace;
font-size: 10pt;
fill: white;
}
svg #wave-signals { svg #wave-signals {
stroke: #00fcff; stroke: #00fcff;
stroke-width: 1; stroke-width: 1;
@ -77,20 +84,18 @@
svg #wave-clock { svg #wave-clock {
stroke: #fffe9a; stroke: #fffe9a;
font-size: 8pt;
stroke-width: 1; stroke-width: 1;
} }
svg #wave-signals text { font-size: 8pt; }
svg #wave-clock text { font-size: 8pt; }
svg #wave-delim { svg #wave-delim {
stroke: #d0d0d0; stroke: #d0d0d0;
stroke-width: 2; stroke-width: 2;
} }
svg text {
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
fill: white;
}
svg #wave-background { fill: #1e2426; } svg #wave-background { fill: #1e2426; }
@media (orientation: landscape) and (not (pointer: coarse)) { @media (orientation: landscape) and (not (pointer: coarse)) {

View File

@ -334,7 +334,7 @@
;;; ;;;
(define* (vcd->svg vcd width #:key (define* (vcd->svg vcd width #:key
(signal-height 15) (signal-height 15)
(signal-text-position 13) (signal-text-position 12)
(margin 5) (margin 5)
(signal-spacing 5) (signal-spacing 5)
(legend-width 100) (legend-width 100)