Toggle menu
17
24
14
1.7K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
/* Template:Accession/styles.css — refined simple accession hero */

/* ===== Hero wrapper ===== */
.accession-simple { margin-bottom: 1.5rem; }

.hero-header {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  margin-bottom: 1.5rem;
}

/* ===== Top bar ===== */
.hero-top {
  background: #0f172a;
  color: #fff;
  padding: 1rem 1.5rem;
  position: relative;
}

.hero-title {
  margin: 0;
  line-height: 1.05;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  max-width: 70%;
}

.hero-subtitle {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  color: #94a3b8;
  background: rgba(255,255,255,.08);
  padding: .25rem .5rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: .5rem;
}

/* Pills (top-right) */
.hero-badges {
  position: absolute;
  top: .75rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: flex-end;
}

.hero-badge {
  padding: .22rem .44rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  min-width: 90px;
  text-align: center;
  border: 1px solid transparent;
}

.badge-active   { background: #e6f7ee; color: #116a3d; border-color: #b8e7cf; }
.badge-tier     { background: #e8efff; color: #1644a0; border-color: #c9d8ff; }
.badge-priority { background: #fff6e6; color: #8a4a00; border-color: #ffd8a8; }

/* ===== Split section (table layout retained) ===== */
.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;
}

/* Photo area */
.hero-image { background: #f1f5f9; border-right: 1px solid #e2e8f0; }
.hero-image .mw-file-element,
.hero-image img { width: 100%; height: 400px; object-fit: cover; display: block; }

.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.1rem; color: #334155; font-weight: 800; margin-bottom: .65rem; }
.placeholder-subtitle { font-size: .9rem; color: #64748b; line-height: 1.4; max-width: 280px; margin: 0 auto 1rem; }
.placeholder-instruction { font-size: .8rem; color: #94a3b8; background: #fff; padding: .75rem; border-radius: 6px; border: 1px solid #e2e8f0; max-width: 260px; margin: 0 auto; }

/* Caption */
.image-overlay { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); color: #fff; padding: .75rem 1rem .5rem; }
.image-caption { margin: 0; font-size: .8rem; font-weight: 700; line-height: 1.2; }

/* Map area */
.hero-map { background: #f8fafc; }
.map-container {
  height: 400px; background: #e2e8f0; display: table-cell; vertical-align: middle;
  text-align: center; color: #64748b; font-size: .9rem; font-weight: 700;
}

/* Location overlay card */
.map-overlay {
  position: absolute; top: 1rem; left: 1rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,.15); max-width: 200px;
}
.map-overlay h4 { margin: 0 0 .5rem; font-size: .75rem; text-transform: uppercase; color: #64748b; font-weight: 800; }
.location-primary { font-weight: 800; color: #1e293b; margin-bottom: .45rem; font-size: .86rem; }
.location-secondary { color: #64748b; font-size: .8rem; }

/* Coordinates chip */
.coordinates {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,.85); color: #fff; padding: .45rem .7rem;
  border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem; font-weight: 800; white-space: nowrap; max-width: 52ch;
  overflow: hidden; text-overflow: ellipsis; box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
/* neutralize Kartographer “pill” styling inside our chip */
.coordinates .mw-kartographer-maplink { background: transparent; border: 0; box-shadow: none; padding: 0; display: inline; }
.coordinates .mw-kartographer-coordinates { color: #fff; }

/* ===== Details strip ===== */
.hero-details {
  background: #fff;
  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: .75rem; text-transform: uppercase; color: #64748b; font-weight: 800; margin-bottom: .5rem; }
.detail-value { font-size: 1rem; font-weight: 800; color: #1e293b; line-height: 1.2; }
.detail-value.highlight { color: #059669; }

/* ===== Breadcrumb ===== */
.geographic-path { width: 100%; padding-top: 1rem; border-top: 1px solid #e2e8f0; margin-top: 1rem; text-align: center; }
.geographic-path h4 { margin: 0 0 .5rem; font-size: .75rem; text-transform: uppercase; color: #64748b; font-weight: 800; }
.breadcrumb { font-size: .9rem; color: #374151; }
.breadcrumb .separator { color: #9ca3af; margin: 0 .5rem; }
.breadcrumb .level { color: #059669; font-weight: 800; }

/* ===== Mobile ===== */
@media (max-width: 768px){
  .hero-split { display: block; }
  .hero-image, .hero-map { display: block; width: 100%; height: 300px; }
  .photo-placeholder, .map-container { height: 300px; }
  .hero-badges { position: static; flex-direction: row; gap: .35rem; margin-top: .75rem; }
  .hero-title { font-size: 1.6rem; }
  .hero-details { padding: 1rem 1.25rem; }
}