Template:PortalCommunity/styles.css
Template page
More actions
/* Portal:Community - Companion Styles */
/* Extends Template:PortalCurrentEvents/styles.css */
/* ===== Sidebar Headers (matching Ongoing Events / Eradication Alerts pattern) ===== */
.community-sidebar-header {
padding: 14px 18px;
font-size: 0.95rem;
font-weight: 700;
color: #fff;
border-radius: 12px 12px 0 0;
letter-spacing: 0.02em;
}
.community-sidebar-header__icon {
margin-right: 6px;
}
/* Community Hubs - community purple */
.community-sidebar-header--hubs {
background: linear-gradient(135deg, #6a5b86, #7d6e99);
}
/* Contribute - warm accent */
.community-sidebar-header--contribute {
background: linear-gradient(135deg, #5b7a45, #6e8d58);
}
/* Recent Activity - neutral dark */
.community-sidebar-header--activity {
background: linear-gradient(135deg, #4a5568, #5a6578);
}
/* ===== Sidebar Content ===== */
.community-sidebar-links {
font-size: 0.9rem;
line-height: 2;
padding: 14px 18px;
}
.community-sidebar-contribute {
font-size: 0.9rem;
line-height: 1.6;
padding: 14px 18px;
}
/* ===== Empty State ===== */
.community-empty-state {
text-align: center;
padding: 60px 30px;
color: #7a8472;
}
.community-empty-state__icon {
font-size: 2.5rem;
margin-bottom: 16px;
}
.community-empty-state__title {
font-size: 1.15rem;
font-weight: 700;
color: #34402d;
margin-bottom: 10px;
}
.community-empty-state__text {
font-size: 0.95rem;
line-height: 1.6;
max-width: 400px;
margin: 0 auto 20px auto;
}
.community-empty-state__action {
font-size: 0.95rem;
}
.community-empty-state__action a {
color: #6a5b86;
text-decoration: none;
font-weight: 600;
}
.community-empty-state__action a:hover {
text-decoration: underline;
}