Template:Accession/styles.css
Template page
More actions
/* Template:Accession/styles.css - Complete Fixed Version */
.accession-simple {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
/* ===== HERO HEADER ===== */
.hero-header {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
margin-bottom: 1.5rem;
border: 1px solid #e2e8f0;
}
/* ===== HERO TOP SECTION ===== */
.hero-top {
background: #0f172a;
color: white;
padding: 1.5rem 2rem;
position: relative;
}
.title-section {
max-width: 70%;
}
.hero-title {
font-size: 2rem;
font-weight: bold;
margin: 0 0 0.75rem 0;
line-height: 1.2;
color: white;
}
/* ===== HEADER BADGES ROW ===== */
.header-badges-row {
margin-top: 0.75rem;
}
/* Base status badge styling */
.status-badge {
padding: 0.25rem 0.75rem;
border-radius: 4px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 0.75rem;
font-weight: 600;
text-align: center;
border: 1px solid transparent;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.25rem;
margin-right: 0.25rem;
}
/* Accession ID badge - monospace style */
.accession-id-badge {
background: #374151;
color: white;
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
border-color: #4b5563;
}
/* Geographic badges - muted botanical colors */
.geographic-current {
background: rgba(109, 154, 124, 0.3);
color: #f0f6f2;
font-weight: 600;
border-color: rgba(109, 154, 124, 0.5);
}
.geographic-current::before {
content: "📍";
font-size: 0.7rem;
margin-right: 0.3rem;
}
.geographic-parent {
background: rgba(109, 154, 124, 0.15);
color: #2c5530;
border-color: rgba(109, 154, 124, 0.25);
}
.geographic-badge {
padding: 0.25rem 0.6rem;
border-radius: 4px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 0.72rem;
font-weight: 500;
text-align: center;
display: inline-block;
margin-right: 0.3rem;
text-decoration: none;
transition: all 0.2s ease;
background: rgba(109, 154, 124, 0.15);
color: #2c5530;
border: 1px solid rgba(109, 154, 124, 0.25);
}
/* Active status styling */
.status-active {
background: #16a34a;
color: white;
border-color: #15803d;
}
.status-active::before {
content: "✓";
font-size: 0.7rem;
}
/* Tier 1 status styling */
.status-tier1 {
background: #0891b2;
color: white;
border-color: #0e7490;
}
.status-tier1::before {
content: "●";
font-size: 0.6rem;
}
/* ===== HERO 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;
}
/* ===== PHOTO 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-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;
}
/* ===== IMAGE OVERLAY ===== */
.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-family: monospace;
padding: 2rem;
}
/* ===== HERO DETAILS STRIP ===== */
.hero-details {
background: #fff;
border-top: 2px solid #334155;
padding: 1.5rem 2rem;
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
}
.detail-group {
min-width: 120px;
text-align: center;
}
.detail-label {
font-size: 0.75rem;
text-transform: uppercase;
color: #64748b;
font-weight: bold;
margin-bottom: 0.25rem;
}
.detail-value {
font-size: 1rem;
font-weight: bold;
color: #1e293b;
}
.detail-value.highlight {
color: #059669;
}
.unit {
font-size: 0.8rem;
color: #64748b;
margin-left: 0.1rem;
}
/* ===== TIER 1 DATA SECTION ===== */
.tier1 {
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 2rem;
margin-top: 2rem;
}
.tier1 h2 {
color: #1f2937;
margin-bottom: 1.5rem;
font-size: 1.5rem;
}
.tier1 h3 {
color: #374151;
margin: 1.5rem 0 0.75rem 0;
font-size: 1.1rem;
border-bottom: 1px solid #e5e7eb;
padding-bottom: 0.5rem;
}
.tier1 .detail-label {
font-weight: bold;
color: #4b5563;
min-width: 200px;
display: inline-block;
}
.tier1 .detail-value {
color: #111827;
}
.tier1 > div {
margin-bottom: 0.5rem;
padding: 0.25rem 0;
}
/* ===== MOBILE RESPONSIVE ===== */
@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: 298px;
}
.hero-title {
font-size: 1.5rem;
}
.title-section {
max-width: 100%;
}
.hero-top {
padding: 1.25rem 1.5rem;
}
.hero-details {
padding: 1rem 1.5rem;
gap: 1rem;
}
.detail-group {
min-width: 100px;
}
.header-badges-row {
margin-top: 0.5rem;
}
.tier1 {
padding: 1.5rem;
}
}