Template:Accession/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Cleaner Hero Header - Remove frames and tighten */ | ||
.hero-header { | .hero-header { | ||
background: white; | background: white; | ||
border-radius: | border-radius: 8px; | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); | ||
margin-bottom: | margin-bottom: 1.5rem; | ||
} | } | ||
/* | /* Tighter top section */ | ||
.hero-top { | .hero-top { | ||
background: #0f172a; | background: #0f172a; | ||
color: white; | color: white; | ||
padding: 1.5rem | padding: 1rem 1.5rem; | ||
position: relative; | position: relative; | ||
} | } | ||
.hero-title { | .hero-title { | ||
font-size: | font-size: 1.8rem; | ||
font-weight: bold; | font-weight: bold; | ||
margin: | margin: 0; | ||
line-height: | line-height: 1; | ||
color: white; | color: white; | ||
max-width: | max-width: 70%; | ||
} | } | ||
.hero-subtitle { | .hero-subtitle { | ||
font-family: monospace; | font-family: monospace; | ||
font-size: 0. | font-size: 0.7rem; | ||
color: # | color: #94a3b8; | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.08); | ||
padding: 0. | padding: 0.25rem 0.5rem; | ||
border-radius: | border-radius: 3px; | ||
display: inline-block; | display: inline-block; | ||
margin-top: 0.5rem; | |||
} | } | ||
.hero-badges { | .hero-badges { | ||
position: absolute; | position: absolute; | ||
top: | top: 0.75rem; | ||
right: 1rem; | right: 1rem; | ||
} | } | ||
.hero-badge { | .hero-badge { | ||
padding: 0. | padding: 0.1rem 0.3rem; | ||
border-radius: | border-radius: 4px; | ||
font-size: 0. | font-size: 0.5rem; | ||
font-weight: bold; | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
margin-bottom: 0. | margin-bottom: 0.1rem; | ||
display: block; | display: block; | ||
min-width: 50px; | |||
text-align: center; | |||
} | |||
/* Remove frames from split section */ | |||
.hero-split { | |||
display: table; | |||
width: 100%; | |||
table-layout: fixed; | |||
background: #fafafa; | |||
} | |||
.hero-image, .hero-map { | |||
display: table-cell; | |||
width: 50%; | |||
vertical-align: top; | |||
height: 350px; | |||
position: relative; | |||
} | |||
.hero-image { | |||
background: #f5f5f5; | |||
} | |||
.hero-image img { | |||
width: 100%; | |||
height: 350px; | |||
object-fit: cover; | |||
} | |||
/* Cleaner placeholder */ | |||
.photo-placeholder { | |||
height: 350px; | |||
background: #f9f9f9; | |||
display: table; | |||
width: 100%; | |||
} | |||
.placeholder-content { | |||
display: table-cell; | |||
vertical-align: middle; | |||
text-align: center; | |||
padding: 1.5rem; | |||
} | |||
.placeholder-icon { | |||
font-size: 2.5rem; | |||
color: #a0a0a0; | |||
margin-bottom: 0.75rem; | |||
display: block; | |||
} | |||
.placeholder-title { | |||
font-size: 1rem; | |||
color: #333; | |||
font-weight: bold; | |||
margin-bottom: 0.5rem; | |||
} | |||
.placeholder-subtitle { | |||
font-size: 0.8rem; | |||
color: #666; | |||
line-height: 1.3; | |||
max-width: 250px; | |||
margin: 0 auto 0.75rem; | |||
} | |||
.placeholder-instruction { | |||
font-size: 0.65rem; | |||
color: #999; | |||
background: white; | |||
padding: 0.5rem; | |||
border-radius: 4px; | |||
max-width: 220px; | |||
margin: 0 auto; | |||
} | |||
/* Minimal image overlay */ | |||
.image-overlay { | |||
position: absolute; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
background: rgba(0, 0, 0, 0.5); | |||
color: white; | |||
padding: 0.5rem 0.75rem 0.25rem; | |||
} | |||
.image-caption { | |||
font-size: 0.7rem; | |||
margin: 0; | |||
line-height: 1.1; | |||
} | |||
/* Clean map section */ | |||
.hero-map { | |||
background: #fafafa; | |||
} | |||
.map-container { | |||
height: 350px; | |||
background: #eeeeee; | |||
display: table-cell; | |||
vertical-align: middle; | |||
text-align: center; | |||
color: #777; | |||
font-size: 0.8rem; | |||
} | |||
/* Smaller, cleaner overlays */ | |||
.map-overlay { | |||
position: absolute; | |||
top: 0.75rem; | |||
left: 0.75rem; | |||
background: white; | |||
border-radius: 4px; | |||
padding: 0.75rem; | |||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |||
max-width: 160px; | |||
} | |||
.map-overlay h4 { | |||
margin: 0 0 0.25rem 0; | |||
font-size: 0.6rem; | |||
text-transform: uppercase; | |||
color: #666; | |||
font-weight: bold; | |||
} | |||
.location-primary { | |||
font-weight: bold; | |||
color: #333; | |||
margin-bottom: 0.25rem; | |||
font-size: 0.75rem; | |||
} | |||
.location-secondary { | |||
color: #666; | |||
font-size: 0.65rem; | |||
} | |||
.coordinates { | |||
position: absolute; | |||
bottom: 0.75rem; | |||
right: 0.75rem; | |||
background: rgba(0, 0, 0, 0.75); | |||
color: white; | |||
padding: 0.35rem 0.5rem; | |||
border-radius: 4px; | |||
font-family: monospace; | |||
font-size: 0.65rem; | |||
} | |||
/* Cleaner details section */ | |||
.hero-details { | |||
background: white; | |||
padding: 1rem 1.5rem; | |||
text-align: center; | text-align: center; | ||
min-width: | } | ||
.detail-group { | |||
display: inline-block; | |||
margin: 0 1rem 0.75rem 0; | |||
min-width: 100px; | |||
vertical-align: top; | |||
} | |||
.detail-label { | |||
font-size: 0.6rem; | |||
text-transform: uppercase; | |||
color: #777; | |||
font-weight: bold; | |||
margin-bottom: 0.25rem; | |||
} | |||
.detail-value { | |||
font-size: 0.85rem; | |||
font-weight: bold; | |||
color: #333; | |||
line-height: 1.1; | |||
} | |||
.detail-value.highlight { | |||
color: #059669; | |||
} | |||
.geographic-path { | |||
width: 100%; | |||
padding-top: 0.75rem; | |||
border-top: 1px solid #eee; | |||
margin-top: 0.75rem; | |||
text-align: center; | |||
} | |||
.geographic-path h4 { | |||
margin: 0 0 0.25rem 0; | |||
font-size: 0.6rem; | |||
text-transform: uppercase; | |||
color: #777; | |||
font-weight: bold; | |||
} | |||
.breadcrumb { | |||
font-size: 0.75rem; | |||
color: #555; | |||
} | |||
.breadcrumb .separator { | |||
color: #aaa; | |||
margin: 0 0.35rem; | |||
} | |||
.breadcrumb .level { | |||
color: #059669; | |||
font-weight: bold; | |||
} | } | ||
Revision as of 06:10, 17 September 2025
/* Cleaner Hero Header - Remove frames and tighten */
.hero-header {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
margin-bottom: 1.5rem;
}
/* Tighter top section */
.hero-top {
background: #0f172a;
color: white;
padding: 1rem 1.5rem;
position: relative;
}
.hero-title {
font-size: 1.8rem;
font-weight: bold;
margin: 0;
line-height: 1;
color: white;
max-width: 70%;
}
.hero-subtitle {
font-family: monospace;
font-size: 0.7rem;
color: #94a3b8;
background: rgba(255, 255, 255, 0.08);
padding: 0.25rem 0.5rem;
border-radius: 3px;
display: inline-block;
margin-top: 0.5rem;
}
.hero-badges {
position: absolute;
top: 0.75rem;
right: 1rem;
}
.hero-badge {
padding: 0.1rem 0.3rem;
border-radius: 4px;
font-size: 0.5rem;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 0.1rem;
display: block;
min-width: 50px;
text-align: center;
}
/* Remove frames from split section */
.hero-split {
display: table;
width: 100%;
table-layout: fixed;
background: #fafafa;
}
.hero-image, .hero-map {
display: table-cell;
width: 50%;
vertical-align: top;
height: 350px;
position: relative;
}
.hero-image {
background: #f5f5f5;
}
.hero-image img {
width: 100%;
height: 350px;
object-fit: cover;
}
/* Cleaner placeholder */
.photo-placeholder {
height: 350px;
background: #f9f9f9;
display: table;
width: 100%;
}
.placeholder-content {
display: table-cell;
vertical-align: middle;
text-align: center;
padding: 1.5rem;
}
.placeholder-icon {
font-size: 2.5rem;
color: #a0a0a0;
margin-bottom: 0.75rem;
display: block;
}
.placeholder-title {
font-size: 1rem;
color: #333;
font-weight: bold;
margin-bottom: 0.5rem;
}
.placeholder-subtitle {
font-size: 0.8rem;
color: #666;
line-height: 1.3;
max-width: 250px;
margin: 0 auto 0.75rem;
}
.placeholder-instruction {
font-size: 0.65rem;
color: #999;
background: white;
padding: 0.5rem;
border-radius: 4px;
max-width: 220px;
margin: 0 auto;
}
/* Minimal image overlay */
.image-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.5);
color: white;
padding: 0.5rem 0.75rem 0.25rem;
}
.image-caption {
font-size: 0.7rem;
margin: 0;
line-height: 1.1;
}
/* Clean map section */
.hero-map {
background: #fafafa;
}
.map-container {
height: 350px;
background: #eeeeee;
display: table-cell;
vertical-align: middle;
text-align: center;
color: #777;
font-size: 0.8rem;
}
/* Smaller, cleaner overlays */
.map-overlay {
position: absolute;
top: 0.75rem;
left: 0.75rem;
background: white;
border-radius: 4px;
padding: 0.75rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
max-width: 160px;
}
.map-overlay h4 {
margin: 0 0 0.25rem 0;
font-size: 0.6rem;
text-transform: uppercase;
color: #666;
font-weight: bold;
}
.location-primary {
font-weight: bold;
color: #333;
margin-bottom: 0.25rem;
font-size: 0.75rem;
}
.location-secondary {
color: #666;
font-size: 0.65rem;
}
.coordinates {
position: absolute;
bottom: 0.75rem;
right: 0.75rem;
background: rgba(0, 0, 0, 0.75);
color: white;
padding: 0.35rem 0.5rem;
border-radius: 4px;
font-family: monospace;
font-size: 0.65rem;
}
/* Cleaner details section */
.hero-details {
background: white;
padding: 1rem 1.5rem;
text-align: center;
}
.detail-group {
display: inline-block;
margin: 0 1rem 0.75rem 0;
min-width: 100px;
vertical-align: top;
}
.detail-label {
font-size: 0.6rem;
text-transform: uppercase;
color: #777;
font-weight: bold;
margin-bottom: 0.25rem;
}
.detail-value {
font-size: 0.85rem;
font-weight: bold;
color: #333;
line-height: 1.1;
}
.detail-value.highlight {
color: #059669;
}
.geographic-path {
width: 100%;
padding-top: 0.75rem;
border-top: 1px solid #eee;
margin-top: 0.75rem;
text-align: center;
}
.geographic-path h4 {
margin: 0 0 0.25rem 0;
font-size: 0.6rem;
text-transform: uppercase;
color: #777;
font-weight: bold;
}
.breadcrumb {
font-size: 0.75rem;
color: #555;
}
.breadcrumb .separator {
color: #aaa;
margin: 0 0.35rem;
}
.breadcrumb .level {
color: #059669;
font-weight: bold;
}
.badge-active {
background: #16a34a;
color: white;
}
.badge-tier1 {
background: #2563eb;
color: white;
}
.badge-priority {
background: #dc2626;
color: white;
}
/* Split section */
.hero-split {
display: table;
width: 100%;
table-layout: fixed;
background: #f8fafc;
}
.hero-image, .hero-map {
display: table-cell;
width: 50%;
vertical-align: top;
height: 400px;
position: relative;
}
.hero-image {
background: #f1f5f9;
border-right: 1px solid #e2e8f0;
}
.hero-image img {
width: 100%;
height: 400px;
object-fit: cover;
}
/* Placeholder */
.photo-placeholder {
height: 400px;
background: #f8fafc;
display: table;
width: 100%;
}
.placeholder-content {
display: table-cell;
vertical-align: middle;
text-align: center;
padding: 2rem;
}
.placeholder-icon {
font-size: 3rem;
color: #94a3b8;
margin-bottom: 1rem;
display: block;
}
.placeholder-title {
font-size: 1.2rem;
color: #334155;
font-weight: bold;
margin-bottom: 0.75rem;
}
.placeholder-subtitle {
font-size: 0.9rem;
color: #64748b;
line-height: 1.4;
max-width: 280px;
margin: 0 auto 1rem;
}
.placeholder-instruction {
font-size: 0.8rem;
color: #94a3b8;
background: white;
padding: 0.75rem;
border-radius: 6px;
border: 1px solid #e2e8f0;
max-width: 260px;
margin: 0 auto;
}
/* Image overlay - tightened */
.image-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
color: white;
padding: 0.75rem 1rem 0.5rem;
}
.image-caption {
font-size: 0.8rem;
font-weight: bold;
margin: 0;
line-height: 1.2;
}
/* Map section */
.hero-map {
background: #f8fafc;
}
.map-container {
height: 400px;
background: #e2e8f0;
display: table-cell;
vertical-align: middle;
text-align: center;
color: #64748b;
font-size: 0.9rem;
font-weight: bold;
}
.map-overlay {
position: absolute;
top: 1rem;
left: 1rem;
background: white;
border-radius: 8px;
padding: 1rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
max-width: 200px;
border: 1px solid #e2e8f0;
}
.map-overlay h4 {
margin: 0 0 0.5rem 0;
font-size: 0.75rem;
text-transform: uppercase;
color: #64748b;
font-weight: bold;
}
.location-primary {
font-weight: bold;
color: #1e293b;
margin-bottom: 0.5rem;
font-size: 0.85rem;
}
.location-secondary {
color: #64748b;
font-size: 0.8rem;
}
.coordinates {
position: absolute;
bottom: 1rem;
right: 1rem;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 0.5rem 0.75rem;
border-radius: 6px;
font-family: monospace;
font-size: 0.75rem;
font-weight: bold;
}
/* Details section */
.hero-details {
background: white;
border-top: 2px solid #334155;
padding: 1.5rem 2rem;
text-align: center;
}
.detail-group {
display: inline-block;
margin: 0 1.5rem 1rem 0;
min-width: 120px;
vertical-align: top;
}
.detail-label {
font-size: 0.75rem;
text-transform: uppercase;
color: #64748b;
font-weight: bold;
margin-bottom: 0.5rem;
}
.detail-value {
font-size: 1rem;
font-weight: bold;
color: #1e293b;
line-height: 1.2;
}
.detail-value.highlight {
color: #059669;
}
.geographic-path {
width: 100%;
padding-top: 1rem;
border-top: 1px solid #e2e8f0;
margin-top: 1rem;
text-align: center;
}
.geographic-path h4 {
margin: 0 0 0.5rem 0;
font-size: 0.75rem;
text-transform: uppercase;
color: #64748b;
font-weight: bold;
}
.breadcrumb {
font-size: 0.9rem;
color: #374151;
}
.breadcrumb .separator {
color: #9ca3af;
margin: 0 0.5rem;
}
.breadcrumb .level {
color: #059669;
font-weight: bold;
}
/* Mobile */
@media (max-width: 768px) {
.hero-split {
display: block;
}
.hero-image, .hero-map {
display: block;
width: 100%;
height: 300px;
}
.hero-map {
border-right: none;
border-top: 1px solid #e2e8f0;
}
.photo-placeholder {
height: 300px;
}
.map-container {
height: 300px;
}
.hero-badges {
position: static;
margin-top: 1rem;
}
.hero-badge {
margin: 0 0.5rem 0.5rem 0;
}
.hero-top {
padding: 1.5rem;
}
.hero-details {
padding: 1rem 1.5rem;
}
}