Template:Accession/styles.css
Template page
More actions
/* MEDIAWIKI-COMPATIBLE SCIENTIFIC RESEARCH DATABASE STYLING */
/* Research Database Header - Dark, Technical */
.hero-header {
background: #0f172a;
border: 1px solid #334155;
border-radius: 2px;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
margin-bottom: 2rem;
position: relative;
}
/* Scientific header section */
.hero-top {
background: #1e293b;
color: white;
padding: 1.5rem 2rem;
position: relative;
border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
/* Scientific title typography */
.hero-title {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 1.75rem;
font-weight: 600;
margin: 0;
line-height: 1.1;
color: #f8fafc;
letter-spacing: -0.02em;
max-width: 65%;
}
/* Technical data badges */
.hero-subtitle {
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.65rem;
color: #cbd5e1;
background: rgba(15, 23, 42, 0.8);
border: 1px solid rgba(148, 163, 184, 0.2);
padding: 0.3rem 0.6rem;
border-radius: 2px;
display: inline-block;
margin-top: 0.75rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Status indicators - more technical */
.hero-badges {
position: absolute;
top: 1.5rem;
right: 2rem;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.hero-badge {
padding: 0.2rem 0.5rem;
border-radius: 2px;
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.55rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
min-width: 60px;
text-align: center;
border: 1px solid transparent;
}
.badge-active {
background: rgba(5, 150, 105, 0.2);
color: #10b981;
border-color: rgba(5, 150, 105, 0.3);
}
.badge-tier1 {
background: rgba(59, 130, 246, 0.2);
color: #60a5fa;
border-color: rgba(59, 130, 246, 0.3);
}
.badge-priority {
background: rgba(239, 68, 68, 0.2);
color: #f87171;
border-color: rgba(239, 68, 68, 0.3);
}
/* Scientific data visualization split */
.hero-split {
display: table;
width: 100%;
table-layout: fixed;
background: #f8fafc;
border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.hero-image, .hero-map {
display: table-cell;
width: 50%;
vertical-align: top;
height: 420px;
position: relative;
}
.hero-image {
background: #f1f5f9;
border-right: 1px solid #e2e8f0;
}
.hero-image img {
width: 100%;
height: 420px;
object-fit: cover;
}
/* Scientific placeholder - more technical */
.photo-placeholder {
height: 420px;
background: #f8fafc;
display: table;
width: 100%;
position: relative;
}
.placeholder-content {
display: table-cell;
vertical-align: middle;
text-align: center;
padding: 2.5rem;
position: relative;
}
.placeholder-title {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 1.1rem;
color: #1e293b;
font-weight: 600;
margin-bottom: 0.75rem;
letter-spacing: -0.01em;
}
.placeholder-subtitle {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 0.85rem;
color: #475569;
line-height: 1.5;
max-width: 300px;
margin: 0 auto 1.25rem;
}
.placeholder-instruction {
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.7rem;
color: #64748b;
background: rgba(255, 255, 255, 0.8);
border: 1px solid #e2e8f0;
padding: 0.75rem 1rem;
border-radius: 2px;
max-width: 280px;
margin: 0 auto;
line-height: 1.3;
}
/* Technical image overlay */
.image-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(15, 23, 42, 0.9);
color: white;
padding: 1.5rem 1.25rem 1rem;
}
.image-caption {
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.7rem;
font-weight: 500;
margin: 0;
line-height: 1.3;
color: #e2e8f0;
}
/* Research-grade map section */
.hero-map {
background: #f8fafc;
position: relative;
}
.map-container {
height: 420px;
width: 100%;
background: #e2e8f0;
display: flex;
align-items: center;
justify-content: center;
color: #64748b;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 0.9rem;
font-weight: 500;
position: relative;
}
.lw-map {
width: 100% !important;
height: 420px !important;
}
/* Scientific data overlay */
.map-legend {
position: absolute;
top: 1rem;
left: 1rem;
background: rgba(15, 23, 42, 0.95);
border: 1px solid rgba(148, 163, 184, 0.3);
border-radius: 2px;
padding: 1rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
max-width: 200px;
z-index: 1000;
color: white;
}
.legend-section {
margin-bottom: 0.75rem;
}
.legend-section:last-child {
margin-bottom: 0;
}
.legend-title {
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.6rem;
text-transform: uppercase;
color: #94a3b8;
font-weight: 600;
margin-bottom: 0.4rem;
letter-spacing: 1px;
}
.legend-primary {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-weight: 600;
color: #f8fafc;
font-size: 0.75rem;
margin-bottom: 0.25rem;
line-height: 1.2;
}
.legend-secondary {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #cbd5e1;
font-size: 0.7rem;
margin-bottom: 0.4rem;
line-height: 1.2;
}
.legend-coords {
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.65rem;
color: #10b981;
background: rgba(5, 150, 105, 0.1);
border: 1px solid rgba(5, 150, 105, 0.2);
padding: 0.3rem 0.5rem;
border-radius: 2px;
line-height: 1;
}
/* Research data strip - technical presentation */
.hero-details {
background: #1e293b;
border-top: 1px solid rgba(148, 163, 184, 0.2);
padding: 1.25rem 2rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
position: relative;
}
.detail-group {
display: flex;
flex-direction: column;
min-width: 120px;
text-align: center;
position: relative;
}
.detail-label {
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.6rem;
text-transform: uppercase;
color: #94a3b8;
font-weight: 600;
margin-bottom: 0.5rem;
letter-spacing: 1px;
}
.detail-value {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 0.85rem;
font-weight: 600;
color: #f8fafc;
line-height: 1.2;
}
.detail-value.highlight {
color: #10b981;
}
/* Scientific leaflet controls */
.leaflet-control {
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace !important;
font-size: 0.6rem !important;
}
.leaflet-control-layers {
background: rgba(15, 23, 42, 0.95) !important;
border: 1px solid rgba(148, 163, 184, 0.3) !important;
border-radius: 2px !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
color: white !important;
padding: 0.75rem !important;
}
.leaflet-control-layers label {
font-size: 0.65rem !important;
color: #cbd5e1 !important;
margin-bottom: 0.25rem !important;
line-height: 1.2 !important;
padding-left: 0.5rem !important;
}
.leaflet-control-zoom {
border: 1px solid rgba(148, 163, 184, 0.3) !important;
border-radius: 2px !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}
.leaflet-control-zoom a {
width: 28px !important;
height: 28px !important;
line-height: 28px !important;
font-size: 16px !important;
background: rgba(15, 23, 42, 0.95) !important;
color: #cbd5e1 !important;
border: none !important;
}
.leaflet-control-zoom a:hover {
background: rgba(15, 23, 42, 1) !important;
color: white !important;
}
/* Coordinates badge - technical styling */
.coordinates {
position: absolute;
bottom: 1rem;
right: 1rem;
background: rgba(15, 23, 42, 0.95);
color: #10b981;
padding: 0.5rem 0.75rem;
border-radius: 2px;
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.65rem;
font-weight: 500;
line-height: 1;
border: 1px solid rgba(5, 150, 105, 0.2);
}
/* Legacy map overlay - compatibility */
.map-overlay {
position: absolute;
top: 1rem;
left: 1rem;
background: rgba(15, 23, 42, 0.95);
border: 1px solid rgba(148, 163, 184, 0.3);
border-radius: 2px;
padding: 1rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
max-width: 200px;
color: white;
}
.map-overlay h4 {
margin: 0 0 0.4rem 0;
font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
font-size: 0.6rem;
text-transform: uppercase;
color: #94a3b8;
font-weight: 600;
letter-spacing: 1px;
}
.location-primary {
font-weight: 600;
color: #f8fafc;
margin-bottom: 0.25rem;
font-size: 0.75rem;
line-height: 1.2;
}
.location-secondary {
color: #cbd5e1;
font-size: 0.7rem;
line-height: 1.2;
}
/* Mobile responsiveness for research interface */
@media (max-width: 768px) {
.hero-split {
display: block;
}
.hero-image, .hero-map {
display: block;
width: 100%;
height: 320px;
}
.hero-map {
border-right: none;
border-top: 1px solid #e2e8f0;
}
.photo-placeholder {
height: 320px;
}
.map-container {
height: 320px;
}
.lw-map {
height: 320px !important;
}
.hero-badges {
position: static;
margin-top: 1rem;
flex-direction: row;
flex-wrap: wrap;
gap: 0.5rem;
}
.hero-top {
padding: 1.25rem 1.5rem;
}
.hero-details {
padding: 1rem 1.5rem;
gap: 1rem;
}
.map-legend {
max-width: 160px;
padding: 0.75rem;
}
}