MediaWiki:Common.css: Difference between revisions

From Adventures of Raptor Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 11: Line 11:
background: linear-gradient(160deg,#221910,#15100a);
background: linear-gradient(160deg,#221910,#15100a);
border: 1px solid #5d4316;
border: 1px solid #5d4316;
border-radius: 10px 10px 0 0;
border-radius: 10px;
color: #c8bca0;
color: #c8bca0;
box-shadow: 0 4px 18px rgba(0,0,0,0.35);
box-shadow: 0 4px 18px rgba(0,0,0,0.35);
border-bottom: none;
margin-bottom: 0;
margin-bottom: 0;
}
}
Line 22: Line 21:
color: #f0c75e;
color: #f0c75e;
border-bottom-color: #5d4316;
border-bottom-color: #5d4316;
}
html body #footer,
html body .mw-footer {
box-shadow: -9999px 0 0 0 #15100a, 9999px 0 0 0 #15100a !important;
position: relative;
}
}


Line 243: Line 236:
html body .tocnumber {
html body .tocnumber {
color: #d4880e !important;
color: #d4880e !important;
}
/* ===== Footer - maximum specificity, all widths ===== */
html body #footer,
html body .mw-footer,
html body #footer *,
html body .mw-footer * {
background: #15100a !important;
background-color: #15100a !important;
}
html body #footer a,
html body .mw-footer a {
color: #d4880e !important;
}
html body #footer li,
html body .mw-footer li {
color: #b0a488 !important;
}
}


Line 320: Line 294:
html body .mw-file-magnify {
html body .mw-file-magnify {
display: none !important;
display: none !important;
}
html body #footer li,
html body .mw-footer li,
html body #footer-places li,
html body #footer-info li {
background: transparent !important;
border: none !important;
border-radius: 0 !important;
padding: 0 !important;
display: inline !important;
}
html body #footer-places li,
html body #footer-info li {
margin-right: 12px;
}
}


Line 354: Line 312:
background: #1a130b !important;
background: #1a130b !important;
border: 1px solid #5d4316 !important;
border: 1px solid #5d4316 !important;
width: 100%;
border-collapse: collapse;
width: auto;
max-width: 100%;
}
}


Line 361: Line 321:
color: #f0d48a !important;
color: #f0d48a !important;
text-align: left;
text-align: left;
padding: 8px 12px;
padding: 5px 14px;
font-size: 1.1em;
line-height: 1.3;
}
}


html body .wikitable td {
html body .wikitable td {
padding: 8px 12px;
padding: 3px 14px;
border-top: 1px solid #3a2c18;
font-size: 1.1em;
line-height: 1.3;
border-top: 1px solid #2a1f10;
}
}


Line 384: Line 348:
color: #d4880e !important;
color: #d4880e !important;
}
}
html {
overflow-x: hidden !important;
}
html, body {
overflow-x: hidden !important;
}
html, body,
#mw-content-text, .mw-page-container,
.vector-page-toolbar, #content, .mw-body,
.mw-page-container-inner {
overflow-x: hidden !important;
max-width: 100%;
}
/* ===== Footer hidden ===== */
html body #footer,
html body .mw-footer {
display: none !important;
}
/* ===== Browse-by-category image cards ===== */
html body .raptor-card-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 16px;
margin: 18px auto;
max-width: 1400px;
justify-content: center;
}
@media (max-width: 1000px) {
html body .raptor-card-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 640px) {
html body .raptor-card-grid {
grid-template-columns: repeat(2, 1fr);
}
}
html body .raptor-card {
background: transparent !important;
border: none !important;
padding: 0 !important;
transform: none;
}
html body .raptor-card img {
display: block !important;
width: 100% !important;
height: auto !important;
border-radius: 10px;
transition: box-shadow .15s ease, transform .15s ease;
cursor: pointer;
}
html body .raptor-card:hover img {
box-shadow: 0 0 0 2px #d4880e, 0 6px 22px rgba(0,0,0,0.5);
transform: translateY(-3px);
}
/* ===== Guides section heading ===== */
html body .raptor-guides-heading {
font-family: 'Cinzel', Georgia, serif;
font-size: 2.2em;
font-weight: 700;
color: #f0c75e;
text-align: center;
margin: 24px auto 8px;
padding-bottom: 12px;
border-bottom: 1px solid #5d4316;
max-width: 1400px;
letter-spacing: 0.04em;
text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
/* ===== Hide Discussion tab ===== */
html body #ca-talk {
display: none !important;
}
/* ===== Welcome intro ===== */
html body .raptor-welcome {
max-width: 900px;
margin: 28px auto 8px;
text-align: center;
}
html body .raptor-welcome-title {
font-family: 'Cinzel', Georgia, serif;
font-size: 2em;
font-weight: 700;
color: #f0c75e;
letter-spacing: 0.04em;
text-shadow: 0 2px 6px rgba(0,0,0,0.5);
margin-bottom: 12px;
}
html body .raptor-welcome-text {
color: #c8bca0;
font-size: 1.05em;
line-height: 1.6;
}
/* House list call-to-action button */
.raptor-btn {
    display: inline-block;
    padding: 10px 26px;
    margin-top: 6px;
    background: #2a1e0e;
    border: 1px solid #6b5424;
    border-radius: 6px;
    color: #f0d57a !important;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.raptor-btn:hover {
    background: #4a3316;
    color: #ffe9a8 !important;
    box-shadow: 0 0 10px rgba(240, 213, 122, 0.5);
}
/* ============================================================
  Paste into:  MediaWiki:Common.css  (admin only)
  Compacts data tables and styles the live search box.
  Works on any table with class "compact-table" or "searchable".
  ============================================================ */
