From fdbe18900d289608eab82e36b658cfb24c1820a7 Mon Sep 17 00:00:00 2001 From: dkallen78 Date: Wed, 27 Dec 2023 22:31:46 -0600 Subject: [PATCH] now with more css! --- mars-clock/martianClockSVG.js | 5 -- temporal-hours/temporal-hours.css | 14 ++++++ temporal-hours/temporal-hours.html | 5 +- temporal-hours/temporal-hours.js | 74 ++++++++++++++++++++++++++++-- 4 files changed, 84 insertions(+), 14 deletions(-) create mode 100644 temporal-hours/temporal-hours.css diff --git a/mars-clock/martianClockSVG.js b/mars-clock/martianClockSVG.js index 7d4e2a2..5f3fbce 100644 --- a/mars-clock/martianClockSVG.js +++ b/mars-clock/martianClockSVG.js @@ -26,10 +26,6 @@ function makeCircle(parent) { let circle = makeSVG("circle", "rim"); circle.classList.add("circle"); - //circle.style.stroke = "aqua"; - //circle.style.strokeWidth = 3; - //circle.style.fill = "none"; - parent.appendChild(circle); return circle; @@ -44,7 +40,6 @@ function makeCenter(parent) { let circle = makeSVG("circle", "center"); circle.classList.add("circle"); - //circle.style.fill = "aqua"; parent.appendChild(circle); } diff --git a/temporal-hours/temporal-hours.css b/temporal-hours/temporal-hours.css new file mode 100644 index 0000000..f4f9100 --- /dev/null +++ b/temporal-hours/temporal-hours.css @@ -0,0 +1,14 @@ +#sundialSVG { + height: 75svw; + width: 75svw; +} + +#sundial-base { + fill-opacity: 0; + stroke: black; + stroke-width: .25svw; +} + +#sundial-gnomon { + +} \ No newline at end of file diff --git a/temporal-hours/temporal-hours.html b/temporal-hours/temporal-hours.html index 5a55f90..441f2a1 100644 --- a/temporal-hours/temporal-hours.html +++ b/temporal-hours/temporal-hours.html @@ -6,10 +6,7 @@ Temporal Hour Clock - +