Moon and retrograde calendars, "today in the sky" on the own chart
New public pages: /holdnaptar (new and full moons, quarters, eclipses and the Moon's sign changes, month by month, with the Moon of today) and /retrograd (the retrograde periods of Mercury to Pluto with their shadows, and which planets are retrograde now), each with a page per year around the current one. The own chart gets a "Ma az égen" card: the Moon's sign, phase and natal house, the tightest transits to the chart in fixed sentences, and the retrograde planets. No AI, nothing stored. The events come from astro-engine (sampling and bisection, checked against swetest and the 2026 eclipses) through horoscope-api GET /v1/sky and /v1/sky/events; the backend serves them at /v1/public/sky… and keeps them in memory (the sky now for five minutes, a year's events for good). Links in the mobile menu, the footer, the sitemap and the free tools on the home page; the desktop header is unchanged (it is full at 1280 px). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -1422,3 +1422,92 @@ span.tarot-fan-card { cursor: default; }
|
||||
.site-header { gap: 8px; padding-left: 12px; padding-right: 12px; }
|
||||
.logo { font-size: 22px; }
|
||||
}
|
||||
|
||||
/* The sky: "today in the sky" on the own chart, the moon and retrograde calendars. */
|
||||
.sky-today-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
|
||||
.sky-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
|
||||
.sky-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||||
.sky-col p { margin: 0; line-height: 1.55; }
|
||||
.sky-lead { display: flex; align-items: center; gap: 10px; font-size: 18px; }
|
||||
.sky-glyph { font-family: var(--font-symbols); font-size: 26px; color: var(--gold); line-height: 1; }
|
||||
.sky-glyph-sm { font-family: var(--font-symbols); color: var(--gold); }
|
||||
.sky-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
||||
.sky-list li {
|
||||
display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 0;
|
||||
border-bottom: 1px solid var(--line); font-size: 14px;
|
||||
}
|
||||
.sky-list li:last-child { border-bottom: 0; }
|
||||
.sky-list .num { color: var(--ink-2); font-variant-numeric: tabular-nums; }
|
||||
.sky-transits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
|
||||
.sky-transits li { display: flex; flex-direction: column; gap: 3px; line-height: 1.5; }
|
||||
.sky-transits strong { font-weight: 600; }
|
||||
.sky-more { margin-top: auto; font-size: 14px; }
|
||||
|
||||
.sky-page h2 { font-size: 26px; }
|
||||
.sky-now { flex-direction: row; align-items: flex-start; gap: 20px; border-color: rgba(217, 180, 106, 0.35); }
|
||||
.sky-now-glyph { font-family: var(--font-symbols); font-size: 44px; color: var(--gold); line-height: 1; flex: none; }
|
||||
.sky-now-body { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
|
||||
.sky-now-body p { margin: 0; line-height: 1.55; }
|
||||
.year-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
|
||||
.year-nav > :first-child { justify-self: start; }
|
||||
.year-nav > :last-child { justify-self: end; }
|
||||
.year-nav strong { font-family: var(--font-display); font-size: 26px; }
|
||||
.sky-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
|
||||
.sky-events li {
|
||||
display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline;
|
||||
padding: 10px 0; border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.sky-events li:last-child { border-bottom: 0; }
|
||||
.sky-event-glyph, .moon-phase-glyph { font-family: var(--font-symbols); color: var(--gold); font-size: 20px; line-height: 1; }
|
||||
.sky-events .num { color: var(--ink-2); font-variant-numeric: tabular-nums; }
|
||||
.moon-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; }
|
||||
.moon-month { gap: 12px; }
|
||||
.moon-month h2 { font-size: 24px; }
|
||||
.moon-phases { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
|
||||
.moon-phases li {
|
||||
display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "g n d" ". p p";
|
||||
gap: 2px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.moon-phases li:last-child { border-bottom: 0; }
|
||||
.moon-phases .moon-phase-glyph { grid-area: g; }
|
||||
.moon-phase-name { grid-area: n; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
||||
.moon-phases .num { grid-area: d; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
|
||||
.moon-phases .hint { grid-area: p; }
|
||||
.moon-phases li.is-eclipse .moon-phase-name { color: var(--gold); }
|
||||
.moon-ingresses summary {
|
||||
cursor: pointer; color: var(--muted); font-size: 14px; min-height: 32px; display: flex; align-items: center; gap: 8px;
|
||||
list-style: none;
|
||||
}
|
||||
.moon-ingresses summary::-webkit-details-marker { display: none; }
|
||||
.moon-ingresses summary::before { content: "▸"; color: var(--gold); transition: transform 0.15s; }
|
||||
.moon-ingresses[open] summary::before { transform: rotate(90deg); }
|
||||
.moon-ingresses summary:hover { color: var(--ink); }
|
||||
.moon-ingresses ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
|
||||
.moon-ingresses li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
|
||||
.moon-ingresses .num { color: var(--ink-2); font-variant-numeric: tabular-nums; }
|
||||
.sky-prose p { line-height: 1.7; color: var(--ink-2); margin: 0; }
|
||||
.sky-prose h2 { margin-top: 8px; }
|
||||
.sky-defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; margin: 0; }
|
||||
.sky-defs > div { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
|
||||
.sky-defs dt { font-weight: 600; margin-bottom: 4px; }
|
||||
.sky-defs dt span { font-family: var(--font-symbols); color: var(--gold); }
|
||||
.sky-defs dd { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: 14px; }
|
||||
.retro-planet { gap: 12px; }
|
||||
.retro-planet-head { display: flex; align-items: center; gap: 12px; }
|
||||
.retro-glyph { font-family: var(--font-symbols); font-size: 28px; color: var(--gold); line-height: 1; }
|
||||
.retro-planet > p { margin: 0; line-height: 1.6; }
|
||||
.retro-periods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
|
||||
.retro-periods li {
|
||||
display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line);
|
||||
border-radius: var(--radius); background: var(--panel-2);
|
||||
}
|
||||
.retro-periods li.is-active { border-color: var(--gold); }
|
||||
.retro-dates { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
|
||||
@media (max-width: 640px) {
|
||||
.sky-now { flex-direction: column; gap: 10px; }
|
||||
.sky-now-glyph { font-size: 36px; }
|
||||
.moon-phases li { grid-template-columns: 24px minmax(0, 1fr); grid-template-areas: "g n" ". d" ". p"; }
|
||||
.moon-phases .num { text-align: left; }
|
||||
.sky-events li { grid-template-columns: 24px minmax(0, 1fr); }
|
||||
.sky-events li .num { grid-column: 2; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user