Template:Home/ConservationPanel.css
Template page
More actions
/* TemplateStyles-safe CSS scoped by MediaWiki */
.mw-parser-output .lw-cons-panel {
background:#fff;
border:1px solid #e5e7eb;
border-radius:12px;
padding:16px;
margin:24px 0;
box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.mw-parser-output .lw-cons-title {
font-weight:700;
font-size:1.1rem;
margin:0 0 12px 0;
color:#1f2937;
}
/* KPI cards */
.mw-parser-output .lw-kpis {
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:12px;
margin-bottom:12px;
}
.mw-parser-output .lw-kpi {
border:1px solid #eef2f7;
border-radius:10px;
padding:12px;
background:#fafafa;
}
.mw-parser-output .lw-kpi__num {
font-weight:700;
font-size:1.5rem;
line-height:1;
margin-bottom:4px;
color:#111827;
}
.mw-parser-output .lw-kpi__label {
font-size:.9rem;
color:#4b5563;
}
/* Status bar */
.mw-parser-output .lw-statusbar {
display:flex;
height:14px;
border-radius:999px;
overflow:hidden;
background:#f3f4f6;
border:1px solid #e5e7eb;
margin:6px 0 6px 0;
}
.mw-parser-output .lw-seg { height:100%; }
.mw-parser-output .lw-s-stable { background:#2ecc71; }
.mw-parser-output .lw-s-vulnerable { background:#f1c40f; }
.mw-parser-output .lw-s-endangered { background:#f39c12; }
.mw-parser-output .lw-s-critical { background:#e74c3c; }
.mw-parser-output .lw-s-extinct { background:#9ca3af; }
/* Legend (single row, wraps on mobile) */
.mw-parser-output .lw-legend {
list-style:none;
padding:0;
margin:8px 0 0 0;
display:flex;
flex-wrap:wrap;
gap:10px 16px;
align-items:center;
}
.mw-parser-output .lw-legend__item {
display:inline-flex;
align-items:center;
gap:6px;
font-size:.9rem;
color:#374151;
}
.mw-parser-output .lw-legend .dot {
width:10px;height:10px;border-radius:50%;
display:inline-block;
border:1px solid rgba(0,0,0,.08);
}
.mw-parser-output .dot--stable { background:#2ecc71; }
.mw-parser-output .dot--vuln { background:#f1c40f; }
.mw-parser-output .dot--end { background:#f39c12; }
.mw-parser-output .dot--crit { background:#e74c3c; }
.mw-parser-output .dot--ext { background:#9ca3af; }
.mw-parser-output .lw-legend .count { margin-left:4px; color:#6b7280; font-variant-numeric:tabular-nums; }