MediaWiki:Common.css: Difference between revisions

From Adventures of Raptor Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 122: Line 122:
color: #f0d48a !important;
color: #f0d48a !important;
border: 1px solid #5d4316 !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;
}


/* ===== Catch-all for narrow/responsive breakpoints ===== */
.wikitable {
@media (max-width: 1200px) {
background: #1a130b;
#footer, .mw-footer, footer, .vector-footer,
border: 1px solid #5d4316;
.mw-footer-container, #footer *, .mw-footer *,
border-radius: 6px;
body #footer, body .mw-footer {
color: #c8bca0;
background: #15100a !important;
}
background-color: #15100a !important;
}


#toc, .toc, .vector-toc, .vector-toc-landmark,
.wikitable th {
.vector-toc-pinned-container, .vector-toc-contents,
background: #221910;
nav.vector-toc, .sidebar-toc, .vector-pinnable-element,
color: #f0d48a;
body #toc, body .toc {
}
background: #1a130b !important;
background-color: #1a130b !important;
}


#content, .mw-body, body #content, body .mw-body {
.mw-editfont-monospace, #wpTextbox1 {
background: linear-gradient(160deg,#221910,#15100a) !important;
background: #120d07;
}
color: #f0d48a;
border-radius: 6px;
}
}


/* ===== Absolute override for TOC white background ===== */
/* ===== 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,
Line 157: Line 220:
background-color: #1a130b !important;
background-color: #1a130b !important;
background-image: none !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;
}
/* ===== 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;
}
}

Revision as of 19:50, 4 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 10px 0 0;
	color: #c8bca0;
	box-shadow: 0 4px 18px rgba(0,0,0,0.35);
	border-bottom: none;
	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;
}

/* ===== 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;
}