/* Tighter rows — removes the big vertical gaps */
.compact-table td,
.compact-table th,
.searchable td,
.searchable th {
    padding: 2px 8px;      /* default skin is ~0.4em 0.6em; this is tighter */
    line-height: 1.2;
    vertical-align: middle;
}
/* Keep the icon column narrow so rows don't stretch tall */
.compact-table td:first-child,
.searchable td:first-child {
    width: 40px;
    text-align: center;
}
/* The search box injected by the Common.js snippet */
.table-search {
    margin: 6px 0;
    padding: 4px 8px;
    width: 260px;
    max-width: 100%;
    background: #1b120a;
    color: #e8d5a3;
    border: 1px solid #6b4e2e;
    border-radius: 3px;
}
/* ============================================================
  Paste into:  MediaWiki:Common.css  (admin only)
  Modern dark-gold styling for the Outfit Addons table.
  Applies to any table with class "addon-table".
  Pairs with the existing "searchable" / "compact-table" snippet.
  ============================================================ */
/* ---- table shell ---- */
.addon-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 13px;
    color: #e8d5a3;
    background: #140d06;
    border: 1px solid #6b4e2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
/* ---- caption / title ---- */
.addon-table > caption {
    caption-side: top;
    text-align: left;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .5px;
    color: #f0c761;
    background: #1b120a;
    border-bottom: 2px solid #a97b34;
}
/* ---- header row ---- */
.addon-table > tbody > tr:first-child th,
.addon-table th {
    background: #2a1c0d;
    color: #f0c761;
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid #6b4e2e;
    white-space: nowrap;
}
/* ---- body cells ---- */
.addon-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #2c2013;
    vertical-align: middle;
}
/* ---- zebra striping + hover ---- */
.addon-table > tbody > tr:nth-child(odd)  { background: #191007; }
.addon-table > tbody > tr:nth-child(even) { background: #140d06; }
.addon-table > tbody > tr:hover          { background: #241708; }
/* keep the outfit image column tidy */
.addon-table td:first-child { width: 72px; text-align: center; }
/* ---- vocation labels ---- */
.voc-knight  { color: #e0533d; font-weight: bold; }
.voc-paladin  { color: #e0a93d; font-weight: bold; }
.voc-sorcerer { color: #8a6cff; font-weight: bold; }
.voc-druid    { color: #3ec98a; font-weight: bold; }
.voc-all      { color: #d8c07a; font-weight: bold; }
/* ---- addon status pills ----
  green = obtainable, red = not obtainable */
.addon-yes, .addon-no {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 11px;
    font-size: 12px;
    white-space: nowrap;
}
.addon-yes { background: #173a22; color: #7fe0a0; }  /* obtainable */
.addon-no  { background: #3a1a1a; color: #e88a8a; }  /* not obtainable */

Latest revision as of 16:34, 14 July 2026

/* ===== Base ===== */
body {
	background-image: linear-gradient(rgba(15,10,5,0.65), rgba(15,10,5,0.65)), url('/wiki/resources/assets/parchment_bg.png');
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: scroll;
}

#content, .mw-body {
	background: linear-gradient(160deg,#221910,#15100a);
	border: 1px solid #5d4316;
	border-radius: 10px;
	color: #c8bca0;
	box-shadow: 0 4px 18px rgba(0,0,0,0.35);
	margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Cinzel', Georgia, serif;
	color: #f0c75e;
	border-bottom-color: #5d4316;
}

#firstHeading, .firstHeading {
	color: #f0c75e;
}

a {
	color: #d4880e;
	transition: color .15s ease;
}

a:hover {
	color: #ffcf6a;
}

a:visited {
	color: #b0761f;
}

a.new {
	color: #e2574a;
}

.vector-menu-content a, #p-navigation a, #mw-panel a, .mw-portlet a {
	color: #d4880e;
}

.mw-wiki-logo, #p-logo a {
	filter: none;
}

.vector-header, .mw-header, #mw-head, .mw-header-container {
	background: #15100a;
	border-bottom: 1px solid #5d4316;
}

.vector-menu-tabs,
.vector-menu-tabs ul,
#p-views,
#p-namespaces,
#left-navigation,
#right-navigation {
	background: transparent !important;
}

.vector-menu-tabs ul li,
#p-views ul li,
#p-namespaces ul li {
	background: #1c140b !important;
	border: 1px solid #5d4316 !important;
	border-radius: 6px 6px 0 0 !important;
	margin-right: 2px;
}

.vector-menu-tabs ul li a,
#p-views ul li a,
#p-namespaces ul li a {
	color: #d4880e !important;
	background: transparent !important;
}

.vector-menu-tabs ul li.selected,
#p-views ul li.selected,
#p-namespaces ul li.selected {
	background: #2a1d0c !important;
	border-bottom-color: #2a1d0c !important;
}

.vector-menu-tabs ul li.selected a,
#p-views ul li.selected a,
#p-namespaces ul li.selected a {
	color: #f0d48a !important;
	font-weight: 600;
}

.vector-menu-tabs ul li:hover,
#p-views ul li:hover,
#p-namespaces ul li:hover {
	background: #2a1d0c !important;
}

