Add person and family detail pages, no-cache responses
This commit is contained in:
@@ -410,6 +410,286 @@ div.person-photo {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
a.person-card,
|
||||
a.student-card,
|
||||
a.family-card {
|
||||
display: block;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.detail-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-top: 24px;
|
||||
padding-bottom: 14px;
|
||||
}
|
||||
|
||||
.crumbs {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.crumb-back {
|
||||
display: flex;
|
||||
color: #9aa4ab;
|
||||
}
|
||||
|
||||
.crumb-back svg,
|
||||
.heart-button svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 1.5;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.crumb {
|
||||
color: var(--muted);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.crumb.current {
|
||||
color: var(--ink);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.crumb-sep {
|
||||
color: #c4cad0;
|
||||
}
|
||||
|
||||
.heart-button {
|
||||
border: 0;
|
||||
background: none;
|
||||
color: #9aa4ab;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.detail-content {
|
||||
padding-bottom: 44px;
|
||||
}
|
||||
|
||||
.detail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 302px minmax(0, 1fr);
|
||||
gap: 28px;
|
||||
}
|
||||
|
||||
.detail-photo {
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.detail-name {
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
margin: 4px 0 6px;
|
||||
}
|
||||
|
||||
.detail-sub {
|
||||
color: var(--muted);
|
||||
font-size: 14px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.contact-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.contact-value {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.field-label {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.contact-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
border: 0;
|
||||
background: #f1f3f4;
|
||||
color: #3c4650;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-button svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 1.5;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.about-header {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
margin: 40px 0 10px;
|
||||
}
|
||||
|
||||
.about-text {
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.band {
|
||||
background: var(--label);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.band-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 44px;
|
||||
padding-top: 36px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.band-left h2 {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
margin: 8px 0 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.band-caption {
|
||||
color: rgba(255, 255, 255, 0.72);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
max-width: 320px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.band-title {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
padding-top: 32px;
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
|
||||
.member-header {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
margin: 14px 0 4px;
|
||||
}
|
||||
|
||||
.member-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 11px 0;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.14);
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.member-thumb {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 6px;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.member-label {
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.member-name {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.member-email {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.member-chevron {
|
||||
margin-left: auto;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
}
|
||||
|
||||
.member-chevron svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 1.5;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.see-family {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 15px 12px;
|
||||
margin-top: 18px;
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
border-radius: 8px;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.family-caption {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.photo-hint {
|
||||
color: #a8b0b7;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.band .band-grid .band-right .member-row:last-of-type {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.detail-grid,
|
||||
.band-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.container {
|
||||
padding-left: 16px;
|
||||
|
||||
Reference in New Issue
Block a user