|
|
| Line 1: |
Line 1: |
| /* Template:Accession/styles.css */ | | /* Template:Accession/styles.css - Minimal Version */ |
| /* Complete CSS for Landrace Cannabis Accession Pages */
| |
|
| |
|
| .accession-hero { | | .accession-simple { |
| margin-bottom: 2rem; | | max-width: 1200px; |
| }
| | margin: 0 auto; |
| | | padding: 1rem; |
| /* ===========================
| |
| Gallery Styles
| |
| =========================== */
| |
| .hero-gallery {
| |
| margin-bottom: 1.5rem; | |
| }
| |
| | |
| .hero-image {
| |
| position: relative;
| |
| width: 100%;
| |
| height: 400px;
| |
| border-radius: 12px;
| |
| overflow: hidden;
| |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
| |
| }
| |
| | |
| /* Make wiki File images fill containers */
| |
| .hero-image .mw-file-element,
| |
| .gallery-thumbs .mw-file-element {
| |
| width: 100%;
| |
| height: 100%;
| |
| object-fit: cover;
| |
| display: block;
| |
| }
| |
| | |
| /* If a thumbnail wraps the image in an <a class=image>, ensure it fills */
| |
| .gallery-thumbs .image {
| |
| display: block;
| |
| width: 100%;
| |
| height: 100%;
| |
| }
| |
| | |
| .hero-img {
| |
| width: 100%;
| |
| height: 100%;
| |
| object-fit: cover;
| |
| }
| |
| | |
| .hero-placeholder {
| |
| width: 100%;
| |
| height: 100%;
| |
| background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
| |
| display: flex; | |
| flex-direction: column;
| |
| align-items: center;
| |
| justify-content: center;
| |
| color: #64748b;
| |
| }
| |
| | |
| .placeholder-icon {
| |
| font-size: 4rem;
| |
| margin-bottom: 1rem;
| |
| }
| |
| | |
| .placeholder-text {
| |
| font-size: 1.1rem;
| |
| font-weight: 500;
| |
| } | | } |
|
| |
|
| .hero-overlay { | | /* Header */ |
| position: absolute;
| | .simple-header { |
| bottom: 0;
| | background: #f8fafc; |
| left: 0;
| |
| right: 0;
| |
| background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); | |
| color: white;
| |
| padding: 2rem; | | padding: 2rem; |
| | border-radius: 8px; |
| | margin-bottom: 2rem; |
| | border-left: 4px solid #2c5530; |
| } | | } |
|
| |
|
| .hero-title { | | .simple-title { |
| font-size: 2.5rem; | | font-size: 2rem; |
| font-weight: 700;
| | margin: 0 0 0.5rem 0; |
| margin-bottom: 0.5rem; | | color: #1e293b; |
| text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); | |
| } | | } |
|
| |
|
| .hero-subtitle { | | .simple-subtitle { |
| font-size: 1.1rem;
| | font-family: monospace; |
| opacity: 0.9;
| |
| font-family: 'SF Mono', 'Monaco', 'Consolas', monospace; | |
| margin-bottom: 0.5rem;
| |
| }
| |
| | |
| .hero-location {
| |
| font-size: 1rem; | | font-size: 1rem; |
| opacity: 0.8; | | color: #64748b; |
| | background: white; |
| | padding: 0.5rem 1rem; |
| | border-radius: 4px; |
| | display: inline-block; |
| } | | } |
|
| |
|
| .gallery-thumbs {
| | /* Grid Layout */ |
| display: flex;
| | .simple-grid { |
| gap: 0.75rem;
| |
| margin-top: 1rem;
| |
| overflow-x: auto;
| |
| padding: 0.5rem 0;
| |
| }
| |
| | |
| .thumb {
| |
| flex-shrink: 0;
| |
| width: 80px;
| |
| height: 60px;
| |
| border-radius: 8px;
| |
| overflow: hidden;
| |
| cursor: pointer;
| |
| opacity: 0.7;
| |
| transition: all 0.3s ease;
| |
| position: relative;
| |
| background: #e5e9f1;
| |
| }
| |
| | |
| .thumb:hover, .thumb.active {
| |
| opacity: 1;
| |
| transform: scale(1.05);
| |
| }
| |
| | |
| .thumb-label {
| |
| position: absolute;
| |
| bottom: 0;
| |
| left: 0;
| |
| right: 0;
| |
| background: rgba(0, 0, 0, 0.7);
| |
| color: white;
| |
| font-size: 0.7rem;
| |
| padding: 0.25rem;
| |
| text-align: center;
| |
| }
| |
| | |
| /* =========================== | |
| Stats Dashboard
| |
| =========================== */
| |
| .hero-stats { | |
| display: grid; | | display: grid; |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | | grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); |
| gap: 1rem; | | gap: 1.5rem; |
| margin-bottom: 1.5rem; | | margin-bottom: 2rem; |
| } | | } |
|
| |
|
| .stat-card { | | /* Cards */ |
| | .simple-card { |
| background: white; | | background: white; |
| border-radius: 12px; | | border: 1px solid #e2e8f0; |
| | border-radius: 8px; |
| padding: 1.5rem; | | padding: 1.5rem; |
| display: flex;
| | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); |
| align-items: center;
| |
| gap: 1rem;
| |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); | |
| transition: transform 0.3s ease;
| |
| } | | } |
|
| |
|
| .stat-card:hover { | | .simple-card h3 { |
| transform: translateY(-2px); | | margin: 0 0 1rem 0; |
| }
| | color: #2c5530; |
| | | font-size: 1.1rem; |
| .stat-icon {
| | border-bottom: 1px solid #e2e8f0; |
| font-size: 2.5rem; | | padding-bottom: 0.5rem; |
| flex-shrink: 0; | |
| } | | } |
|
| |
|
| .stat-content { | | .simple-card p { |
| flex: 1; | | margin: 0.5rem 0; |
| }
| |
| | |
| .stat-label {
| |
| font-size: 0.9rem; | | font-size: 0.9rem; |
| color: #64748b; | | line-height: 1.4; |
| font-weight: 500;
| |
| margin-bottom: 0.25rem;
| |
| } | | } |
|
| |
|
| .stat-value { | | .simple-card p strong { |
| font-size: 1.3rem;
| |
| font-weight: 700;
| |
| color: #1e293b;
| |
| margin-bottom: 0.25rem;
| |
| }
| |
| | |
| .stat-detail {
| |
| font-size: 0.85rem;
| |
| color: #64748b;
| |
| }
| |
| | |
| /* Conservation Status Colors */
| |
| .status-card.critical {
| |
| border-left: 4px solid #ef4444;
| |
| background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
| |
| }
| |
| | |
| .status-card.high {
| |
| border-left: 4px solid #f97316;
| |
| background: linear-gradient(135deg, #fffbeb 0%, #fed7aa 100%);
| |
| }
| |
| | |
| .status-card.medium {
| |
| border-left: 4px solid #eab308;
| |
| background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
| |
| }
| |
| | |
| .status-card.low {
| |
| border-left: 4px solid #22c55e;
| |
| background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
| |
| }
| |
| | |
| .status-card.unknown {
| |
| border-left: 4px solid #6b7280;
| |
| background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
| |
| }
| |
| | |
| /* ===========================
| |
| Breadcrumb
| |
| =========================== */
| |
| .hero-breadcrumb {
| |
| background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
| |
| border-radius: 12px;
| |
| padding: 1rem 1.5rem;
| |
| margin-bottom: 1.5rem;
| |
| border: 1px solid #e2e8f0;
| |
| }
| |
| | |
| .breadcrumb-container {
| |
| display: flex;
| |
| align-items: center;
| |
| flex-wrap: wrap;
| |
| gap: 0.5rem;
| |
| }
| |
| | |
| .breadcrumb-item {
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 0.5rem;
| |
| padding: 0.5rem 0.75rem;
| |
| background: white;
| |
| border-radius: 6px;
| |
| font-size: 0.9rem;
| |
| font-weight: 500;
| |
| color: #475569; | | color: #475569; |
| border: 1px solid #e2e8f0; | | display: inline-block; |
| }
| | min-width: 80px; |
| | |
| .breadcrumb-item.current {
| |
| background: #2c5530;
| |
| color: white; | |
| font-weight: 600;
| |
| }
| |
| | |
| .breadcrumb-arrow {
| |
| color: #94a3b8;
| |
| font-weight: bold;
| |
| }
| |
| | |
| .breadcrumb-icon {
| |
| font-size: 1rem;
| |
| } | | } |
|
| |
|
| /* =========================== | | /* Coordinates */ |
| Map Section
| | .simple-coords { |
| =========================== */
| |
| .hero-map { | |
| background: white;
| |
| border-radius: 12px;
| |
| overflow: hidden;
| |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
| |
| }
| |
| | |
| .map-container {
| |
| height: 200px;
| |
| background: #f1f5f9; | | background: #f1f5f9; |
| display: flex; | | padding: 1.5rem; |
| align-items: center; | | border-radius: 8px; |
| justify-content: center;
| |
| position: relative;
| |
| }
| |
| | |
| .map-placeholder, .map-unavailable {
| |
| text-align: center; | | text-align: center; |
| color: #64748b;
| |
| } | | } |
|
| |
|
| .map-icon { | | .simple-coords h3 { |
| font-size: 3rem; | | margin: 0 0 0.5rem 0; |
| margin-bottom: 0.5rem; | | color: #2c5530; |
| } | | } |
|
| |
|
| .map-coords { | | .simple-coords p { |
| font-family: 'SF Mono', 'Monaco', 'Consolas', monospace; | | font-family: monospace; |
| font-size: 0.9rem; | | font-size: 1.1rem; |
| margin-bottom: 0.5rem;
| | font-weight: bold; |
| font-weight: 600;
| |
| color: #1e293b;
| |
| }
| |
| | |
| /* Neutralize Kartographer pill look (also inside Location card) */
| |
| .map-coords .mw-kartographer-maplink,
| |
| .location-card .mw-kartographer-maplink {
| |
| background: transparent;
| |
| border: 0;
| |
| box-shadow: none;
| |
| padding: 0;
| |
| display: inline;
| |
| }
| |
| | |
| .location-card .mw-kartographer-coordinates,
| |
| .map-coords .mw-kartographer-coordinates {
| |
| font-family: 'SF Mono','Monaco','Consolas',monospace;
| |
| font-weight: 600; | |
| color: #1e293b; | | color: #1e293b; |
| | margin: 0; |
| } | | } |
|
| |
|
| .map-text {
| | /* Mobile Responsive */ |
| font-size: 1rem;
| |
| font-weight: 500;
| |
| }
| |
| | |
| .map-actions {
| |
| padding: 1rem;
| |
| display: flex;
| |
| gap: 0.75rem;
| |
| flex-wrap: wrap;
| |
| }
| |
| | |
| .action-btn {
| |
| padding: 0.75rem 1.5rem;
| |
| border-radius: 8px;
| |
| font-weight: 600;
| |
| font-size: 0.9rem;
| |
| cursor: pointer;
| |
| transition: all 0.3s ease;
| |
| border: none;
| |
| }
| |
| | |
| .action-btn.primary {
| |
| background: #2c5530;
| |
| color: white;
| |
| }
| |
| | |
| .action-btn.primary:hover {
| |
| background: #22452a;
| |
| transform: translateY(-1px);
| |
| }
| |
| | |
| .action-btn.secondary {
| |
| background: #f1f5f9;
| |
| color: #475569;
| |
| border: 1px solid #e2e8f0;
| |
| }
| |
| | |
| .action-btn.secondary:hover {
| |
| background: #e2e8f0;
| |
| transform: translateY(-1px);
| |
| }
| |
| | |
| /* =========================== | |
| Coming Soon Placeholder
| |
| =========================== */
| |
| .coming-soon {
| |
| background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
| |
| border: 2px dashed #cbd5e0;
| |
| border-radius: 12px;
| |
| padding: 2rem;
| |
| margin: 2rem 0;
| |
| text-align: center;
| |
| }
| |
| | |
| .coming-soon-content {
| |
| max-width: 500px;
| |
| margin: 0 auto;
| |
| }
| |
| | |
| .coming-soon h3 {
| |
| color: #475569;
| |
| margin-bottom: 1rem;
| |
| }
| |
| | |
| .coming-soon p {
| |
| color: #64748b;
| |
| margin-bottom: 0.5rem;
| |
| }
| |
| | |
| /* ===========================
| |
| Documentation checks: keep plain text, no chip/tooltip look
| |
| =========================== */
| |
| .docs-card .doc-checks {
| |
| background: transparent !important;
| |
| border: 0 !important;
| |
| box-shadow: none !important;
| |
| position: static !important;
| |
| padding: 0 !important;
| |
| display: block;
| |
| color: #475569;
| |
| line-height: 1.35;
| |
| }
| |
| | |
| /* ===========================
| |
| Mobile Responsive
| |
| =========================== */
| |
| @media (max-width: 768px) { | | @media (max-width: 768px) { |
| .hero-title { | | .simple-grid { |
| font-size: 1.8rem;
| |
| }
| |
|
| |
| .hero-stats {
| |
| grid-template-columns: 1fr; | | grid-template-columns: 1fr; |
| } | | } |
| | | |
| .breadcrumb-container { | | .simple-header { |
| flex-direction: column;
| |
| align-items: stretch;
| |
| }
| |
|
| |
| .breadcrumb-arrow {
| |
| transform: rotate(90deg);
| |
| align-self: center;
| |
| }
| |
|
| |
| .map-actions {
| |
| flex-direction: column;
| |
| }
| |
|
| |
| .stat-card {
| |
| padding: 1rem; | | padding: 1rem; |
| } | | } |
| | | |
| .hero-overlay { | | .simple-title { |
| padding: 1.5rem;
| |
| }
| |
| }
| |
| | |
| @media (max-width: 480px) {
| |
| .hero-image {
| |
| height: 300px;
| |
| }
| |
|
| |
| .hero-title {
| |
| font-size: 1.5rem; | | font-size: 1.5rem; |
| }
| |
|
| |
| .stat-icon {
| |
| font-size: 2rem;
| |
| }
| |
|
| |
| .stat-value {
| |
| font-size: 1.1rem;
| |
| } | | } |
| } | | } |