.vector-dropdown .vector-dropdown-content,
.mw-portlet-dropdown .vector-menu-content {
	background: #1c140b !important;
	border: 1px solid #5d4316 !important;
	border-radius: 6px;
}

.vector-dropdown-content ul li a {
	color: #d4880e !important;
}

.cdx-search-input__input,
.vector-search-box-input,
.oo-ui-inputWidget-input,
#searchInput,
input[type="search"] {
	background: #120d07 !important;
	color: #f0d48a !important;
	border: 1px solid #5d4316 !important;
	border-radius: 6px !important;
}

.cdx-search-input,
.vector-search-box {
	border-radius: 6px;
}

input, textarea, select {
	background: #120d07;
	color: #f0d48a;
	border: 1px solid #5d4316;
	border-radius: 4px;
}

.cdx-button, button, .mw-ui-button {
	background: #2a1d0c !important;
	color: #f0d48a !important;
	border: 1px solid #5d4316 !important;
	border-radius: 6px !important;
}

.cdx-button:hover, button:hover, .mw-ui-button:hover {
	background: #3a2c14 !important;
}

.wikitable {
	background: #1a130b;
	border: 1px solid #5d4316;
	border-radius: 6px;
	color: #c8bca0;
}

.wikitable th {
	background: #221910;
	color: #f0d48a;
}

.mw-editfont-monospace, #wpTextbox1 {
	background: #120d07;
	color: #f0d48a;
	border-radius: 6px;
}

