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.
/* ============================================================
KINTARA WIKI — Blue theme (matches kintara.gg)
Base/UI: blue #5da1d6 | CTA/accent: orange #ff9c48
Skin: Vector legacy (same as OSRS)
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Cinzel:wght@600;700&display=swap');
:root {
--kin-blue: #5da1d6;
--kin-blue-deep: #3a7cb5;
--kin-blue-dark: #2b5e8c;
--kin-orange: #ff9c48;
--kin-orange-dk: #d9731f;
--kin-line: #cfe0ee;
--kin-ink: #1f2d3a;
}
/* ---- Page background (blue, like the game) ---- */
body {
font-family: 'Inter', -apple-system, system-ui, sans-serif !important;
background: linear-gradient(180deg, #6fb0e0 0%, #5da1d6 40%, #4f93cb 100%) !important;
background-attachment: fixed !important;
color: var(--kin-ink);
}
/* let the blue show through Vector's white header strips */
#mw-page-base, #mw-head-base { background: transparent !important; }
/* ---- Top header ---- */
#mw-head { background: transparent; }
#p-search #searchInput,
#p-search input[type="search"] {
border: 1px solid #fff !important;
border-radius: 20px !important;
padding: 3px 12px !important;
background: rgba(255,255,255,0.92);
}
.vector-menu-tabs li.selected a { color: var(--kin-orange-dk) !important; font-weight: 600; }
/* ---- Left sidebar (light text on blue) ---- */
#mw-panel .vector-menu-heading {
color: #ffe0c2 !important; font-weight: 700;
text-transform: uppercase; font-size: 0.72em; letter-spacing: 0.05em;
}
#mw-panel a { color: #f2f8fd !important; }
#mw-panel a:hover { color: #ffd09e !important; text-decoration: none; }
/* ---- Content as a white card on the blue ---- */
#content {
background: #ffffff !important;
border: 1px solid var(--kin-line) !important;
border-radius: 10px !important;
box-shadow: 0 6px 22px rgba(20,50,80,0.18) !important;
}
#firstHeading {
font-weight: 700; color: var(--kin-blue-dark);
border-bottom: 3px solid var(--kin-orange); padding-bottom: 6px;
}
#mw-content-text h2 { border-bottom: 1px solid var(--kin-line); padding-bottom: 3px; }
/* Links: orange (the action color), red links stay red */
#mw-content-text a:not(.image):not(.new),
#mw-content-text a:visited:not(.image):not(.new) { color: var(--kin-orange-dk); }
#mw-content-text a.new { color: #c0392b; }
/* Footer (sits on blue) */
#footer, #footer a, #footer li { color: #eaf4fb !important; }
/* ============ INFOBOXES (blue header, white text) ============ */
.infobox {
float:right; clear:right; margin:0 0 1em 1.5em;
border:1px solid var(--kin-line); background:#f7fbfe;
font-size:0.88em; width:270px; border-collapse:collapse;
border-radius:8px; overflow:hidden; box-shadow:0 2px 8px rgba(20,50,80,0.1);
}
.infobox-title, .infobox-title a, .infobox-title a:visited {
background:var(--kin-blue-deep); color:#fff !important; font-weight:700;
font-size:1.05em; text-align:center; padding:8px 10px;
text-shadow:0 1px 1px rgba(0,0,0,0.25);
}
.infobox-image { background:#eaf4fb; text-align:center; padding:12px; border-bottom:1px solid var(--kin-line); }
.infobox-image img { max-width:150px; image-rendering:pixelated; image-rendering:crisp-edges; }
.infobox th { background:#dcecf9; background:#daeaf6; color:#1f4d72; padding:5px 9px; width:40%; font-weight:600; vertical-align:top; border-top:1px solid var(--kin-line); font-size:0.85em; }
.infobox td { background:#f7fbfe; color:#222; padding:5px 9px; vertical-align:top; border-top:1px solid var(--kin-line); }
/* category accents */
.infobox-monster .infobox-title { background:#b5443a; }
.infobox-location .infobox-title { background:#3e8c5a; }
.infobox-npc .infobox-title { background:#6a5fc0; }
.infobox-skill .infobox-title { background:#2b87a0; }
.infobox-mount .infobox-title { background:#c77f2a; }
.zone-safe{color:#1a7a1a;font-weight:bold}.zone-pvp{color:#aa2222;font-weight:bold}.zone-calm{color:#1a5a9a;font-weight:bold}
/* ============ TABLES (blue header) ============ */
.wikitable { border-collapse:collapse; background:#fff; margin:1em 0; font-size:0.9em; border-radius:8px; overflow:hidden; }
.wikitable th { background:var(--kin-blue-deep); color:#fff; border:1px solid var(--kin-blue-dark); padding:6px 10px; }
.wikitable td { border:1px solid var(--kin-line); padding:5px 9px; }
.wikitable tr:nth-child(even) td { background:#f0f7fc; }
/* ============ MAIN PAGE ============ */
.kin-hero {
background: linear-gradient(135deg, #6fb0e0 0%, #4f93cb 60%, #3a7cb5 100%);
border-radius:14px; padding:36px 24px; text-align:center; color:#fff;
margin:0 0 18px; box-shadow:0 6px 20px rgba(20,50,80,0.2);
}
.kin-hero h1 { font-family:'Cinzel',serif; font-size:2.7em; letter-spacing:5px; margin:0; color:#fff; border:0; }
.kin-hero p { font-size:1.05em; opacity:0.95; margin:8px 0 0; }
.kin-social { display:flex; gap:10px; justify-content:center; margin:18px 0 0; flex-wrap:wrap; }
/* Discord / X: translucent. Play Now: solid orange CTA. */
.kin-social a {
display:inline-flex; align-items:center; gap:6px;
background:rgba(255,255,255,0.18); border:1px solid rgba(255,255,255,0.5);
color:#fff !important; padding:9px 20px; border-radius:24px;
font-weight:600; text-decoration:none; font-size:0.92em; transition:.15s;
}
.kin-social a:hover { background:#fff; color:var(--kin-blue-dark) !important; }
.kin-social a.cta { background:var(--kin-orange); border-color:var(--kin-orange); }
.kin-social a.cta:hover { background:var(--kin-orange-dk); color:#fff !important; }
.kin-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; margin:1em 0; }
.kin-card {
border:1px solid var(--kin-line); background:#f7fbfe;
border-radius:10px; padding:16px 10px; text-align:center; transition:.15s;
}
.kin-card:hover { border-color:var(--kin-orange); box-shadow:0 4px 14px rgba(93,161,214,0.25); transform:translateY(-2px); }
.kin-card a { color:var(--kin-blue-deep) !important; font-weight:700; text-decoration:none; font-size:1.05em; }
.kin-card:hover a { color:var(--kin-orange-dk) !important; }
.kin-card .kc-sub { display:block; color:#7a8a99; font-size:0.8em; font-weight:400; margin-top:3px; }
/* ---- Mobile ---- */
@media(max-width:720px){
.kin-hero h1{font-size:1.9em}
.infobox{float:none;width:auto;margin:0 0 1em}
}
/* ===== OSRS-LEVEL FINISH: image cards + social boxes ===== */
/* Image cards */
.kin-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; margin:1em 0; }
.kin-card { border:1px solid var(--kin-line); background:#fff; border-radius:10px; overflow:hidden; transition:.15s; text-align:center; }
.kin-card:hover { border-color:var(--kin-orange); box-shadow:0 6px 16px rgba(93,161,214,0.28); transform:translateY(-3px); }
.kin-card a.image { display:block; background:linear-gradient(160deg,#eaf4fb,#d6e9f7); padding:16px 0 10px; }
.kin-card a.image img { max-height:82px; width:auto; image-rendering:pixelated; image-rendering:crisp-edges; }
.kin-card .kc-label { padding:8px 8px 12px; }
.kin-card .kc-label a { color:var(--kin-blue-deep) !important; font-weight:700; text-decoration:none; font-size:1.02em; }
.kin-card:hover .kc-label a { color:var(--kin-orange-dk) !important; }
.kin-card .kc-sub { display:block; color:#7a8a99; font-size:0.78em; font-weight:400; margin-top:2px; }
/* Two-column main layout */
.kin-main { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.kin-main-left { flex:1 1 60%; min-width:300px; }
.kin-main-right { flex:1 1 28%; min-width:230px; }
.kin-box { border:1px solid var(--kin-line); background:#fff; border-radius:10px; padding:14px 16px; margin:0 0 14px; }
.kin-box h2 { margin-top:0; border-bottom:1px solid var(--kin-line); }
/* Social / promo boxes */
.kin-promo { border-radius:10px; overflow:hidden; margin:0 0 14px; box-shadow:0 2px 10px rgba(20,50,80,0.16); }
.kin-promo .pbody { padding:15px 16px; color:#fff; font-weight:700; font-size:1.04em; display:flex; align-items:center; gap:12px; line-height:1.25; }
.kin-promo .pbody small { display:block; font-weight:400; font-size:0.8em; opacity:0.92; margin-top:2px; }
.kin-promo .pbody a, .kin-promo .pbody a:visited { color:#fff !important; text-decoration:none; }
.kin-promo .pfoot { padding:9px 16px; font-size:0.72em; letter-spacing:0.06em; font-weight:700; color:#fff; background:rgba(0,0,0,0.22); text-transform:uppercase; }
.kin-promo .picon { width:42px; height:42px; border-radius:9px; flex:0 0 42px; background-position:center; background-repeat:no-repeat; background-size:64%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.3em; }
.kin-promo .pchev { margin-left:auto; font-size:1.5em; opacity:0.85; }
.kin-promo:hover { filter:brightness(1.06); }
.kin-promo.discord { background:#5865F2; }
.kin-promo.xbox { background:#0b0b0b; }
.kin-promo.help { background:#3a7cb5; }
.kin-promo.discord .picon, .kin-promo.xbox .picon { background-color:transparent; }
.kin-promo.help .picon { background:rgba(255,255,255,0.2); }
/* Real logos via inline SVG (no upload needed) */
.kin-promo.discord .picon { background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 18"><path fill="white" d="M20.3 1.6A19 19 0 0 0 15.6.3l-.3.6A17 17 0 0 0 8.7.9L8.4.3A19 19 0 0 0 3.7 1.6 19.8 19.8 0 0 0 .3 15.1a19 19 0 0 0 5.8 2.9l.7-1A12 12 0 0 1 5 16.1l.4-.3a13.6 13.6 0 0 0 13.2 0l.4.3a12 12 0 0 1-1.8.9l.7 1a19 19 0 0 0 5.8-2.9A19.7 19.7 0 0 0 20.3 1.6ZM8.3 12.2c-.9 0-1.7-.9-1.7-1.9s.7-1.9 1.7-1.9 1.7.9 1.7 1.9-.8 1.9-1.7 1.9Zm7.4 0c-.9 0-1.7-.9-1.7-1.9s.7-1.9 1.7-1.9 1.7.9 1.7 1.9-.8 1.9-1.7 1.9Z"/></svg>'); }
.kin-promo.xbox .picon { background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M18.9 1.5h3.7l-8 9.2L24 22.5h-7.4l-5.8-7.6-6.6 7.6H.5l8.6-9.8L0 1.5h7.6l5.2 6.9ZM17.6 20.3h2L6.5 3.6H4.3Z"/></svg>'); }
/* Popular pages grid */
.kin-pop { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0.6em 0 0; }
.kin-pop a { background:#566373; color:#fff !important; text-align:center; padding:10px 8px; border-radius:7px; font-weight:600; font-size:0.85em; text-decoration:none; transition:.15s; }
.kin-pop a:hover { background:var(--kin-orange); }
/* ===== MAIN PAGE LAYOUT FIX (reliable right rail + responsive) ===== */
/* Balanced card grid: more breathing room than before */
.kin-cards { grid-template-columns:repeat(auto-fill,minmax(165px,1fr)); }
/* Two-column body as a table (renders reliably) */
.kin-main2 { width:100%; border-collapse:collapse; margin-top:4px; }
.kin-main2 > tbody > tr > td { vertical-align:top; padding:0; border:0; background:transparent; }
.kin-main2 td.kin-col-left { width:66%; padding-right:18px; }
.kin-main2 td.kin-col-right { width:31%; }
/* Tablet and mobile: stack the two columns */
@media (max-width:820px) {
.kin-main2, .kin-main2 > tbody, .kin-main2 > tbody > tr, .kin-main2 > tbody > tr > td {
display:block; width:100% !important; padding:0 !important;
}
.kin-main2 td.kin-col-left { margin-bottom:14px; }
}
/* Smaller phones: two cards per row */
@media (max-width:560px) {
.kin-cards { grid-template-columns:repeat(2,1fr); }
.kin-hero h1 { font-size:1.8em; }
}
/* ===== MAIN PAGE LAYOUT FIX (reliable right rail + responsive) ===== */
/* Balanced card grid: more breathing room than before */
.kin-cards { grid-template-columns:repeat(auto-fill,minmax(165px,1fr)); }
/* Two-column body as a table (renders reliably) */
.kin-main2 { width:100%; border-collapse:collapse; margin-top:4px; }
.kin-main2 > tbody > tr > td { vertical-align:top; padding:0; border:0; background:transparent; }
.kin-main2 td.kin-col-left { width:66%; padding-right:18px; }
.kin-main2 td.kin-col-right { width:31%; }
/* Tablet and mobile: stack the two columns */
@media (max-width:820px) {
.kin-main2, .kin-main2 > tbody, .kin-main2 > tbody > tr, .kin-main2 > tbody > tr > td {
display:block; width:100% !important; padding:0 !important;
}
.kin-main2 td.kin-col-left { margin-bottom:14px; }
}
/* Smaller phones: two cards per row */
@media (max-width:560px) {
.kin-cards { grid-template-columns:repeat(2,1fr); }
.kin-hero h1 { font-size:1.8em; }
}
/* Main page polish: hide default wiki chrome */
body.page-Main_Page #firstHeading,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page #contentSub2,
body.page-Main_Page #toc {
display: none !important;
}
.kin-hero .kin-title {
font-family: 'Cinzel', serif;
font-size: 2.7em;
letter-spacing: 5px;
margin: 0;
color: #fff;
border: 0;
font-weight: 700;
line-height: 1.15;
}
@media (max-width:560px) {
.kin-hero .kin-title {
font-size: 1.8em;
letter-spacing: 3px;
}
}
/* Main page polish: hide default wiki chrome */
body.page-Main_Page #firstHeading,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page #contentSub2,
body.page-Main_Page #toc {
display: none !important;
}
.kin-hero .kin-title {
font-family: 'Cinzel', serif;
font-size: 2.7em;
letter-spacing: 5px;
margin: 0;
color: #fff;
border: 0;
font-weight: 700;
line-height: 1.15;
}
@media (max-width:560px) {
.kin-hero .kin-title {
font-size: 1.8em;
letter-spacing: 3px;
}
}
/* Main page polish: OSRS-style portal cards */
body.page-Main_Page .kin-cards {
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
gap: 12px;
margin: 16px 0 18px;
}
body.page-Main_Page .kin-card {
display: flex;
flex-direction: column;
padding: 0;
background: #ffffff;
border: 1px solid #b9d4e8;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 2px 6px rgba(20,50,80,0.08);
}
body.page-Main_Page .kin-card > span[typeof="mw:File"] > a {
display: flex;
align-items: center;
justify-content: center;
height: 112px;
background: linear-gradient(180deg, #f6fbff 0%, #e2f0fa 100%);
border-bottom: 1px solid #cfe0ee;
}
body.page-Main_Page .kin-card img {
max-width: 88px !important;
max-height: 88px !important;
width: auto !important;
height: auto !important;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
body.page-Main_Page .kin-card .kc-label {
min-height: 54px;
padding: 9px 8px 10px;
background: #f8fbfd;
}
body.page-Main_Page .kin-card .kc-label a {
color: #2b5e8c !important;
font-size: 0.98em;
font-weight: 700;
}
body.page-Main_Page .kin-card .kc-sub {
color: #647789;
font-size: 0.76em;
margin-top: 2px;
}
body.page-Main_Page .kin-card:hover {
border-color: #ff9c48;
box-shadow: 0 4px 12px rgba(43,94,140,0.18);
transform: translateY(-2px);
}
body.page-Main_Page .kin-card:hover .kc-label {
background: #fff8f0;
}
@media (max-width:560px) {
body.page-Main_Page .kin-cards {
grid-template-columns: repeat(2, 1fr);
}
body.page-Main_Page .kin-card > span[typeof="mw:File"] > a {
height: 96px;
}
body.page-Main_Page .kin-card img {
max-width: 72px !important;
max-height: 72px !important;
}
}