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: | ||
/* | /* Simplified Hero Header - MediaWiki Compatible */ | ||
.hero-header { | |||
. | background: white; | ||
border-radius: 12px; | |||
overflow: hidden; | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); | |||
margin-bottom: 2rem; | |||
border: 1px solid #e2e8f0; | border: 1px solid #e2e8f0; | ||
} | } | ||
/* | /* Top section */ | ||
. | .hero-top { | ||
background: #0f172a; | |||
color: white; | |||
padding: 1.5rem 2rem; | |||
position: relative; | |||
} | } | ||
. | .hero-title { | ||
font-size: 2rem; | |||
font-weight: bold; | |||
margin: 0 0 0.5rem 0; | |||
font-size: | |||
font-weight: | |||
margin: 0 0 0. | |||
line-height: 1.2; | line-height: 1.2; | ||
} | } | ||
. | .hero-subtitle { | ||
font-family: | font-family: monospace; | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
color: # | color: #94a3b8; | ||
background: | background: rgba(255, 255, 255, 0.15); | ||
padding: 0.25rem 0.75rem; | padding: 0.25rem 0.75rem; | ||
border-radius: 4px; | border-radius: 4px; | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
.hero-badges { | |||
. | position: absolute; | ||
top: 1.5rem; | |||
right: 2rem; | |||
} | } | ||
. | .hero-badge { | ||
padding: 0. | padding: 0.375rem 1rem; | ||
border-radius: 20px; | border-radius: 20px; | ||
font-size: 0.75rem; | font-size: 0.75rem; | ||
font-weight: | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
margin-left: 0.5rem; | |||
display: inline-block; | |||
} | } | ||
. | .badge-active { | ||
background: # | background: #22c55e; | ||
color: | color: white; | ||
} | } | ||
. | .badge-tier1 { | ||
background: # | background: #3b82f6; | ||
color: | color: white; | ||
} | } | ||
. | .badge-priority { | ||
background: # | background: #f59e0b; | ||
color: | color: white; | ||
} | } | ||
/* | /* Split section */ | ||
. | .hero-split { | ||
display: table; | |||
width: 100%; | |||
min-height: 400px; | |||
} | } | ||
. | .hero-image, .hero-map { | ||
display: table-cell; | |||
width: 50%; | |||
vertical-align: top; | |||
} | } | ||
. | .hero-image { | ||
position: relative; | |||
background: #f1f5f9; | |||
} | } | ||
. | .hero-image img { | ||
width: 100%; | |||
height: 400px; | |||
object-fit: cover; | |||
} | } | ||
. | .image-overlay { | ||
color: | position: absolute; | ||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
background: rgba(0, 0, 0, 0.7); | |||
color: white; | |||
padding: 1.5rem; | |||
} | } | ||
.image-caption { | |||
. | font-size: 0.875rem; | ||
margin: 0; | |||
} | } | ||
. | .hero-map { | ||
background: #f8fafc; | |||
border-left: 1px solid #e2e8f0; | |||
position: relative; | |||
} | } | ||
. | .map-container { | ||
height: 400px; | |||
background: #e2e8f0; | |||
display: table-cell; | |||
vertical-align: middle; | |||
text-align: center; | |||
color: #64748b; | color: #64748b; | ||
} | } | ||
.map-overlay { | |||
position: absolute; | |||
top: 1rem; | |||
left: 1rem; | |||
background: white; | background: white; | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: | padding: 1rem; | ||
box-shadow: 0 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | ||
max-width: 180px; | |||
} | } | ||
. | .map-overlay h4 { | ||
margin: 0 0 | 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.25rem; | |||
font-size: 0.8rem; | |||
} | } | ||
. | .location-secondary { | ||
color: # | color: #64748b; | ||
font-size: 0.75rem; | |||
} | } | ||
.coordinates { | |||
. | position: absolute; | ||
background: | bottom: 1rem; | ||
right: 1rem; | |||
padding: | background: rgba(0, 0, 0, 0.8); | ||
color: white; | |||
padding: 0.5rem 0.75rem; | |||
border-radius: 4px; | |||
font-family: monospace; | |||
font-size: 0.75rem; | |||
} | } | ||
. | /* Details section */ | ||
.hero-details { | |||
background: #f8fafc; | |||
border-top: 1px solid #e2e8f0; | |||
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 { | ||
transform: | font-size: 0.75rem; | ||
text-transform: uppercase; | |||
color: #64748b; | |||
font-weight: bold; | |||
margin-bottom: 0.25rem; | |||
} | } | ||
. | .detail-value { | ||
font-size: 1rem; | font-size: 1rem; | ||
font-weight: | font-weight: bold; | ||
color: #1e293b; | |||
} | } | ||
. | .detail-value.highlight { | ||
color: #059669; | |||
} | } | ||
. | .geographic-path { | ||
width: 100%; | |||
padding-top: 1rem; | |||
border-top: 1px solid #e2e8f0; | |||
margin-top: 1rem; | |||
} | } | ||
.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.875rem; | |||
font-size | |||
color: #374151; | color: #374151; | ||
} | } | ||
.breadcrumb .separator { | |||
. | color: #9ca3af; | ||
margin: 0 0.5rem; | |||
margin: | |||
} | } | ||
. | .breadcrumb .level { | ||
color: #059669; | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/* Mobile | /* Mobile */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .hero-split { | ||
display: block; | |||
} | } | ||
. | .hero-image, .hero-map { | ||
display: block; | |||
width: 100%; | |||
} | } | ||
. | .hero-map { | ||
border-left: none; | |||
border-top: 1px solid #e2e8f0; | |||
} | } | ||
. | .hero-badges { | ||
position: static; | |||
margin-top: 1rem; | |||
} | } | ||
. | .hero-badge { | ||
margin: 0 0.5rem 0.5rem 0; | |||
} | } | ||
} | } | ||
Revision as of 04:54, 17 September 2025
/* Simplified Hero Header - MediaWiki Compatible */
.hero-header {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
margin-bottom: 2rem;
border: 1px solid #e2e8f0;
}
/* Top section */
.hero-top {
background: #0f172a;
color: white;
padding: 1.5rem 2rem;
position: relative;
}
.hero-title {
font-size: 2rem;
font-weight: bold;
margin: 0 0 0.5rem 0;
line-height: 1.2;
}
.hero-subtitle {
font-family: monospace;
font-size: 0.875rem;
color: #94a3b8;
background: rgba(255, 255, 255, 0.15);
padding: 0.25rem 0.75rem;
border-radius: 4px;
display: inline-block;
}
.hero-badges {
position: absolute;
top: 1.5rem;
right: 2rem;
}
.hero-badge {
padding: 0.375rem 1rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: bold;
text-transform: uppercase;
margin-left: 0.5rem;
display: inline-block;
}
.badge-active {
background: #22c55e;
color: white;
}
.badge-tier1 {
background: #3b82f6;
color: white;
}
.badge-priority {
background: #f59e0b;
color: white;
}
/* Split section */
.hero-split {
display: table;
width: 100%;
min-height: 400px;
}
.hero-image, .hero-map {
display: table-cell;
width: 50%;
vertical-align: top;
}
.hero-image {
position: relative;
background: #f1f5f9;
}
.hero-image img {
width: 100%;
height: 400px;
object-fit: cover;
}
.image-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 1.5rem;
}
.image-caption {
font-size: 0.875rem;
margin: 0;
}
.hero-map {
background: #f8fafc;
border-left: 1px solid #e2e8f0;
position: relative;
}
.map-container {
height: 400px;
background: #e2e8f0;
display: table-cell;
vertical-align: middle;
text-align: center;
color: #64748b;
}
.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: 180px;
}
.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.25rem;
font-size: 0.8rem;
}
.location-secondary {
color: #64748b;
font-size: 0.75rem;
}
.coordinates {
position: absolute;
bottom: 1rem;
right: 1rem;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 0.5rem 0.75rem;
border-radius: 4px;
font-family: monospace;
font-size: 0.75rem;
}
/* Details section */
.hero-details {
background: #f8fafc;
border-top: 1px solid #e2e8f0;
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.25rem;
}
.detail-value {
font-size: 1rem;
font-weight: bold;
color: #1e293b;
}
.detail-value.highlight {
color: #059669;
}
.geographic-path {
width: 100%;
padding-top: 1rem;
border-top: 1px solid #e2e8f0;
margin-top: 1rem;
}
.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.875rem;
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%;
}
.hero-map {
border-left: none;
border-top: 1px solid #e2e8f0;
}
.hero-badges {
position: static;
margin-top: 1rem;
}
.hero-badge {
margin: 0 0.5rem 0.5rem 0;
}
}