/* ===== Remove white thumbnail frames site-wide ===== */
.thumb, .thumbinner, div.thumb div.thumbinner {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.thumbcaption {
	background: transparent !important;
	color: #c8bca0 !important;
}

img.thumbborder {
	border: 1px solid #5d4316 !important;
}

/* ===== Sidebar (Tools heading, nav links) - maximum specificity ===== */
html body .vector-menu-heading,
html body .mw-portlet-tools .vector-menu-heading,
html body .mw-portlet h3,
html body .vector-menu-heading-label,
html body #p-tb h3,
html body .mw-portlet-tb h3 {
	color: #f0c75e !important;
	background: transparent !important;
}

html body #mw-panel,
html body .mw-portlet {
	background: rgba(15,10,5,0.55) !important;
	border-radius: 8px;
	padding: 8px 10px;
	margin-bottom: 8px;
}

html body #mw-panel a,
html body .mw-portlet a {
	color: #f0c75e !important;
}

/* ===== TOC - maximum specificity, all widths ===== */
html body #toc,
html body .toc,
html body #toc *,
html body .toc *,
html body .vector-toc,
html body .vector-toc *,
html body .vector-toc-landmark,
html body .vector-toc-landmark * {
	background: #1a130b !important;
	background-color: #1a130b !important;
	background-image: none !important;
}

html body #toc a,
html body .toc a,
html body .vector-toc a {
	color: #d4880e !important;
}

html body #toc #toctitle,
html body .toc #toctitle,
html body .vector-toc-title {
	color: #f0c75e !important;
}

html body .vector-toc-numb,
html body .tocnumber {
	color: #d4880e !important;
}

html body .vector-menu-heading {
	border-bottom: 1px solid #5d4316 !important;
	padding-bottom: 4px;
	margin-bottom: 6px;
}

html body figure.mw-halign-center,
html body figure[typeof*="mw:File"],
html body figure.mw-default-size {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

html body figure.mw-halign-center img,
html body figure[typeof*="mw:File"] img {
	border: none !important;
}

html body figcaption {
	background: transparent !important;
	color: #c8bca0 !important;
}

html body figure.mw-halign-center *,
html body figure[typeof*="mw:File"] * {
	background: transparent !important;
	background-color: transparent !important;
}

html body figure.mw-halign-center img,
html body figure[typeof*="mw:File"] img {
	background: none !important;
}

html body figcaption,
html body figcaption::before,
html body figcaption::after {
	background: transparent !important;
	background-color: transparent !important;
	color: #c8bca0 !important;
	border: none !important;
}

html body .magnify,
html body span.magnify,
html body .mw-file-description .magnify {
	display: none !important;
}

html body a.mw-file-magnify,
html body .mw-file-magnify {
	display: none !important;
}

html body #firstHeading,
html body .firstHeading {
	margin-top: 12px !important;
	padding-top: 4px;
}

/* ===== Hide default category auto-listing (replaced by custom table) ===== */
html body #mw-pages,
html body .mw-category-generated {
	display: none !important;
}

/* ===== Category table styling ===== */
html body .wikitable {
	background: #1a130b !important;
	border: 1px solid #5d4316 !important;
	border-collapse: collapse;
	width: auto;
	max-width: 100%;
}

html body .wikitable th {
	background: #221910 !important;
	color: #f0d48a !important;
	text-align: left;
	padding: 5px 14px;
	font-size: 1.1em;
	line-height: 1.3;
}

html body .wikitable td {
	padding: 3px 14px;
	font-size: 1.1em;
	line-height: 1.3;
	border-top: 1px solid #2a1f10;
}

html body .wikitable tr:hover td {
	background: #241a0e !important;
}

html body .mw-pt-languages,
html body .catlinks,
html body #catlinks {
	background: #1a130b !important;
	border: 1px solid #5d4316 !important;
	color: #c8bca0 !important;
}

html body .catlinks a {
	color: #d4880e !important;
}

html {
	overflow-x: hidden !important;
}

html, body {
	overflow-x: hidden !important;
}

html, body,
#mw-content-text, .mw-page-container,
.vector-page-toolbar, #content, .mw-body,
.mw-page-container-inner {
	overflow-x: hidden !important;
	max-width: 100%;
}

/* ===== Footer hidden ===== */
html body #footer,
html body .mw-footer {
	display: none !important;
}

/* ===== Browse-by-category image cards ===== */
html body .raptor-card-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin: 18px auto;
	max-width: 1400px;
	justify-content: center;
}

@media (max-width: 1000px) {
	html body .raptor-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	html body .raptor-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

html body .raptor-card {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	transform: none;
}

html body .raptor-card img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	border-radius: 10px;
	transition: box-shadow .15s ease, transform .15s ease;
	cursor: pointer;
}

html body .raptor-card:hover img {
	box-shadow: 0 0 0 2px #d4880e, 0 6px 22px rgba(0,0,0,0.5);
	transform: translateY(-3px);
}

