feat: add branded editorial photo catalog
This commit is contained in:
1 parent
f6e6018cc1
commit
66f0599653
20 files changed
+1299
-36
No files matched your search
+343
-2
@@ -2,8 +2,11 @@
|
||||
|
||||
:root {
|
||||
--paper: #ffffff;
|
||||
--ink: #0a0a0a;
|
||||
--muted: #5f5f5f;
|
||||
--ink: #050505;
|
||||
--graphite: #242424;
|
||||
--contact-sheet: #ececec;
|
||||
--metadata: #6b6b6b;
|
||||
--muted: var(--metadata);
|
||||
--line: #d8d8d8;
|
||||
--soft: #f3f3f3;
|
||||
color-scheme: light;
|
||||
@@ -276,3 +279,341 @@ a {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.editorial-shell {
|
||||
min-height: 100vh;
|
||||
background: var(--paper);
|
||||
}
|
||||
|
||||
.portal-masthead {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
min-height: 5.25rem;
|
||||
padding: 0.9rem clamp(1.25rem, 4vw, 5rem);
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
}
|
||||
|
||||
.portal-brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
display: block;
|
||||
width: min(14rem, 48vw);
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.portal-masthead-meta,
|
||||
.portal-masthead nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: clamp(1rem, 2.2vw, 2.25rem);
|
||||
}
|
||||
|
||||
.portal-masthead-meta {
|
||||
color: #d4d4d4;
|
||||
font-size: 0.6875rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.portal-masthead nav a {
|
||||
color: var(--paper);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.portal-masthead nav a:hover {
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.28em;
|
||||
}
|
||||
|
||||
.editorial-work-surface {
|
||||
width: min(100%, 108rem);
|
||||
margin: 0 auto;
|
||||
padding: clamp(2rem, 5vw, 5.5rem) clamp(1.25rem, 4vw, 5rem) 5rem;
|
||||
}
|
||||
|
||||
.editorial-section {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.editorial-kicker {
|
||||
margin: 0 0 1rem;
|
||||
color: var(--metadata);
|
||||
font-size: 0.6875rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.editorial-title-row {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
margin-bottom: clamp(2rem, 4vw, 3.5rem);
|
||||
padding-bottom: 1.25rem;
|
||||
border-bottom: 1px solid var(--ink);
|
||||
}
|
||||
|
||||
.editorial-title-row h1,
|
||||
.editorial-state h1,
|
||||
.editorial-section > h1 {
|
||||
max-width: 15ch;
|
||||
margin: 0;
|
||||
font-size: clamp(2.5rem, 5vw, 5.5rem);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.065em;
|
||||
line-height: 0.9;
|
||||
}
|
||||
|
||||
.editorial-title-row > p {
|
||||
max-width: 27rem;
|
||||
margin: 0;
|
||||
color: var(--graphite);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.album-title-row {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.quiet-link {
|
||||
flex: none;
|
||||
color: var(--graphite);
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 650;
|
||||
text-underline-offset: 0.2em;
|
||||
}
|
||||
|
||||
.album-contact-sheet,
|
||||
.photo-contact-sheet {
|
||||
display: grid;
|
||||
gap: clamp(1.25rem, 2.25vw, 2.5rem);
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.album-contact-sheet {
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
|
||||
}
|
||||
|
||||
.photo-contact-sheet {
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
|
||||
}
|
||||
|
||||
.contact-sheet-link {
|
||||
display: block;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.album-contact-frame,
|
||||
.photo-contact-frame {
|
||||
margin: 0;
|
||||
background: var(--contact-sheet);
|
||||
}
|
||||
|
||||
.album-contact-frame {
|
||||
border: 1px solid var(--ink);
|
||||
}
|
||||
|
||||
.photo-contact-frame {
|
||||
border-top: 1px solid var(--ink);
|
||||
}
|
||||
|
||||
.contact-sheet-image,
|
||||
.missing-contact-image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 3 / 2;
|
||||
object-fit: cover;
|
||||
background: var(--contact-sheet);
|
||||
transition: transform 150ms ease-out;
|
||||
}
|
||||
|
||||
.photo-contact-frame .contact-sheet-image {
|
||||
aspect-ratio: 3 / 2;
|
||||
}
|
||||
|
||||
.missing-contact-image {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--metadata);
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.contact-sheet-link:hover .contact-sheet-image,
|
||||
.contact-sheet-link:focus-visible .contact-sheet-image {
|
||||
transform: scale(1.015);
|
||||
}
|
||||
|
||||
.album-contact-frame,
|
||||
.photo-contact-frame {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.contact-strip {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
min-height: 2.35rem;
|
||||
margin: 0;
|
||||
padding: 0.5rem 0.625rem;
|
||||
border-top: 1px solid var(--ink);
|
||||
background: var(--contact-sheet);
|
||||
color: var(--graphite);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 0.625rem;
|
||||
letter-spacing: 0.035em;
|
||||
line-height: 1.25;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.contact-strip-name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.photo-search {
|
||||
display: grid;
|
||||
gap: 0.55rem;
|
||||
width: min(100%, 42rem);
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.photo-search label {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.photo-search-controls {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.photo-search input {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
min-height: 3rem;
|
||||
border: 1px solid var(--ink);
|
||||
border-right: 0;
|
||||
border-radius: 0;
|
||||
background: var(--paper);
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
padding: 0.7rem 0.8rem;
|
||||
}
|
||||
|
||||
.photo-search button {
|
||||
min-height: 3rem;
|
||||
border: 1px solid var(--ink);
|
||||
border-radius: 0;
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 700;
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
|
||||
.photo-search button:hover {
|
||||
background: var(--graphite);
|
||||
}
|
||||
|
||||
.result-summary {
|
||||
margin: 0 0 1.5rem;
|
||||
color: var(--metadata);
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.catalog-empty,
|
||||
.editorial-state > p:not(.editorial-kicker) {
|
||||
max-width: 38rem;
|
||||
color: var(--graphite);
|
||||
font-size: 1rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.photo-pagination {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
margin-top: 2.5rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid var(--ink);
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.editorial-section dl {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
|
||||
gap: 0.85rem 1.5rem;
|
||||
max-width: 48rem;
|
||||
margin: 2rem 0 0;
|
||||
padding-top: 1.25rem;
|
||||
border-top: 1px solid var(--ink);
|
||||
}
|
||||
|
||||
.editorial-section dt {
|
||||
color: var(--metadata);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.editorial-section dd {
|
||||
margin: 0;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
@media (max-width: 44rem) {
|
||||
.portal-masthead {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.portal-masthead-meta {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.editorial-title-row {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.editorial-section dl {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.editorial-section dd {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.contact-sheet-image {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user