MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/** Slim donation banner **/
.icelist-donate-banner {
background: #fff8f8;
border-bottom: 1px solid #e7bcbc;
text-align: center;
padding: 6px 0;
font-size: 0.85em;
}
.icelist-donate-banner a {
font-weight: bold;
}
/* Hide username, talk link, and notification bell in the personal toolbar */
#pt-userpage,
#pt-mytalk,
.mw-echo-notifications-badge,
.mw-echo-notifications,
#pt-notifications-alert,
#pt-notifications-notice {
display: none !important;
}
/* HOMEPAGE LAYOUT FIX */
.icelist-homepage-columns {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
gap: 1.5em;
width: 100%;
}
/* Each column */
.icelist-homepage-column {
flex: 1;
min-width: 320px;
max-width: 100%;
}
/* Mobile / tablet breakpoint */
@media (max-width: 900px) {
.icelist-homepage-columns {
flex-direction: column;
}
}
/* Hide "Create pages" portlet by default */
#p-createpages {
display: none;
}
.page-Main_Page .mw-first-heading {
display: none;
}
/* Tighten spacing between blocks on Main Page */
.page-Main_Page .icelist-homepage-column > * {
margin-top: 0;
}
/* If Featured_* outputs a wrapper with margins, this kills it */
.page-Main_Page .icelist-homepage-column .ic-card {
margin-bottom: 6px;
}
/* Extra clamp: remove stray paragraph margins that appear between templates */
.page-Main_Page .icelist-homepage-column p:empty {
display: none;
}
.page-Main_Page .icelist-homepage-column > .ic-card + .ic-card {
margin-top: 0;
}
.icelist-homepage-columns {
gap: 0.6em;
}
/* Main Page: remove mystery gap between Featured agent + Featured incident */
.page-Main_Page .icelist-homepage-column .ic-card + .ic-card {
margin-top: 0 !important;
}
/* If the template output is wrapped in paragraphs, MediaWiki adds margins */
.page-Main_Page .icelist-homepage-column p {
margin-block-start: 0.5em;
margin-block-end: 0.5em;
}
/* But specifically remove margins for any paragraph directly between cards */
.page-Main_Page .icelist-homepage-column .ic-card + p,
.page-Main_Page .icelist-homepage-column p + .ic-card {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.page-Main_Page .icelist-homepage-column br {
display: none;
}
/* Reduce space after top templates (infobox / agent page) */
.mw-parser-output > table.infobox,
.mw-parser-output > div.infobox {
margin-bottom: 0.6em;
}
/* Reduce space before first heading */
.mw-parser-output > h1,
.mw-parser-output > h2:first-of-type {
margin-top: 0.6em;
}
/* General infobox tightening */
.ic-infobox td,
.ic-infobox th {
padding: 4px 6px;
vertical-align: top;
}
/* Kill paragraph spacing inside infobox */
.ic-infobox p {
margin: 0.2em 0;
}
/* Prevent empty cells from creating space */
.ic-infobox td:empty,
.ic-infobox th:empty {
display: none;
}
/* Compact status / verification rows */
.ic-infobox .verification,
.ic-infobox .status {
display: inline-block;
margin: 0;
padding: 2px 6px;
font-size: 85%;
}
.ic-infobox {
background: #fafafa;
border: 1px solid #d9d9d9;
border-radius: 4px;
padding: 6px;
}
.ic-infobox img {
display: block;
margin-bottom: 6px;
border-radius: 3px;
}
.ic-infobox img {
background: #fff;
}
.ic-infobox th {
font-weight: 600;
color: #444;
background: transparent;
padding-right: 0.6em;
}
.ic-infobox td {
padding-left: 0;
}
/* Dock verification block to the infobox (Agent pages) */
.ic-infobox-wrap {
display: inline-block; /* makes verification match infobox width */
}
.ic-infobox-wrap .ic-verification-wrap {
margin-top: 6px;
}
/* If Verification outputs a paragraph/div with margins, kill them inside the dock */
.ic-infobox-wrap .ic-verification-wrap > * {
margin: 0;
}
.ic-infobox th,
.ic-infobox td {
padding: 4px 6px;
vertical-align: top;
}
.ic-infobox .ic-verification,
.infobox .ic-verification {
display: inline-block;
margin: 0;
}
.ic-agent-addinfo{
float: right;
clear: right;
width: 260px;
margin: -0.6em 0 1em 1em; /* tucks it closer to the infobox */
font-size: 90%;
background: #fafafa;
border: 1px solid #d9d9d9;
border-radius: 4px;
padding: 6px 8px;
box-sizing: border-box;
}
.ic-agent-addinfo a{
font-weight: 600;
text-decoration: none;
}
.ic-agent-addinfo a:hover{
text-decoration: underline;
}
.ic-verify{
font-weight: 700;
padding: 2px 6px;
border-radius: 4px;
display: inline-block;
border: 1px solid #d9d9d9;
background: #fafafa;
font-size: 90%;
}
/* Optional: color cues */
.ic-verify--verified{ border-color:#b7d7c2; background:#f4fbf6; }
.ic-verify--unverified{ border-color:#e0a1a1; background:#fff6f6; }
/* Verification display rules */
.ic-verify-inline { display: none; } /* default: hide inline label */
.ic-verify-banner { display: block; } /* default: show banner */
/* Inside agent infobox: hide banner, show inline */
.ic-infobox .ic-verify-banner { display: none; }
.ic-infobox .ic-verify-inline {
display: inline-block;
padding: 0.2em 0.5em;
border: 1px solid #ccc;
background: #fdfdfd;
font-size: 92%;
}
/* Optional: status styling via attribute selectors */
.ic-verify-inline[data-status="Verified"],
.ic-verify-banner[data-status="Verified"] {
border-color: #b7d7c2;
background: #f4fbf6;
}
.ic-verify-inline[data-status="Partially Verified"],
.ic-verify-banner[data-status="Partially Verified"] {
border-color: #e0d3a1;
background: #fffbe6;
}
.ic-verify-inline[data-status="Unverified"],
.ic-verify-banner[data-status="Unverified"] {
border-color: #e0a1a1;
background: #fff6f6;
}
/* ICE List mobile-only navigation */
.ic-mobile-nav {
display: none !important;
margin: 1em 0;
padding: 1em;
background: #f8f9fa;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 1.05em;
}
/* Show ONLY on Minerva (mobile view) */
.skin-minerva .ic-mobile-nav {
display: block !important;
}
.ic-mobile-nav ul {
list-style: none;
padding-left: 0;
}
.ic-mobile-nav li {
margin: 0.4em 0;
}
.ic-mobile-nav a {
display: block;
padding: 0.5em 0.6em;
background: #ffffff;
border: 1px solid #ddd;
border-radius: 4px;
text-decoration: none;
font-weight: 500;
}
#ca-history { display: none !important; }
.ic-infobox {
float: right;
margin: 0 0 1em 1em;
clear: right;
}
/* Force infobox behavior for our company infobox */
.mw-parser-output table.ic-infobox {
float: right;
clear: right;
width: 22em;
max-width: 100%;
margin: 0 0 1em 1em;
}
/* Keep it from becoming full-width */
.mw-parser-output table.ic-infobox {
display: table;
}
/* Make sure cells behave nicely */
.mw-parser-output table.ic-infobox th,
.mw-parser-output table.ic-infobox td {
vertical-align: top;
}
/* === Primary Donation Top Notice === */
#donate-top-notice {
background: #f2f2f2;
border-bottom: 1px solid #d6d6d6;
font-size: 18px;
}
#donate-top-notice .donate-notice-inner {
max-width: 1300px;
margin: 0 auto;
padding: 22px 64px 22px 24px;
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 28px;
}
/* Title */
#donate-top-notice .donate-title {
font-weight: 700;
font-size: 20px;
color: #111;
white-space: nowrap;
}
/* Body text */
#donate-top-notice .donate-text {
color: #333;
line-height: 1.4;
}
/* Donate button */
#donate-top-notice .donate-btn {
background: #f3332b;
color: #fff;
padding: 12px 22px;
border-radius: 10px;
text-decoration: none;
font-weight: 700;
font-size: 16px;
}
#donate-top-notice .donate-btn:hover {
opacity: 0.9;
}
/* Close button */
#donate-top-notice #donate-notice-close {
position: absolute;
right: 18px;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
font-size: 24px;
color: #666;
cursor: pointer;
}
#donate-top-notice #donate-notice-close:hover {
color: #000;
}
/* Mobile */
@media (max-width: 800px) {
#donate-top-notice .donate-notice-inner {
grid-template-columns: 1fr;
gap: 12px;
padding-right: 48px;
}
#donate-top-notice .donate-title {
font-size: 18px;
}
}
/* === ICE List Donate SiteNotice === */
#siteNotice {
background: #f2f2f2;
border-bottom: 1px solid #d0d0d0;
padding: 18px 24px;
font-size: 17px;
line-height: 1.5;
text-align: center;
}
/* Make the headline stand out */
#siteNotice strong {
font-size: 18px;
font-weight: 700;
}
/* Style the Donate link like a button */
#siteNotice a {
margin-left: 10px;
padding: 8px 14px;
background: #e03a2d;
color: #fff !important;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
white-space: nowrap;
}
#siteNotice a:hover {
background: #c83227;
}
/* Mobile spacing */
@media (max-width: 720px) {
#siteNotice {
padding: 16px 14px;
font-size: 16px;
}
#siteNotice a {
display: inline-block;
margin-top: 10px;
}
}
/* Close button for donate notice */
.icelist-notice-close {
position: absolute;
top: 10px;
right: 12px;
background: transparent;
border: none;
font-size: 22px;
font-weight: bold;
color: #666;
cursor: pointer;
}
.icelist-notice-close:hover {
color: #000;
}
#siteNotice {
position: relative;
}