/* ===== Guides section heading ===== */
html body .raptor-guides-heading {
	font-family: 'Cinzel', Georgia, serif;
	font-size: 2.2em;
	font-weight: 700;
	color: #f0c75e;
	text-align: center;
	margin: 24px auto 8px;
	padding-bottom: 12px;
	border-bottom: 1px solid #5d4316;
	max-width: 1400px;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ===== Hide Discussion tab ===== */
html body #ca-talk {
	display: none !important;
}

/* ===== Welcome intro ===== */
html body .raptor-welcome {
	max-width: 900px;
	margin: 28px auto 8px;
	text-align: center;
}

html body .raptor-welcome-title {
	font-family: 'Cinzel', Georgia, serif;
	font-size: 2em;
	font-weight: 700;
	color: #f0c75e;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 6px rgba(0,0,0,0.5);
	margin-bottom: 12px;
}

html body .raptor-welcome-text {
	color: #c8bca0;
	font-size: 1.05em;
	line-height: 1.6;
}

/* House list call-to-action button */
.raptor-btn {
    display: inline-block;
    padding: 10px 26px;
    margin-top: 6px;
    background: #2a1e0e;
    border: 1px solid #6b5424;
    border-radius: 6px;
    color: #f0d57a !important;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.raptor-btn:hover {
    background: #4a3316;
    color: #ffe9a8 !important;
    box-shadow: 0 0 10px rgba(240, 213, 122, 0.5);
}

/* ============================================================
   Paste into:  MediaWiki:Common.css   (admin only)
   Compacts data tables and styles the live search box.
   Works on any table with class "compact-table" or "searchable".
   ============================================================ */

/* Tighter rows — removes the big vertical gaps */
.compact-table td,
.compact-table th,
.searchable td,
.searchable th {
    padding: 2px 8px;      /* default skin is ~0.4em 0.6em; this is tighter */
    line-height: 1.2;
    vertical-align: middle;
}

/* Keep the icon column narrow so rows don't stretch tall */
.compact-table td:first-child,
.searchable td:first-child {
    width: 40px;
    text-align: center;
}

/* The search box injected by the Common.js snippet */
.table-search {
    margin: 6px 0;
    padding: 4px 8px;
    width: 260px;
    max-width: 100%;
    background: #1b120a;
    color: #e8d5a3;
    border: 1px solid #6b4e2e;
    border-radius: 3px;
}

/* ============================================================
   Paste into:  MediaWiki:Common.css   (admin only)
   Modern dark-gold styling for the Outfit Addons table.
   Applies to any table with class "addon-table".
   Pairs with the existing "searchable" / "compact-table" snippet.
   ============================================================ */

/* ---- table shell ---- */
.addon-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 13px;
    color: #e8d5a3;
    background: #140d06;
    border: 1px solid #6b4e2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* ---- caption / title ---- */
.addon-table > caption {
    caption-side: top;
    text-align: left;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .5px;
    color: #f0c761;
    background: #1b120a;
    border-bottom: 2px solid #a97b34;
}

/* ---- header row ---- */
.addon-table > tbody > tr:first-child th,
.addon-table th {
    background: #2a1c0d;
    color: #f0c761;
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid #6b4e2e;
    white-space: nowrap;
}

/* ---- body cells ---- */
.addon-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #2c2013;
    vertical-align: middle;
}

/* ---- zebra striping + hover ---- */
.addon-table > tbody > tr:nth-child(odd)  { background: #191007; }
.addon-table > tbody > tr:nth-child(even) { background: #140d06; }
.addon-table > tbody > tr:hover           { background: #241708; }

/* keep the outfit image column tidy */
.addon-table td:first-child { width: 72px; text-align: center; }

/* ---- vocation labels ---- */
.voc-knight   { color: #e0533d; font-weight: bold; }
.voc-paladin  { color: #e0a93d; font-weight: bold; }
.voc-sorcerer { color: #8a6cff; font-weight: bold; }
.voc-druid    { color: #3ec98a; font-weight: bold; }
.voc-all      { color: #d8c07a; font-weight: bold; }

/* ---- addon status pills ----
   green = obtainable, red = not obtainable */
.addon-yes, .addon-no {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 11px;
    font-size: 12px;
    white-space: nowrap;
}
.addon-yes { background: #173a22; color: #7fe0a0; }  /* obtainable */
.addon-no  { background: #3a1a1a; color: #e88a8a; }  /* not obtainable */