MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 308: | Line 308: | ||
.mw-parser-output table.ic-infobox td { | .mw-parser-output table.ic-infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
| Line 504: | Line 488: | ||
body.mw-logged-in #siteNotice { | body.mw-logged-in #siteNotice { | ||
display: none; | display: none; | ||
} | } | ||
| Line 646: | Line 618: | ||
#siteNotice .icelist-notice-close { | #siteNotice .icelist-notice-close { | ||
margin-left: 8px; | margin-left: 8px; | ||
} | } | ||
| Line 789: | Line 750: | ||
cursor: pointer; | cursor: pointer; | ||
padding: 6px 8px; | padding: 6px 8px; | ||
} | } | ||
| Line 967: | Line 918: | ||
} | } | ||
/* | /* =============================== | ||
Printable version (screen) | |||
=============================== */ | |||
body.mw-printable-view #mw-content-text > * { | |||
display: none !important; | |||
} | |||
/* Re-show the agent infobox */ | |||
body.mw-printable-view #mw-content-text table.ic-infobox { | |||
display: table !important; | |||
float: right; | |||
width: 35% !important; | |||
} | |||
/* Ensure the title stays visible */ | |||
body.mw-printable-view #firstHeading { | |||
display: block !important; | |||
} | |||
/* Optional: remove leftover UI noise */ | |||
body.mw-printable-view .toc, | |||
body.mw-printable-view .mw-editsection, | |||
body.mw-printable-view #siteNotice { | |||
display: none !important; | |||
} | |||
.icelist-audience-banner { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.75rem; | |||
margin-bottom: 1.5rem; | |||
} | |||
.icelist-audience-banner .ic-card { | |||
flex: 1 1 180px; | |||
min-width: 160px; | |||
} | |||
@media (max-width: 600px) { | |||
.icelist-audience-banner .ic-card { | |||
flex: 1 1 100%; | |||
} | } | ||
} | |||
.icelist-audience-banner { | |||
# | display: flex; | ||
flex-wrap: wrap; | |||
gap: 0.5rem; | |||
margin: 0 0 1.5rem 0; | |||
} | |||
.icelist-audience-tile { | |||
flex: 1 1 0; | |||
min-width: 140px; | |||
background: #c0392b; | |||
color: #fff !important; | |||
text-decoration: none !important; | |||
padding: 0.75rem 0.9rem; | |||
border-radius: 3px; | |||
display: block; | |||
} | |||
.icelist-audience-tile:hover { | |||
background: #a93226; | |||
} | |||
.iat-title { | |||
font-weight: bold; | |||
font-size: 0.85rem; | |||
margin-bottom: 0.25rem; | |||
color: #fff; | |||
} | |||
.iat-desc { | |||
font-size: 0.78rem; | |||
opacity: 0.88; | |||
color: #fff; | |||
} | |||
@media (max-width: 720px) { | |||
.icelist-audience-tile { | |||
flex: 1 1 45%; | |||
} | } | ||
} | |||
@media (max-width: 480px) { | |||
.icelist-audience-tile { | |||
flex: 1 1 100%; | |||
} | } | ||
} | |||
.icelist-audience-banner { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.5rem; | |||
margin: 0 0 1.5rem 0; | |||
} | |||
.icelist-audience-tile { | |||
flex: 1 1 0; | |||
min-width: 140px; | |||
background: #c0392b; | |||
color: #fff; | |||
padding: 0.75rem 0.9rem; | |||
border-radius: 3px; | |||
position: relative; | |||
cursor: pointer; | |||
} | |||
.icelist-audience-tile:hover { | |||
background: #a93226; | |||
} | |||
table.ic-infobox | /* Stretch the wiki link to cover the entire tile */ | ||
.icelist-audience-tile a { | |||
position: absolute; | |||
inset: 0; | |||
font-size: 0; | |||
color: transparent !important; | |||
text-decoration: none !important; | |||
} | |||
.iat-title { | |||
font-weight: bold; | |||
font-size: 0.85rem; | |||
margin-bottom: 0.25rem; | |||
color: #fff; | |||
pointer-events: none; | |||
} | |||
.iat-desc { | |||
font-size: 0.78rem; | |||
opacity: 0.88; | |||
color: #fff; | |||
pointer-events: none; | |||
} | |||
@media (max-width: 720px) { | |||
.icelist-audience-tile { flex: 1 1 45%; } | |||
} | |||
@media (max-width: 480px) { | |||
.icelist-audience-tile { flex: 1 1 100%; } | |||
} | |||
.hide-cats #catlinks { | |||
display: none; | |||
} | |||
/* === ICE List card system — matte flat refresh === */ | |||
.ic-card { background:#fff; border:1px solid #e6e4df; border-radius:6px; overflow:hidden; margin:0 0 12px 0; } | |||
.page-Main_Page .icelist-homepage-column .ic-card, | |||
.page-Main_Page .icelist-homepage-column > div, | |||
.page-Main_Page .icelist-homepage-column > table { margin:0 0 12px 0; } | |||
.ic-card-header { padding:11px 16px; font-size:15px; font-weight:500; line-height:1.3; } | |||
.ic-card-body { padding:14px 16px; font-size:13.5px; line-height:1.6; color:#1c1b19; } | |||
.icelist-homepage-column .ic-card .ic-card-body p { margin:0 0 8px !important; } | |||
.icelist-homepage-column .ic-card .ic-card-body p:last-child { margin-bottom:0 !important; } | |||
.ic-card-body a { color:#2f5c8f; text-decoration:none; } | |||
.ic-card-body a:hover { text-decoration:underline; } | |||
.ic-card--blue .ic-card-header { background:#eaeef3; color:#33455c; } | |||
.ic-card--gray .ic-card-header { background:#f1efea; color:#3c3b36; } | |||
.ic-card--news .ic-card-header { background:#f1efea; color:#3c3b36; } | |||
.ic-card--red .ic-card-header { background:#f1e6e3; color:#7a3a2c; } | |||
.ic-card--green .ic-card-header { background:#e8eee5; color:#3d5230; } | |||
.ic-card-note { margin-top:10px; padding-top:10px; border-top:1px solid #efede8; font-size:12.5px; line-height:1.55; color:#6e6c66; } | |||
.ic-card-list ul { list-style:none; margin:0; padding:0; } | |||
.ic-card-list li { padding:8px 0; border-bottom:1px solid #efede8; font-size:13.5px; line-height:1.45; } | |||
.ic-card-list li:first-child { padding-top:0; } | |||
.ic-card-list li:last-child { border-bottom:0; padding-bottom:0; } | |||
.ic-card-list p { margin:0 0 8px; } | |||
.ic-card-buttons { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; } | |||
.ic-card-button-primary a { display:inline-block; background:#3a3a36; color:#fff !important; padding:8px 14px; border-radius:5px; font-size:13px; text-decoration:none; } | |||
.ic-card-button-secondary a { display:inline-block; background:#fff; color:#333330 !important; border:1px solid #d9d7d1; padding:7px 14px; border-radius:5px; font-size:13px; text-decoration:none; } | |||
.ic-card-button-primary a:hover { filter:brightness(0.92); text-decoration:none; } | |||
.ic-card-button-secondary a:hover { background:#f5f4f1; text-decoration:none; } | |||
.ic-card--red .ic-card-button-primary a { background:#7a3a2c; } | |||
.ic-card--green .ic-card-button-primary a { background:#3d5230; } | |||
/* ICE List card content polish */ | |||
.ic-card-note { margin-top:10px; padding-top:10px; border-top:1px solid #efede8; font-size:12.5px; color:#6e6c66; } | |||
.ic-card-list ul { list-style:none; margin:0; padding:0; } | |||
.ic-card-list li { padding:8px 0; border-bottom:1px solid #efede8; } | |||
.ic-card-list li:first-child { padding-top:0; } | |||
.ic-card-list li:last-child { border-bottom:0; padding-bottom:0; } | |||
.ic-card-buttons { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; } | |||
.ic-card-button-primary a { display:inline-block; background:#3a3a36; color:#fff !important; padding:8px 14px; border-radius:5px; text-decoration:none; } | |||
.ic-card-button-secondary a { display:inline-block; background:#fff; color:#333 !important; border:1px solid #d9d7d1; padding:7px 14px; border-radius:5px; text-decoration:none; } | |||
/* ICE List card header tones */ | |||
.ic-h-blue { background:#eaeef3; color:#33455c; } | |||
.ic-h-gray { background:#f1efea; color:#3c3b36; } | |||
.ic-h-news { background:#f1efea; color:#3c3b36; } | |||
.ic-h-red { background:#f1e6e3; color:#7a3a2c; } | |||
.ic-h-green { background:#e8eee5; color:#3d5230; } | |||
/* Harmonise skin chrome with the matte cards */ | |||
body { background:#f1efe9; } | |||
#mw-page-base, | |||
#mw-head-base { background:#f1efe9; } | |||
.mw-body, | |||
#content { background:#fff; border:1px solid #e6e4df; } | |||
#mw-panel { background:transparent; } | |||
/* === ICE List support banner — single clean block === */ | |||
#siteNotice { | |||
background: transparent !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
border: 0 !important; | |||
} | |||
#siteNotice > .mw-dismissable-notice { | |||
position: relative; | |||
box-sizing: border-box; | |||
margin: 16px 0; | |||
padding: 20px 24px; | |||
background: #fff; | |||
border: 1px solid #e6e4df; | |||
border-radius: 12px; | |||
box-shadow: 0 1px 3px rgba(0,0,0,0.05); | |||
} | |||
#siteNotice .mw-dismissable-notice-body { | |||
display: flex; | |||
align-items: center; | |||
gap: 20px; | |||
padding-right: 28px; | |||
} | |||
.icelist-support-text { flex: 1 1 auto; } | |||
.icelist-support-text strong { | |||
display: block; | |||
font-size: 16px; | |||
font-weight: 600; | |||
color: #1c1b19; | |||
margin-bottom: 3px; | |||
} | |||
.icelist-support-text span { | |||
font-size: 14px; | |||
line-height: 1.5; | |||
color: #6e6c66; | |||
} | |||
.icelist-support-btn { flex: 0 0 auto; } | |||
.icelist-support-btn a { | |||
display: inline-block; | |||
white-space: nowrap; | |||
background: #e23b2e; | |||
color: #fff !important; | |||
font-weight: 600; | |||
font-size: 15px; | |||
text-decoration: none !important; | |||
padding: 11px 22px; | |||
border-radius: 10px; | |||
transition: filter .15s ease, transform .15s ease; | |||
} | |||
.icelist-support-btn a:hover { filter: brightness(0.93); transform: translateY(-1px); } | |||
#siteNotice .mw-dismissable-notice-close { | |||
position: absolute; | |||
top: 12px; | |||
right: 14px; | |||
} | |||
#siteNotice .mw-dismissable-notice-close a, | |||
#mw-dismissable-notice-dismiss { | |||
all: unset; | |||
cursor: pointer; | |||
font-size: 18px; | |||
line-height: 1; | |||
color: #b3b1ab; | |||
padding: 4px; | |||
} | |||
#siteNotice .mw-dismissable-notice-close a:hover, | |||
#mw-dismissable-notice-dismiss:hover { color: #2a2a28; } | |||
@media (max-width: 720px) { | |||
#siteNotice .mw-dismissable-notice-body { | |||
flex-direction: column; | |||
align-items: flex-start; | |||
gap: 14px; | |||
padding-right: 0; | |||
} | |||
} | |||
#siteNotice:empty, | |||
#siteNotice.mw-dismissed { display: none !important; } | |||
/* Agent infobox: stack full-width on mobile instead of crushing the content */ | |||
@media (max-width: 720px) { | |||
.mw-parser-output table.ic-infobox, | |||
.ic-infobox { | |||
float: none !important; | |||
clear: both !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | max-width: 100% !important; | ||
margin: 0 0 1em 0 !important; | |||
} | } | ||
} | |||
/* === ICE List agent card (agent pages) === */ | |||
.mw- | .ic-agent-card{float:right;clear:right;width:300px;max-width:100%;margin:0 0 1em 1.5em;background:#fff;border:1px solid #e6e4df;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.05);font-size:13.5px;line-height:1.45;} | ||
.mw- | .ic-agent-card__photo{background:#f1efea;} | ||
.ic-agent-card__photo a{display:block;line-height:0;} | |||
.mw- | .ic-agent-card__photo img{width:100%;height:auto;display:block;} | ||
.ic-agent-card__body{padding:14px 16px;} | |||
} | .ic-agent-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;} | ||
.ic-agent-card__name{font-size:18px;font-weight:600;line-height:1.25;color:#1c1b19;} | |||
.ic-agent-card__sub{margin:3px 0 14px;font-size:13px;color:#6e6c66;} | |||
.ic-agent-card__sub a{color:#6e6c66;text-decoration:none;} | |||
.ic-agent-card__sub a:hover{text-decoration:underline;} | |||
.ic-agent-card__fields{border-top:1px solid #efede8;} | |||
.ic-agent-card__row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #efede8;} | |||
.ic-agent-card__row:last-child{border-bottom:0;} | |||
.ic-agent-card__k{color:#6e6c66;flex:0 0 auto;} | |||
.ic-agent-card__v{color:#1c1b19;text-align:right;} | |||
.ic-agent-card__v a{color:#2f5c8f;text-decoration:none;} | |||
.ic-agent-card__v a:hover{text-decoration:underline;} | |||
.ic-agent-card__badge{flex:0 0 auto;white-space:nowrap;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;border:1px solid #d9d9d9;background:#f4f4f2;color:#444;} | |||
.ic-agent-card__badge[data-status="Verified"]{background:#f4fbf6;border-color:#b7d7c2;color:#3d5230;} | |||
.ic-agent-card__badge[data-status="Partially Verified"]{background:#fffbe6;border-color:#e0d3a1;color:#7a5b1e;} | |||
.ic-agent-card__badge[data-status="Unverified"]{background:#fff6f6;border-color:#e0a1a1;color:#7a3a2c;} | |||
.ic-agent-card__foot{margin-top:14px;} | |||
.ic-agent-card__foot a{display:block;text-align:center;font-size:13px;font-weight:500;color:#2f5c8f;text-decoration:none;border:1px solid #e6e4df;border-radius:8px;padding:9px;} | |||
.ic-agent-card__foot a:hover{background:#f5f4f1;text-decoration:none;} | |||
/* The card carries the name, so hide the page title and any body = heading = on agent pages */ | |||
body.ic-agent-page #firstHeading{display:none;} | |||
body.ic-agent-page .mw-parser-output > .mw-heading1, | |||
body.ic-agent-page .mw-parser-output > h1{display:none;} | |||
/* Stack full-width on mobile */ | |||
@media (max-width:720px){ | |||
.ic-agent-card{float:none;width:100%;max-width:100%;margin:0 0 1em 0;} | |||
} | |||
/* === ICE List agent page body: harmonise with the card === */ | |||
.mw-parser-output .ic-agent-card ~ .mw-heading h2, | |||
.mw-parser-output .ic-agent-card ~ .mw-heading2 h2, | |||
.mw-parser-output .ic-agent-card ~ h2 { | |||
font-family: inherit !important; | |||
font-weight: 600 !important; | |||
font-size: 1.3em !important; | |||
color: #1c1b19 !important; | |||
} | |||
.mw-parser-output .ic-agent-card ~ .mw-heading h3, | |||
.mw-parser-output .ic-agent-card ~ .mw-heading3 h3, | |||
.mw-parser-output .ic-agent-card ~ h3 { | |||
font-family: inherit !important; | |||
font-weight: 600 !important; | |||
color: #1c1b19 !important; | |||
} | |||
.mw-parser-output .ic-agent-card ~ ul { | |||
list-style: none; | |||
margin: 0.4em 0 0; | |||
padding: 0; | |||
} | |||
.mw-parser-output .ic-agent-card ~ ul li { | |||
padding: 9px 0; | |||
border-bottom: 1px solid #efede8; | |||
line-height: 1.45; | |||
} | } | ||
.mw-parser-output .ic-agent-card ~ ul li:last-child { border-bottom: 0; } | |||
.mw-parser-output .ic-agent-card ~ ul li a { color: #2f5c8f; text-decoration: none; } | |||
.mw-parser-output .ic-agent-card ~ ul li a:hover { text-decoration: underline; } | |||
Latest revision as of 03:18, 31 May 2026
/* CSS placed here will be applied to all skins */
/* 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;
}
/* Headline emphasis */
#siteNotice strong {
font-size: 18px;
font-weight: 700;
}
/* Donate button styling (wikitext link) */
#siteNotice a {
display: inline-block;
margin-left: 12px;
padding: 8px 16px;
background: #e03a2d;
color: #fff !important;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
}
#siteNotice a:hover {
background: #c83227;
}
/* Mobile adjustments */
@media (max-width: 720px) {
#siteNotice {
padding: 16px 14px;
font-size: 16px;
}
#siteNotice a {
display: block;
margin: 12px auto 0;
width: fit-content;
}
}
/* Close button for ICE List notice */
.icelist-notice-close {
position: absolute;
top: 10px;
right: 14px;
background: none;
border: none;
font-size: 22px;
font-weight: bold;
cursor: pointer;
color: #666;
}
.icelist-notice-close:hover {
color: #000;
}
/* Left text block */
#siteNotice > *:first-child {
flex: 1;
text-align: left;
}
/* Donate button on the right */
#siteNotice a {
flex-shrink: 0;
margin-left: 20px;
}
@media (max-width: 720px) {
#siteNotice {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
#siteNotice a {
margin-left: 0;
align-self: center;
}
}
/* Layout siteNotice as two columns: text left, CTA right */
#siteNotice {
display: flex;
align-items: center;
gap: 20px;
}
/* Let text take available space */
#siteNotice > *:not(a) {
flex: 1 1 auto;
}
/* Keep donate button fixed on the right */
#siteNotice a {
flex: 0 0 auto;
white-space: nowrap;
}
/* === FINAL OVERRIDE: ICE List siteNotice layout === */
/* This block intentionally overrides all previous #siteNotice rules */
#siteNotice {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
gap: 24px !important;
}
/* Text (everything except Donate + X) */
#siteNotice > :not(a):not(.icelist-notice-close) {
flex: 1 1 auto !important;
}
/* Donate button */
#siteNotice a {
flex: 0 0 auto !important;
margin-left: 24px !important;
white-space: nowrap !important;
}
/* === FINAL FIX: siteNotice layout using CSS Grid === */
#siteNotice {
display: grid !important;
grid-template-columns: 1fr auto;
align-items: center;
column-gap: 24px;
}
/* Ensure donate button stays in the right column */
#siteNotice a {
grid-column: 2;
justify-self: end;
white-space: nowrap;
}
/* Close button stays top-right */
.icelist-notice-close {
position: absolute;
top: 10px;
right: 14px;
}
/* ICE List notice table */
.icelist-notice-table {
width: 100%;
background: #f3f3f3;
border-bottom: 1px solid #d0d0d0;
padding: 12px 16px;
border-collapse: collapse;
}
.icelist-notice-table td {
vertical-align: middle;
font-size: 16px;
line-height: 1.4;
}
.icelist-notice-table td:last-child a {
background: #e5392d;
color: #fff !important;
padding: 8px 16px;
border-radius: 6px;
font-weight: 600;
text-decoration: none;
white-space: nowrap;
}
.icelist-notice-table td:last-child a:hover {
background: #cc2f25;
}
/* Remove internal separator line in site notice table */
#siteNotice .icelist-notice-table,
#siteNotice .icelist-notice-table td {
border: none !important;
}
/* Hide Anonnotice container for logged-in users */
body.mw-logged-in #siteNotice {
display: none;
}
/* Kill random separators/underlines that sometimes appear inside notices */
#siteNotice.icelist-donate-notice hr,
#siteNotice.icelist-donate-notice .mw-parser-output hr {
display: none !important;
}
/* Keep the text left, and reserve space on the right for the button + X */
#siteNotice.icelist-donate-notice .mw-parser-output > p,
#siteNotice.icelist-donate-notice p {
margin: 0 !important;
padding-right: 190px; /* space for Donate button + close X */
line-height: 1.35;
font-size: 18px;
}
/* Make the Donate link a button and pin it to the right */
#siteNotice.icelist-donate-notice a[href*="ICE_List_Wiki:Donate"],
#siteNotice.icelist-donate-notice a[href*="title=ICE_List_Wiki:Donate"] {
position: absolute;
right: 56px;
top: 50%;
transform: translateY(-50%);
background: #e23b2e;
color: #fff !important;
font-weight: 700;
text-decoration: none !important;
padding: 12px 18px;
border-radius: 10px;
white-space: nowrap;
}
#siteNotice.icelist-donate-notice a[href*="ICE_List_Wiki:Donate"]:hover {
filter: brightness(0.95);
}
/* Close (X) button */
#siteNotice.icelist-donate-notice .icelist-notice-close {
position: absolute;
right: 14px;
top: 12px;
width: 34px;
height: 34px;
border: 0;
border-radius: 8px;
background: transparent;
font-size: 26px;
line-height: 34px;
cursor: pointer;
color: #666;
}
#siteNotice.icelist-donate-notice .icelist-notice-close:hover {
background: rgba(0,0,0,0.06);
color: #111;
}
/* Prevent the “blank grey bar” effect when #siteNotice is empty */
#siteNotice:empty {
display: none !important;
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
background: transparent !important;
}
#siteNotice.icelist-donate-notice {
display: flex;
align-items: center;
gap: 16px;
}
#siteNotice.icelist-donate-notice .mw-parser-output,
#siteNotice.icelist-donate-notice p {
flex: 1 1 auto;
margin: 0 !important;
padding: 0 !important;
}
#siteNotice.icelist-donate-notice a[href*="ICE_List_Wiki:Donate"] {
position: static;
margin-left: auto;
}
#siteNotice.icelist-donate-notice a[href*="ICE_List_Wiki:Donate"] {
align-self: center;
}
#siteNotice.icelist-donate-notice {
padding-top: 16px;
padding-bottom: 16px;
}
#siteNotice.icelist-donate-notice {
display: flex;
align-items: center;
gap: 16px;
}
#siteNotice.icelist-donate-notice .donate-btn {
margin-left: auto;
align-self: center;
}
#siteNotice.icelist-donate-notice {
display: flex;
align-items: center;
gap: 16px;
}
#siteNotice.icelist-donate-notice .donate-btn {
margin-left: auto;
}
#siteNotice.icelist-donate-notice .icelist-notice-close {
margin-left: 8px;
}
#siteNotice {
display: flex;
align-items: center;
gap: 16px;
}
#siteNotice .donate-btn {
margin-left: auto;
}
#siteNotice .icelist-notice-close {
margin-left: 8px;
}
/* Keep the text as a flexible left column */
#siteNotice.icelist-anon-donate .icelist-donate-cta {
margin-left: auto; /* pushes donate to the right */
flex: 0 0 auto;
}
/* Style the Donate link as a button */
#siteNotice.icelist-anon-donate a.icelist-donate-btn {
display: inline-block;
padding: 10px 18px;
border-radius: 10px;
background: #e44335;
color: #fff;
text-decoration: none;
font-weight: 700;
}
#siteNotice.icelist-anon-donate a.icelist-donate-btn:hover {
filter: brightness(0.95);
}
/* Close button */
#siteNotice.icelist-anon-donate .icelist-notice-close {
margin-left: 10px;
background: transparent;
border: 0;
font-size: 26px;
line-height: 1;
cursor: pointer;
opacity: 0.7;
}
#siteNotice.icelist-anon-donate .icelist-notice-close:hover {
opacity: 1;
}
/* Prevent empty notice bars if other CSS exists */
#siteNotice:empty {
display: none;
}
#siteNotice.icelist-anon-donate {
position: relative;
}
#siteNotice.icelist-anon-donate .icelist-notice-close{
position: absolute;
top: 8px;
right: 10px;
z-index: 9999;
border: 0;
background: transparent;
font-size: 22px;
line-height: 1;
cursor: pointer;
padding: 6px 8px;
}
/* ICE List anon notice — ONLY when JS marks it */
#siteNotice.icelist-anon-donate{
margin: 12px auto;
padding: 14px 16px;
border-radius: 12px;
background: #f3f3f3;
border: 1px solid rgba(0,0,0,0.08);
position: relative;
}
/* Make your table behave like a clean banner row */
#siteNotice.icelist-anon-donate .icelist-notice-table{
width: 100%;
border-collapse: collapse;
}
#siteNotice.icelist-anon-donate .icelist-notice-table > tbody > tr{
display: flex;
gap: 16px;
align-items: center;
}
#siteNotice.icelist-anon-donate .icelist-notice-table > tbody > tr > td:first-child{
flex: 1;
padding-right: 12px;
}
/* Donate button */
#siteNotice.icelist-anon-donate .icelist-donate-btn{
display: inline-block;
padding: 10px 16px;
border-radius: 10px;
background: #e53935;
color: #fff !important;
text-decoration: none !important;
font-weight: 700;
white-space: nowrap;
}
/* Close button (top right) */
#siteNotice.icelist-anon-donate .icelist-notice-close{
position: absolute;
top: 6px;
right: 10px;
border: 0;
background: transparent;
font-size: 22px;
line-height: 1;
cursor: pointer;
padding: 6px 8px;
}
/* Baseline anon notice styling (only when JS marks it) */
#siteNotice.icelist-anon-donate{
background: #f3f3f3;
border: 1px solid rgba(0,0,0,0.08);
border-radius: 12px;
padding: 14px 16px;
margin: 12px auto;
position: relative;
}
/* Close button always visible */
#siteNotice.icelist-anon-donate .icelist-notice-close{
position: absolute;
top: 6px;
right: 10px;
border: 0;
background: transparent;
font-size: 22px;
line-height: 1;
cursor: pointer;
padding: 6px 8px;
}
#mw-dismissable-notice-dismiss:hover {
color: #000;
}
#mw-dismissable-notice-dismiss {
position: absolute;
top: 10px;
right: 12px;
}
#mw-dismissable-notice-dismiss {
background: none !important;
border: none !important;
box-shadow: none !important;
color: #999 !important;
padding: 6px !important;
font-size: 20px !important;
font-weight: 700 !important;
line-height: 1 !important;
border-radius: 0 !important;
cursor: pointer;
}
#mw-dismissable-notice-dismiss:hover {
color: #000 !important;
}
#mw-dismissable-notice-dismiss {
opacity: 0.6 !important;
}
#mw-dismissable-notice-dismiss:hover {
opacity: 1 !important;
}
/* Kill ALL visual styling on dismiss link */
#mw-dismissable-notice-dismiss {
background: none !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 !important;
width: auto !important;
height: auto !important;
color: transparent !important;
font-size: 0 !important;
line-height: 0 !important;
}
/* Replace it visually with a pseudo-element */
#mw-dismissable-notice-dismiss::after {
content: "×";
color: #999;
font-size: 20px;
font-weight: 700;
line-height: 1;
cursor: pointer;
}
/* Hover state */
#mw-dismissable-notice-dismiss:hover::after {
color: #000;
}
.mw-dismissable-notice-close a {
background: none;
border: none;
box-shadow: none;
padding: 0;
margin: 0;
color: #999;
font-size: 20px;
font-weight: 700;
line-height: 1;
text-decoration: none;
}
#siteNotice .mw-dismissable-notice-close > a {
background: none !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
color: #999 !important;
font-size: 20px !important;
}
#siteNotice.mw-dismissed {
display: none;
}
/* When DismissableSiteNotice hides the notice with visibility:hidden,
also collapse the layout so no grey bar remains. */
#siteNotice .mw-dismissable-notice-close[style*="visibility: hidden"] {
display: none !important;
}
/* If the notice wrapper is otherwise empty/hidden, kill its spacing */
#siteNotice {
min-height: 0 !important;
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
}
/* Rounded corners + subtle elevation for dismissable site notice */
#siteNotice > .mw-dismissable-notice {
border-radius: 10px;
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
background: #f3f3f3;
overflow: hidden;
}
#siteNotice {
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
gap: 0 !important;
}
/* Make the dismissable notice be the single full-width visual box */
#siteNotice {
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
gap: 0 !important;
}
#siteNotice > .mw-dismissable-notice {
width: 100% !important;
box-sizing: border-box !important;
margin: 12px 0 !important; /* no auto-centering gaps */
padding: 18px 20px !important;
background: #f3f3f3 !important;
border-radius: 12px !important;
box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
position: relative !important; /* anchor X positioning */
overflow: hidden !important; /* keeps corners clean */
}
/* Put the X in the top-right of the BOX (not the page/grid) */
#siteNotice > .mw-dismissable-notice .mw-dismissable-notice-close {
position: absolute !important;
top: 10px !important;
right: 12px !important;
z-index: 5 !important;
}
/* Make sure the close link isn't inheriting your Donate button styles */
#siteNotice > .mw-dismissable-notice .mw-dismissable-notice-close a {
all: unset !important;
cursor: pointer !important;
font-size: 20px !important;
font-weight: 700 !important;
line-height: 1 !important;
color: #888 !important;
padding: 6px !important;
}
#siteNotice > .mw-dismissable-notice .mw-dismissable-notice-close a:hover {
color: #222 !important;
}
/* Optional: stop the text running under the X */
#siteNotice > .mw-dismissable-notice .mw-dismissable-notice-body {
padding-right: 40px !important;
}
/* ===============================
Printable version (screen)
=============================== */
body.mw-printable-view #mw-content-text > * {
display: none !important;
}
/* Re-show the agent infobox */
body.mw-printable-view #mw-content-text table.ic-infobox {
display: table !important;
float: right;
width: 35% !important;
}
/* Ensure the title stays visible */
body.mw-printable-view #firstHeading {
display: block !important;
}
/* Optional: remove leftover UI noise */
body.mw-printable-view .toc,
body.mw-printable-view .mw-editsection,
body.mw-printable-view #siteNotice {
display: none !important;
}
.icelist-audience-banner {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-bottom: 1.5rem;
}
.icelist-audience-banner .ic-card {
flex: 1 1 180px;
min-width: 160px;
}
@media (max-width: 600px) {
.icelist-audience-banner .ic-card {
flex: 1 1 100%;
}
}
.icelist-audience-banner {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin: 0 0 1.5rem 0;
}
.icelist-audience-tile {
flex: 1 1 0;
min-width: 140px;
background: #c0392b;
color: #fff !important;
text-decoration: none !important;
padding: 0.75rem 0.9rem;
border-radius: 3px;
display: block;
}
.icelist-audience-tile:hover {
background: #a93226;
}
.iat-title {
font-weight: bold;
font-size: 0.85rem;
margin-bottom: 0.25rem;
color: #fff;
}
.iat-desc {
font-size: 0.78rem;
opacity: 0.88;
color: #fff;
}
@media (max-width: 720px) {
.icelist-audience-tile {
flex: 1 1 45%;
}
}
@media (max-width: 480px) {
.icelist-audience-tile {
flex: 1 1 100%;
}
}
.icelist-audience-banner {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin: 0 0 1.5rem 0;
}
.icelist-audience-tile {
flex: 1 1 0;
min-width: 140px;
background: #c0392b;
color: #fff;
padding: 0.75rem 0.9rem;
border-radius: 3px;
position: relative;
cursor: pointer;
}
.icelist-audience-tile:hover {
background: #a93226;
}
/* Stretch the wiki link to cover the entire tile */
.icelist-audience-tile a {
position: absolute;
inset: 0;
font-size: 0;
color: transparent !important;
text-decoration: none !important;
}
.iat-title {
font-weight: bold;
font-size: 0.85rem;
margin-bottom: 0.25rem;
color: #fff;
pointer-events: none;
}
.iat-desc {
font-size: 0.78rem;
opacity: 0.88;
color: #fff;
pointer-events: none;
}
@media (max-width: 720px) {
.icelist-audience-tile { flex: 1 1 45%; }
}
@media (max-width: 480px) {
.icelist-audience-tile { flex: 1 1 100%; }
}
.hide-cats #catlinks {
display: none;
}
/* === ICE List card system — matte flat refresh === */
.ic-card { background:#fff; border:1px solid #e6e4df; border-radius:6px; overflow:hidden; margin:0 0 12px 0; }
.page-Main_Page .icelist-homepage-column .ic-card,
.page-Main_Page .icelist-homepage-column > div,
.page-Main_Page .icelist-homepage-column > table { margin:0 0 12px 0; }
.ic-card-header { padding:11px 16px; font-size:15px; font-weight:500; line-height:1.3; }
.ic-card-body { padding:14px 16px; font-size:13.5px; line-height:1.6; color:#1c1b19; }
.icelist-homepage-column .ic-card .ic-card-body p { margin:0 0 8px !important; }
.icelist-homepage-column .ic-card .ic-card-body p:last-child { margin-bottom:0 !important; }
.ic-card-body a { color:#2f5c8f; text-decoration:none; }
.ic-card-body a:hover { text-decoration:underline; }
.ic-card--blue .ic-card-header { background:#eaeef3; color:#33455c; }
.ic-card--gray .ic-card-header { background:#f1efea; color:#3c3b36; }
.ic-card--news .ic-card-header { background:#f1efea; color:#3c3b36; }
.ic-card--red .ic-card-header { background:#f1e6e3; color:#7a3a2c; }
.ic-card--green .ic-card-header { background:#e8eee5; color:#3d5230; }
.ic-card-note { margin-top:10px; padding-top:10px; border-top:1px solid #efede8; font-size:12.5px; line-height:1.55; color:#6e6c66; }
.ic-card-list ul { list-style:none; margin:0; padding:0; }
.ic-card-list li { padding:8px 0; border-bottom:1px solid #efede8; font-size:13.5px; line-height:1.45; }
.ic-card-list li:first-child { padding-top:0; }
.ic-card-list li:last-child { border-bottom:0; padding-bottom:0; }
.ic-card-list p { margin:0 0 8px; }
.ic-card-buttons { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.ic-card-button-primary a { display:inline-block; background:#3a3a36; color:#fff !important; padding:8px 14px; border-radius:5px; font-size:13px; text-decoration:none; }
.ic-card-button-secondary a { display:inline-block; background:#fff; color:#333330 !important; border:1px solid #d9d7d1; padding:7px 14px; border-radius:5px; font-size:13px; text-decoration:none; }
.ic-card-button-primary a:hover { filter:brightness(0.92); text-decoration:none; }
.ic-card-button-secondary a:hover { background:#f5f4f1; text-decoration:none; }
.ic-card--red .ic-card-button-primary a { background:#7a3a2c; }
.ic-card--green .ic-card-button-primary a { background:#3d5230; }
/* ICE List card content polish */
.ic-card-note { margin-top:10px; padding-top:10px; border-top:1px solid #efede8; font-size:12.5px; color:#6e6c66; }
.ic-card-list ul { list-style:none; margin:0; padding:0; }
.ic-card-list li { padding:8px 0; border-bottom:1px solid #efede8; }
.ic-card-list li:first-child { padding-top:0; }
.ic-card-list li:last-child { border-bottom:0; padding-bottom:0; }
.ic-card-buttons { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.ic-card-button-primary a { display:inline-block; background:#3a3a36; color:#fff !important; padding:8px 14px; border-radius:5px; text-decoration:none; }
.ic-card-button-secondary a { display:inline-block; background:#fff; color:#333 !important; border:1px solid #d9d7d1; padding:7px 14px; border-radius:5px; text-decoration:none; }
/* ICE List card header tones */
.ic-h-blue { background:#eaeef3; color:#33455c; }
.ic-h-gray { background:#f1efea; color:#3c3b36; }
.ic-h-news { background:#f1efea; color:#3c3b36; }
.ic-h-red { background:#f1e6e3; color:#7a3a2c; }
.ic-h-green { background:#e8eee5; color:#3d5230; }
/* Harmonise skin chrome with the matte cards */
body { background:#f1efe9; }
#mw-page-base,
#mw-head-base { background:#f1efe9; }
.mw-body,
#content { background:#fff; border:1px solid #e6e4df; }
#mw-panel { background:transparent; }
/* === ICE List support banner — single clean block === */
#siteNotice {
background: transparent !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
}
#siteNotice > .mw-dismissable-notice {
position: relative;
box-sizing: border-box;
margin: 16px 0;
padding: 20px 24px;
background: #fff;
border: 1px solid #e6e4df;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
#siteNotice .mw-dismissable-notice-body {
display: flex;
align-items: center;
gap: 20px;
padding-right: 28px;
}
.icelist-support-text { flex: 1 1 auto; }
.icelist-support-text strong {
display: block;
font-size: 16px;
font-weight: 600;
color: #1c1b19;
margin-bottom: 3px;
}
.icelist-support-text span {
font-size: 14px;
line-height: 1.5;
color: #6e6c66;
}
.icelist-support-btn { flex: 0 0 auto; }
.icelist-support-btn a {
display: inline-block;
white-space: nowrap;
background: #e23b2e;
color: #fff !important;
font-weight: 600;
font-size: 15px;
text-decoration: none !important;
padding: 11px 22px;
border-radius: 10px;
transition: filter .15s ease, transform .15s ease;
}
.icelist-support-btn a:hover { filter: brightness(0.93); transform: translateY(-1px); }
#siteNotice .mw-dismissable-notice-close {
position: absolute;
top: 12px;
right: 14px;
}
#siteNotice .mw-dismissable-notice-close a,
#mw-dismissable-notice-dismiss {
all: unset;
cursor: pointer;
font-size: 18px;
line-height: 1;
color: #b3b1ab;
padding: 4px;
}
#siteNotice .mw-dismissable-notice-close a:hover,
#mw-dismissable-notice-dismiss:hover { color: #2a2a28; }
@media (max-width: 720px) {
#siteNotice .mw-dismissable-notice-body {
flex-direction: column;
align-items: flex-start;
gap: 14px;
padding-right: 0;
}
}
#siteNotice:empty,
#siteNotice.mw-dismissed { display: none !important; }
/* Agent infobox: stack full-width on mobile instead of crushing the content */
@media (max-width: 720px) {
.mw-parser-output table.ic-infobox,
.ic-infobox {
float: none !important;
clear: both !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 0 1em 0 !important;
}
}
/* === ICE List agent card (agent pages) === */
.ic-agent-card{float:right;clear:right;width:300px;max-width:100%;margin:0 0 1em 1.5em;background:#fff;border:1px solid #e6e4df;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.05);font-size:13.5px;line-height:1.45;}
.ic-agent-card__photo{background:#f1efea;}
.ic-agent-card__photo a{display:block;line-height:0;}
.ic-agent-card__photo img{width:100%;height:auto;display:block;}
.ic-agent-card__body{padding:14px 16px;}
.ic-agent-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;}
.ic-agent-card__name{font-size:18px;font-weight:600;line-height:1.25;color:#1c1b19;}
.ic-agent-card__sub{margin:3px 0 14px;font-size:13px;color:#6e6c66;}
.ic-agent-card__sub a{color:#6e6c66;text-decoration:none;}
.ic-agent-card__sub a:hover{text-decoration:underline;}
.ic-agent-card__fields{border-top:1px solid #efede8;}
.ic-agent-card__row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #efede8;}
.ic-agent-card__row:last-child{border-bottom:0;}
.ic-agent-card__k{color:#6e6c66;flex:0 0 auto;}
.ic-agent-card__v{color:#1c1b19;text-align:right;}
.ic-agent-card__v a{color:#2f5c8f;text-decoration:none;}
.ic-agent-card__v a:hover{text-decoration:underline;}
.ic-agent-card__badge{flex:0 0 auto;white-space:nowrap;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;border:1px solid #d9d9d9;background:#f4f4f2;color:#444;}
.ic-agent-card__badge[data-status="Verified"]{background:#f4fbf6;border-color:#b7d7c2;color:#3d5230;}
.ic-agent-card__badge[data-status="Partially Verified"]{background:#fffbe6;border-color:#e0d3a1;color:#7a5b1e;}
.ic-agent-card__badge[data-status="Unverified"]{background:#fff6f6;border-color:#e0a1a1;color:#7a3a2c;}
.ic-agent-card__foot{margin-top:14px;}
.ic-agent-card__foot a{display:block;text-align:center;font-size:13px;font-weight:500;color:#2f5c8f;text-decoration:none;border:1px solid #e6e4df;border-radius:8px;padding:9px;}
.ic-agent-card__foot a:hover{background:#f5f4f1;text-decoration:none;}
/* The card carries the name, so hide the page title and any body = heading = on agent pages */
body.ic-agent-page #firstHeading{display:none;}
body.ic-agent-page .mw-parser-output > .mw-heading1,
body.ic-agent-page .mw-parser-output > h1{display:none;}
/* Stack full-width on mobile */
@media (max-width:720px){
.ic-agent-card{float:none;width:100%;max-width:100%;margin:0 0 1em 0;}
}
/* === ICE List agent page body: harmonise with the card === */
.mw-parser-output .ic-agent-card ~ .mw-heading h2,
.mw-parser-output .ic-agent-card ~ .mw-heading2 h2,
.mw-parser-output .ic-agent-card ~ h2 {
font-family: inherit !important;
font-weight: 600 !important;
font-size: 1.3em !important;
color: #1c1b19 !important;
}
.mw-parser-output .ic-agent-card ~ .mw-heading h3,
.mw-parser-output .ic-agent-card ~ .mw-heading3 h3,
.mw-parser-output .ic-agent-card ~ h3 {
font-family: inherit !important;
font-weight: 600 !important;
color: #1c1b19 !important;
}
.mw-parser-output .ic-agent-card ~ ul {
list-style: none;
margin: 0.4em 0 0;
padding: 0;
}
.mw-parser-output .ic-agent-card ~ ul li {
padding: 9px 0;
border-bottom: 1px solid #efede8;
line-height: 1.45;
}
.mw-parser-output .ic-agent-card ~ ul li:last-child { border-bottom: 0; }
.mw-parser-output .ic-agent-card ~ ul li a { color: #2f5c8f; text-decoration: none; }
.mw-parser-output .ic-agent-card ~ ul li a:hover { text-decoration: underline; }