diff --git a/theme/static/css/main.css b/theme/static/css/main.css index d14d738..bb2dd28 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -39,7 +39,7 @@ body{ /* --clr-soft: hsl(54, 32%, 78%); --clr-back: hsl(66, 18%, 82%); */ - --clr-soft: hsl(54, 32%, 82%); + --clr-soft: hsl(54, 40%, 82%); --clr-back: hsl(82, 16%, 84%); /* --clr-soft: hsl(60, 32%, 78%); @@ -164,7 +164,7 @@ section.data-section{ position: relative; box-sizing: border-box; border-top: var(--border); - padding: calc(var(--lh) * 2) 0 calc(var(--lh) * 3); + padding: calc(var(--lh) * 2) 0 calc(var(--lh) * 2); } section.data-section::after{ font-family: 'Inconsolata', monospace; diff --git a/theme/static/css/moon-watch.css b/theme/static/css/moon-watch.css index 59a39dd..700e11b 100644 --- a/theme/static/css/moon-watch.css +++ b/theme/static/css/moon-watch.css @@ -3,7 +3,7 @@ } #moon-watch-section{ - padding-bottom: calc(var(--lh) * 1); + /* padding-bottom: calc(var(--lh) * 1); */ } .watch__date{ @@ -33,16 +33,20 @@ word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; - - /* text-align: center; */ /* background: radial-gradient(circle closest-side, white, var(--c-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; */ min-height: 1.6em; - border-left: var(--border); + + text-align: center; + + /* border-left: var(--border); padding-left: var(--lh); + border-style: dotted; + padding-top: calc(var(--lh) * 0.5); */ + margin-bottom: calc(var(--lh) * 0.5); } @@ -76,12 +80,18 @@ body.projects .watch__phase > h2.phase-name{ width: 100%; max-width: 500px; } -.watch__scheme::after{ - content: "↓ sunlights"; +.watch__scheme::before{ + content: "new"; position: absolute; left: calc(50% + 1em); top: 0; } +.watch__scheme::after{ + content: "full"; + position: absolute; + left: calc(50% + 1em); + bottom: 0; +} .watch__scheme svg circle{ vector-effect: non-scaling-stroke; @@ -95,7 +105,7 @@ circle.svg-moon-trajectory, circle.svg-earth-trajectory { stroke: var(--clr-soft-text); stroke-width: var(--border-width); - stroke-dasharray: 4; + stroke-dasharray: 2; fill: none; } diff --git a/theme/static/js/moon-watch.js b/theme/static/js/moon-watch.js index a0fe2b4..21a4972 100644 --- a/theme/static/js/moon-watch.js +++ b/theme/static/js/moon-watch.js @@ -15,7 +15,6 @@ function updateCurrentMoonWatch(date){ let phase_name = moon["name_"+lang]; phase_name = phase_name.split(" ").join(" "); - // sunset // let distance = moon["distance"]; // let sun_calc = SunCalc.getTimes(date, lat, long); diff --git a/theme/templates/partials/moon-watch.html b/theme/templates/partials/moon-watch.html index 7cf2e0b..dfc155a 100644 --- a/theme/templates/partials/moon-watch.html +++ b/theme/templates/partials/moon-watch.html @@ -2,7 +2,7 @@ @@ -26,10 +26,10 @@ - - - - + + + +