diff --git a/docs/_js/power-calculator.js b/docs/_js/power-calculator.js index 3fa31ef1f..49893cf30 100644 --- a/docs/_js/power-calculator.js +++ b/docs/_js/power-calculator.js @@ -543,12 +543,8 @@ ])); if (strip) { - var so = this.d.solar; out.appendChild(el('div', { 'class': 'pc-label pc-strip-t', text: this.t('monthbal') })); out.appendChild(strip); - out.appendChild(el('div', { 'class': 'pc-hint' }, [this.badge(false), ' ', this.srcLink(so.source)])); - // the model is optimistic for a real mast: say what one of ours did - out.appendChild(el('div', { 'class': 'pc-hint' }, ['⚠ ' + so['field_note_' + this.lang] + ' · ', this.srcLink(so.field_source)])); } if (warnNight) out.appendChild(el('div', { 'class': 'pc-warn', text: '⚠ ' + warnNight })); diff --git a/docs/_stylesheets/tth.css b/docs/_stylesheets/tth.css index ce905cfac..ddb212647 100644 --- a/docs/_stylesheets/tth.css +++ b/docs/_stylesheets/tth.css @@ -116,7 +116,7 @@ .pc-chip input { width: auto; margin: 0; accent-color: var(--primary-color); } .pc-chip:has(input:checked) { border-color: var(--primary-color); color: var(--primary-color); } .pc-strip-t { margin-top: 0.9rem; } -.pc-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin-top: 0.3rem; } +.pc-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; margin-top: 0.3rem; } .pc-strip > span { display: flex; flex-direction: column; align-items: center; padding: 0.15rem 0; border-radius: 3px; font-family: ui-monospace, monospace; font-size: 0.62rem; line-height: 1.25; } .pc-strip b { font-family: system-ui, sans-serif; font-weight: 400; color: #b8bcc4; } @@ -127,5 +127,5 @@ .pc-lines td:last-child { width: 6.5em; white-space: normal; } .pc-bignum.pc-bad { color: #ff8a8a; } .pc-layout > *, .pc-card { min-width: 0; } -.pc-strip { grid-template-columns: repeat(12, minmax(0, 1fr)); } +.pc-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } @media (max-width: 30em) { .pc-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }