From 376a874fb3d990df47309ee0669c4f4cf812d4eb Mon Sep 17 00:00:00 2001 From: dkallen78 Date: Tue, 26 Dec 2023 20:47:50 -0600 Subject: [PATCH] tighter margins and a bit of glow --- seven-segment-clock/seven-segment-clock.css | 2 +- seven-segment-clock/seven-segment-clock.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seven-segment-clock/seven-segment-clock.css b/seven-segment-clock/seven-segment-clock.css index ec1f58d..4d9a7ce 100644 --- a/seven-segment-clock/seven-segment-clock.css +++ b/seven-segment-clock/seven-segment-clock.css @@ -17,6 +17,6 @@ body { fill: lime; } -.digits path, .colon path { +.digits path, .colon circle { filter: drop-shadow(0 0 1svh lime); } \ No newline at end of file diff --git a/seven-segment-clock/seven-segment-clock.js b/seven-segment-clock/seven-segment-clock.js index c353f38..34562e1 100644 --- a/seven-segment-clock/seven-segment-clock.js +++ b/seven-segment-clock/seven-segment-clock.js @@ -151,7 +151,7 @@ function buildFace() { const x1 = .5 * box.width; const y1 = .3125 * box.height; const y2 = .6875 * box.height; - const r = .5 * box.width; + const r = .25 * box.width; let circle1 = makeSVGcircle(x1, y1, r); colon.appendChild(circle1);