Tighten adoption report page scale

This commit is contained in:
Corey Blais
2026-06-02 17:17:21 -04:00
committed by blaisadmin
parent b76ad35c07
commit 36690c0174
+27 -27
View File
@@ -4231,9 +4231,9 @@ function App() {
font-size: 13px; font-size: 13px;
line-height: 1.38; line-height: 1.38;
margin: 0 auto; margin: 0 auto;
max-width: 8.5in; max-width: 7.5in;
min-height: 100vh; min-height: 100vh;
padding: 0.4in; padding: 0.28in;
position: relative; position: relative;
} }
*, *::before, *::after { box-sizing: inherit; } *, *::before, *::after { box-sizing: inherit; }
@@ -4243,15 +4243,15 @@ function App() {
background: ${headerBackground}; background: ${headerBackground};
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 16px; border-radius: 16px;
box-shadow: 0 16px 34px rgba(86, 63, 34, 0.14); box-shadow: 0 10px 22px rgba(86, 63, 34, 0.12);
display: grid; display: grid;
gap: 14px; gap: 10px;
grid-template-columns: 1.35in minmax(2.1in, 1fr) 1.65in; grid-template-columns: 1.05in minmax(2in, 1fr) 1.28in;
min-height: 1.62in; min-height: 1.28in;
padding: 0.16in; padding: 0.12in;
} }
h1, h2, h3, p { margin: 0; } h1, h2, h3, p { margin: 0; }
h1 { color: var(--red); font-size: 24px; letter-spacing: 0; } h1 { color: var(--red); font-size: 21px; letter-spacing: 0; }
h2 { h2 {
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
color: var(--green); color: var(--green);
@@ -4265,37 +4265,37 @@ function App() {
align-self: center; align-self: center;
height: auto; height: auto;
justify-self: start; justify-self: start;
max-height: 1.3in; max-height: 1.02in;
object-fit: contain; object-fit: contain;
width: 1.3in; width: 1.02in;
} }
.report-title { .report-title {
align-self: center; align-self: center;
justify-self: center; justify-self: center;
text-align: center; text-align: center;
} }
.report-title .muted { margin-top: 8px; } .report-title .muted { margin-top: 4px; }
.profile-photo { .profile-photo {
aspect-ratio: 1; aspect-ratio: 1;
background: #fff; background: #fff;
border: 3px solid var(--paper); border: 2px solid var(--paper);
border-radius: 14px; border-radius: 12px;
box-shadow: 0 10px 22px rgba(86, 63, 34, 0.16); box-shadow: 0 8px 16px rgba(86, 63, 34, 0.14);
height: 0.95in; height: 0.72in;
margin: 0 auto 8px; margin: 0 auto 5px;
object-fit: cover; object-fit: cover;
width: 0.95in; width: 0.72in;
} }
.qr { align-self: center; justify-self: end; max-width: 1.65in; text-align: center; width: 100%; } .qr { align-self: center; justify-self: end; max-width: 1.28in; text-align: center; width: 100%; }
.qr svg { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 6px; width: 0.92in; } .qr svg { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 5px; width: 0.72in; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; overflow-wrap: anywhere; } .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; overflow-wrap: anywhere; }
.qr-join-label { .qr-join-label {
color: var(--green); color: var(--green);
font-size: 10px; font-size: 9px;
font-weight: 800; font-weight: 800;
letter-spacing: 0.08em; letter-spacing: 0.08em;
line-height: 1; line-height: 1;
margin-bottom: -14px; margin-bottom: -10px;
position: relative; position: relative;
text-transform: uppercase; text-transform: uppercase;
z-index: 1; z-index: 1;
@@ -4303,19 +4303,19 @@ function App() {
.qr-wordmark { .qr-wordmark {
display: block; display: block;
height: auto; height: auto;
margin: -14px auto -6px; margin: -10px auto -4px;
max-height: 0.74in; max-height: 0.52in;
object-fit: contain; object-fit: contain;
width: min(100%, 1.65in); width: min(100%, 1.28in);
} }
.qr-note { .qr-note {
color: var(--blue); color: var(--blue);
font-family: "Avenir Next", "Arial Rounded MT Bold", Arial, sans-serif; font-family: "Avenir Next", "Arial Rounded MT Bold", Arial, sans-serif;
font-size: 10px; font-size: 9px;
font-weight: 800; font-weight: 800;
letter-spacing: 0; letter-spacing: 0;
line-height: 1.28; line-height: 1.28;
margin-top: 5px; margin-top: 3px;
} }
.grid { stroke: rgba(53, 129, 98, 0.16); } .grid { stroke: rgba(53, 129, 98, 0.16); }
.current { fill: none; stroke: ${escapeReportHtml(selectedBird.chartColor)}; stroke-linecap: round; stroke-width: 4; } .current { fill: none; stroke: ${escapeReportHtml(selectedBird.chartColor)}; stroke-linecap: round; stroke-width: 4; }