MediaWiki:Common.css: Difference between revisions
From dok
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ================================================ | /* ================================================ | ||
Calm Orange Theme for Timeless Skin | |||
MediaWiki:Common.css | MediaWiki:Common.css | ||
Perfect for: Warm, inviting documentation sites | |||
================================================ */ | ================================================ */ | ||
:root { | :root { | ||
/* | /* Calm Orange color palette */ | ||
-- | --deep-orange: #e65100; /* Primary - deep orange */ | ||
-- | --orange: #ff9800; /* Secondary - bright orange */ | ||
-- | --light-orange-bg: #fff3e0; /* Background - warm light orange */ | ||
-- | --peachy-white: #fffaf5; /* Content background - peachy white */ | ||
--light-orange: #ffe0b2; /* Accent - light orange */ | |||
--text-primary: #222222; /* Main text - dark gray */ | |||
-- | |||
-- | /* Extended palette for UI elements */ | ||
-- | --darker-orange: #f57c00; /* Darker orange for hover */ | ||
-- | --very-dark-orange: #bf360c; /* Very dark orange */ | ||
-- | --lighter-orange: #ffb74d; /* Lighter orange for buttons */ | ||
--highlight-yellow: #ffd54f; /* Yellow-orange for highlights */ | |||
--border-light: #ffe0b2; /* Subtle borders */ | |||
-- | --bg-white: #ffffff; /* Pure white for content */ | ||
-- | --text-secondary: #4a4a4a; /* Secondary text */ | ||
} | } | ||
/* Main page background */ | /* Main page background */ | ||
body { | body { | ||
background-color: var(--light- | background-color: var(--light-orange-bg); | ||
color: var(--text- | color: var(--text-primary); | ||
} | } | ||
/* Header/top navigation - | /* Header/top navigation - warm orange */ | ||
#mw-header-container { | #mw-header-container { | ||
background-color: var(-- | background-color: var(--deep-orange); | ||
border-bottom: | border-bottom: 2px solid var(--orange); | ||
} | } | ||
#mw-header-nav-hack { | #mw-header-nav-hack { | ||
background-color: var(-- | background-color: var(--deep-orange); | ||
} | } | ||
| Line 48: | Line 48: | ||
#mw-header-nav-hack a, | #mw-header-nav-hack a, | ||
#user-tools a { | #user-tools a { | ||
color: var(--white); | color: var(--peachy-white); | ||
font-weight: 500; | font-weight: 500; | ||
} | } | ||
| Line 54: | Line 54: | ||
#mw-header-nav-hack a:hover, | #mw-header-nav-hack a:hover, | ||
#user-tools a:hover { | #user-tools a:hover { | ||
color: var(-- | color: var(--highlight-yellow); | ||
} | } | ||
/* Sidebar - | /* Sidebar - warm style */ | ||
#mw-site-navigation, | #mw-site-navigation, | ||
#mw-related-navigation { | #mw-related-navigation { | ||
background-color: var(-- | background-color: var(--light-orange-bg); | ||
border-right: 1px solid var(-- | border-right: 1px solid var(--border-light); | ||
} | } | ||
| Line 71: | Line 71: | ||
#mw-site-navigation h3, | #mw-site-navigation h3, | ||
#mw-related-navigation h3 { | #mw-related-navigation h3 { | ||
background-color: var(-- | background-color: var(--deep-orange); | ||
color: white; | color: white; | ||
border-bottom: | border-bottom: 2px solid var(--orange); | ||
font-weight: 600; | font-weight: 600; | ||
text-transform: uppercase; | |||
font-size: 0.875rem; | |||
letter-spacing: 0.5px; | |||
} | } | ||
| Line 81: | Line 83: | ||
#mw-site-navigation a, | #mw-site-navigation a, | ||
#mw-related-navigation a { | #mw-related-navigation a { | ||
color: var(--text- | color: var(--text-secondary); | ||
font-weight: 400; | font-weight: 400; | ||
} | } | ||
#mw-site-navigation a:hover, | #mw-site-navigation a:hover, | ||
#mw-related-navigation a:hover { | #mw-related-navigation a:hover { | ||
color: var(-- | color: var(--deep-orange); | ||
background-color: | background-color: rgba(255, 224, 178, 0.3); | ||
} | } | ||
/* Main content area - clean white */ | /* Main content area - clean white pages */ | ||
#mw-content-container { | #mw-content-container { | ||
background-color: var(--white); | background-color: var(--peachy-white); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
box-shadow: 0 | box-shadow: 0 2px 8px rgba(230, 81, 0, 0.08); | ||
} | } | ||
#mw-content { | #mw-content { | ||
background-color: var(--white); | background-color: var(--peachy-white); | ||
color: var(--text- | color: var(--text-primary); | ||
} | } | ||
/* Page title */ | /* Page title - warm heading */ | ||
#firstHeading { | #firstHeading { | ||
color: var(-- | color: var(--deep-orange); | ||
border-bottom: 3px solid var(-- | border-bottom: 3px solid var(--orange); | ||
font-weight: 600; | font-weight: 600; | ||
padding-bottom: 12px; | padding-bottom: 12px; | ||
} | } | ||
/* Content headings */ | /* Content headings - hierarchical typography */ | ||
.mw-body h1 { | .mw-body h1 { | ||
color: var(-- | color: var(--deep-orange); | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.mw-body h2 { | .mw-body h2 { | ||
color: var(-- | color: var(--deep-orange); | ||
font-weight: 600; | font-weight: 600; | ||
border-bottom: 2px solid var(-- | border-bottom: 2px solid var(--orange); | ||
padding-bottom: 8px; | padding-bottom: 8px; | ||
margin-top: 32px; | margin-top: 32px; | ||
| Line 127: | Line 128: | ||
.mw-body h3 { | .mw-body h3 { | ||
color: var(-- | color: var(--darker-orange); | ||
font-weight: 600; | font-weight: 600; | ||
margin-top: 24px; | margin-top: 24px; | ||
| Line 133: | Line 134: | ||
.mw-body h4 { | .mw-body h4 { | ||
color: var(--text- | color: var(--text-secondary); | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
/* Body text */ | /* Body text - optimal readability */ | ||
.mw-body, | .mw-body, | ||
.mw-body p { | .mw-body p { | ||
color: var(--text- | color: var(--text-primary); | ||
line-height: 1. | line-height: 1.7; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
/* Links - | /* Links - warm style */ | ||
.mw-body a:not(.new) { | .mw-body a:not(.new) { | ||
color: var(-- | color: var(--darker-orange); | ||
text-decoration: none; | text-decoration: none; | ||
border-bottom: 1px solid transparent; | |||
transition: border-color 0.2s ease; | |||
} | } | ||
.mw-body a:not(.new):hover { | .mw-body a:not(.new):hover { | ||
color: var(-- | color: var(--deep-orange); | ||
border-bottom-color: var(--orange); | |||
} | } | ||
.mw-body a:not(.new):visited { | .mw-body a:not(.new):visited { | ||
color: var(-- | color: var(--very-dark-orange); | ||
} | } | ||
/* Red links (non-existent pages) */ | /* Red links (non-existent pages) */ | ||
.mw-body a.new { | .mw-body a.new { | ||
color: # | color: #c62828; | ||
} | } | ||
| Line 168: | Line 171: | ||
#p-namespaces ul li, | #p-namespaces ul li, | ||
#p-views ul li { | #p-views ul li { | ||
background-color: var(--light- | background-color: var(--light-orange-bg); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
} | } | ||
#p-namespaces ul li.selected, | #p-namespaces ul li.selected, | ||
#p-views ul li.selected { | #p-views ul li.selected { | ||
background-color: var(--white); | background-color: var(--peachy-white); | ||
border-bottom: 2px solid var(-- | border-bottom-color: var(--peachy-white); | ||
border-top: 2px solid var(--orange); | |||
} | } | ||
#p-namespaces a, | #p-namespaces a, | ||
#p-views a { | #p-views a { | ||
color: var(--text- | color: var(--text-secondary); | ||
font-weight: 500; | font-weight: 500; | ||
font-size: 0.875rem; | |||
} | } | ||
#p-namespaces ul li.selected a, | #p-namespaces ul li.selected a, | ||
#p-views ul li.selected a { | #p-views ul li.selected a { | ||
color: var(-- | color: var(--deep-orange); | ||
} | } | ||
/* Buttons */ | /* Buttons - warm actions */ | ||
.mw-ui-button, | .mw-ui-button, | ||
.oo-ui-buttonElement-button { | .oo-ui-buttonElement-button { | ||
background-color: var(-- | background-color: var(--orange); | ||
color: white; | color: white; | ||
border: none; | border: none; | ||
font-weight: 500; | font-weight: 500; | ||
padding: 10px 20px; | padding: 10px 20px; | ||
transition: background-color 0.2s ease; | |||
} | } | ||
.mw-ui-button:hover, | .mw-ui-button:hover, | ||
.oo-ui-buttonElement-button:hover { | .oo-ui-buttonElement-button:hover { | ||
background-color: var(-- | background-color: var(--darker-orange); | ||
} | } | ||
/* Info boxes */ | /* Info boxes - warm notes */ | ||
.infobox { | .infobox { | ||
background-color: var(--light- | background-color: var(--light-orange-bg); | ||
border: 1px solid var(-- | border: 1px solid var(--light-orange); | ||
border-left: 4px solid var(-- | border-left: 4px solid var(--orange); | ||
box-shadow: 0 1px 3px rgba(230, 81, 0, 0.1); | |||
} | } | ||
/* Table styling */ | /* Table styling - warm data presentation */ | ||
table.wikitable { | table.wikitable { | ||
background-color: var(--white); | background-color: var(--peachy-white); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
color: var(--text- | color: var(--text-primary); | ||
} | } | ||
table.wikitable th { | table.wikitable th { | ||
background-color: var(-- | background-color: var(--deep-orange); | ||
color: white; | color: white; | ||
border: 1px solid var(-- | border: 1px solid var(--orange); | ||
font-weight: 600; | font-weight: 600; | ||
text-transform: uppercase; | |||
font-size: 0.875rem; | |||
letter-spacing: 0.5px; | |||
padding: 12px 16px; | padding: 12px 16px; | ||
} | } | ||
table.wikitable td { | table.wikitable td { | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
padding: 10px 16px; | padding: 10px 16px; | ||
} | } | ||
table.wikitable tr:nth-child(even) { | table.wikitable tr:nth-child(even) { | ||
background-color: var(--light- | background-color: var(--light-orange-bg); | ||
} | } | ||
table.wikitable tr:hover { | table.wikitable tr:hover { | ||
background-color: | background-color: rgba(255, 224, 178, 0.2); | ||
} | } | ||
/* Code blocks */ | /* Code blocks - technical documentation */ | ||
pre, code { | pre, code { | ||
background-color: var(--light- | background-color: var(--light-orange-bg); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
color: var(--text- | border-left: 3px solid var(--orange); | ||
color: var(--text-primary); | |||
font-family: 'Consolas', 'Monaco', 'Courier New', monospace; | font-family: 'Consolas', 'Monaco', 'Courier New', monospace; | ||
font-size: 0.9rem; | |||
} | } | ||
pre { | pre { | ||
padding: 16px; | padding: 16px; | ||
overflow-x: auto; | |||
} | } | ||
| Line 256: | Line 268: | ||
} | } | ||
/* Footer */ | /* Footer - warm style */ | ||
#footer { | #footer, | ||
background-color: var(--light- | #mw-footer, | ||
border-top: | #mw-footer-container { | ||
color: var(--text- | background-color: var(--light-orange-bg); | ||
border-top: 2px solid var(--orange); | |||
color: var(--text-primary) !important; | |||
font-size: 0.875rem; | |||
} | |||
/* Footer text - dark for better contrast */ | |||
#footer-info, | |||
#footer-places, | |||
#footer-list, | |||
#mw-footer ul, | |||
#mw-footer li { | |||
color: var(--text-primary) !important; | |||
} | } | ||
#footer a { | /* Footer links */ | ||
color: var(--text- | #footer a, | ||
#mw-footer a, | |||
#footer-places a, | |||
#footer-info a { | |||
color: var(--text-primary) !important; | |||
font-weight: 500; | |||
} | } | ||
#footer a:hover { | #footer a:hover, | ||
color: var(-- | #mw-footer a:hover { | ||
color: var(--deep-orange) !important; | |||
} | } | ||
/* Search box */ | /* Search box */ | ||
#searchInput { | #searchInput { | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
background-color: var(--white); | background-color: var(--peachy-white); | ||
color: var(--text- | color: var(--text-primary); | ||
padding: 8px 12px; | padding: 8px 12px; | ||
} | } | ||
#searchInput:focus { | #searchInput:focus { | ||
border-color: var(-- | border-color: var(--orange); | ||
box-shadow: 0 0 0 2px rgba( | box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.1); | ||
outline: none; | outline: none; | ||
} | } | ||
/* Blockquotes */ | #searchInput::placeholder { | ||
color: var(--text-secondary); | |||
} | |||
/* Blockquotes - citations and references */ | |||
blockquote { | blockquote { | ||
border-left: 4px solid var(-- | border-left: 4px solid var(--orange); | ||
background-color: var(--light- | background-color: var(--light-orange-bg); | ||
padding: 16px 20px; | padding: 16px 20px; | ||
margin: 20px 0; | margin: 20px 0; | ||
color: var(--text- | color: var(--text-secondary); | ||
font-style: italic; | |||
} | |||
/* Lists - structured documentation */ | |||
.mw-body ul, | |||
.mw-body ol { | |||
line-height: 1.8; | |||
color: var(--text-primary); | |||
} | |||
/* Categories and metadata */ | |||
#catlinks { | |||
background-color: var(--light-orange-bg); | |||
border: 1px solid var(--border-light); | |||
color: var(--text-secondary); | |||
} | |||
/* Edit forms and inputs */ | |||
textarea, | |||
input[type="text"], | |||
input[type="search"] { | |||
background-color: var(--peachy-white); | |||
color: var(--text-primary); | |||
border: 1px solid var(--border-light); | |||
} | |||
textarea:focus, | |||
input[type="text"]:focus, | |||
input[type="search"]:focus { | |||
border-color: var(--orange); | |||
box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.1); | |||
} | } | ||
| Line 303: | Line 368: | ||
.mw-wiki-title, | .mw-wiki-title, | ||
#sitelogo-text { | #sitelogo-text { | ||
color: var(--white) !important; | color: var(--peachy-white) !important; | ||
font-weight: 600 !important; | font-weight: 600 !important; | ||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
} | } | ||
#p-logo a:hover, | #p-logo a:hover, | ||
#p-logo-text a:hover { | #p-logo-text a:hover { | ||
color: var(-- | color: var(--highlight-yellow) !important; | ||
} | } | ||
| Line 317: | Line 384: | ||
#personal h2, | #personal h2, | ||
#personal .mw-portlet-heading { | #personal .mw-portlet-heading { | ||
color: var(--white) !important; | color: var(--peachy-white) !important; | ||
font-weight: 500 !important; | font-weight: 500 !important; | ||
} | } | ||
#user-tools #pt-userpage a:hover { | #user-tools #pt-userpage a:hover { | ||
color: var(-- | color: var(--highlight-yellow) !important; | ||
} | } | ||
| Line 330: | Line 397: | ||
#user-tools .dropdown, | #user-tools .dropdown, | ||
#personal .vector-menu-content { | #personal .vector-menu-content { | ||
background-color: var(--white); | background-color: var(--peachy-white); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
box-shadow: 0 4px 12px rgba( | box-shadow: 0 4px 12px rgba(230, 81, 0, 0.15); | ||
} | } | ||
| Line 338: | Line 405: | ||
#personal ul a, | #personal ul a, | ||
#user-tools .dropdown a { | #user-tools .dropdown a { | ||
color: var(--text- | color: var(--text-primary) !important; | ||
background-color: var(--white); | background-color: var(--peachy-white); | ||
font-weight: 400; | |||
} | } | ||
| Line 345: | Line 413: | ||
#personal ul a:hover, | #personal ul a:hover, | ||
#user-tools .dropdown a:hover { | #user-tools .dropdown a:hover { | ||
color: var(-- | color: var(--deep-orange) !important; | ||
background-color: var(--light- | background-color: var(--light-orange-bg); | ||
} | |||
/* ================================================ | |||
Icon Fixes for Dark Header Background | |||
================================================ */ | |||
/* User icon - replace with light-colored version */ | |||
#personal h2 { | |||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="6" r="3" fill="%23FFFAF5"/><path d="M10 10c-3 0-7 2-7 5v2h14v-2c0-3-4-5-7-5z" fill="%23FFFAF5"/></svg>') !important; | |||
} | |||
/* Site tools gear icon - replace with light-colored version */ | |||
#site-tools h2 { | |||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1.5c-.85 0-1.6.55-1.85 1.35l-.35 1.1c-.25.05-.5.15-.75.25l-1-.6c-.75-.45-1.7-.3-2.3.35l-.7.7c-.65.65-.8 1.55-.35 2.3l.6 1c-.1.25-.2.5-.25.75l-1.1.35C1.05 9.4.5 10.15.5 11s.55 1.6 1.35 1.85l1.1.35c.05.25.15.5.25.75l-.6 1c-.45.75-.3 1.7.35 2.3l.7.7c.65.65 1.55.8 2.3.35l1-.6c.25.1.5.2.75.25l.35 1.1c.25.8 1 1.35 1.85 1.35s1.6-.55 1.85-1.35l.35-1.1c.25-.05.5-.15.75-.25l1 .6c.75.45 1.7.3 2.3-.35l.7-.7c.65-.65.8-1.55.35-2.3l-.6-1c.1-.25.2-.5.25-.75l1.1-.35c.8-.25 1.35-1 1.35-1.85s-.55-1.6-1.35-1.85l-1.1-.35c-.05-.25-.15-.5-.25-.75l.6-1c.45-.75.3-1.7-.35-2.3l-.7-.7c-.65-.65-1.55-.8-2.3-.35l-1 .6c-.25-.1-.5-.2-.75-.25l-.35-1.1C11.6 2.05 10.85 1.5 10 1.5zm0 5.5c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3z" fill="%23FFFAF5"/></svg>') !important; | |||
} | |||
/* Site navigation hamburger menu icon - replace with light-colored version */ | |||
#site-navigation h2, | |||
#mw-site-navigation h2 { | |||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 4h16v2H2zm0 5h16v2H2zm0 5h16v2H2z" fill="%23FFFAF5"/></svg>') !important; | |||
} | |||
/* User tools icons in header - make light colored */ | |||
#user-tools .mw-ui-icon, | |||
#user-tools .mw-ui-icon:before, | |||
#user-tools .mw-ui-icon:after, | |||
#personal .mw-ui-icon { | |||
color: var(--peachy-white) !important; | |||
fill: var(--peachy-white) !important; | |||
opacity: 0.9; | |||
} | |||
#user-tools .mw-ui-icon:hover, | |||
#personal .mw-ui-icon:hover { | |||
color: var(--highlight-yellow) !important; | |||
fill: var(--highlight-yellow) !important; | |||
opacity: 1; | |||
} | } | ||
Latest revision as of 12:04, 17 January 2026
/* ================================================
Calm Orange Theme for Timeless Skin
MediaWiki:Common.css
Perfect for: Warm, inviting documentation sites
================================================ */
:root {
/* Calm Orange color palette */
--deep-orange: #e65100; /* Primary - deep orange */
--orange: #ff9800; /* Secondary - bright orange */
--light-orange-bg: #fff3e0; /* Background - warm light orange */
--peachy-white: #fffaf5; /* Content background - peachy white */
--light-orange: #ffe0b2; /* Accent - light orange */
--text-primary: #222222; /* Main text - dark gray */
/* Extended palette for UI elements */
--darker-orange: #f57c00; /* Darker orange for hover */
--very-dark-orange: #bf360c; /* Very dark orange */
--lighter-orange: #ffb74d; /* Lighter orange for buttons */
--highlight-yellow: #ffd54f; /* Yellow-orange for highlights */
--border-light: #ffe0b2; /* Subtle borders */
--bg-white: #ffffff; /* Pure white for content */
--text-secondary: #4a4a4a; /* Secondary text */
}
/* Main page background */
body {
background-color: var(--light-orange-bg);
color: var(--text-primary);
}
/* Header/top navigation - warm orange */
#mw-header-container {
background-color: var(--deep-orange);
border-bottom: 2px solid var(--orange);
}
#mw-header-nav-hack {
background-color: var(--deep-orange);
}
/* Site logo area */
#p-logo a {
background-color: transparent;
}
/* Navigation links in header */
#mw-header-nav-hack a,
#user-tools a {
color: var(--peachy-white);
font-weight: 500;
}
#mw-header-nav-hack a:hover,
#user-tools a:hover {
color: var(--highlight-yellow);
}
/* Sidebar - warm style */
#mw-site-navigation,
#mw-related-navigation {
background-color: var(--light-orange-bg);
border-right: 1px solid var(--border-light);
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
background-color: transparent;
}
#mw-site-navigation h3,
#mw-related-navigation h3 {
background-color: var(--deep-orange);
color: white;
border-bottom: 2px solid var(--orange);
font-weight: 600;
text-transform: uppercase;
font-size: 0.875rem;
letter-spacing: 0.5px;
}
/* Sidebar links */
#mw-site-navigation a,
#mw-related-navigation a {
color: var(--text-secondary);
font-weight: 400;
}
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
color: var(--deep-orange);
background-color: rgba(255, 224, 178, 0.3);
}
/* Main content area - clean white pages */
#mw-content-container {
background-color: var(--peachy-white);
border: 1px solid var(--border-light);
box-shadow: 0 2px 8px rgba(230, 81, 0, 0.08);
}
#mw-content {
background-color: var(--peachy-white);
color: var(--text-primary);
}
/* Page title - warm heading */
#firstHeading {
color: var(--deep-orange);
border-bottom: 3px solid var(--orange);
font-weight: 600;
padding-bottom: 12px;
}
/* Content headings - hierarchical typography */
.mw-body h1 {
color: var(--deep-orange);
font-weight: 600;
}
.mw-body h2 {
color: var(--deep-orange);
font-weight: 600;
border-bottom: 2px solid var(--orange);
padding-bottom: 8px;
margin-top: 32px;
}
.mw-body h3 {
color: var(--darker-orange);
font-weight: 600;
margin-top: 24px;
}
.mw-body h4 {
color: var(--text-secondary);
font-weight: 600;
}
/* Body text - optimal readability */
.mw-body,
.mw-body p {
color: var(--text-primary);
line-height: 1.7;
font-size: 1rem;
}
/* Links - warm style */
.mw-body a:not(.new) {
color: var(--darker-orange);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color 0.2s ease;
}
.mw-body a:not(.new):hover {
color: var(--deep-orange);
border-bottom-color: var(--orange);
}
.mw-body a:not(.new):visited {
color: var(--very-dark-orange);
}
/* Red links (non-existent pages) */
.mw-body a.new {
color: #c62828;
}
/* Tabs (page actions) */
#p-namespaces ul li,
#p-views ul li {
background-color: var(--light-orange-bg);
border: 1px solid var(--border-light);
}
#p-namespaces ul li.selected,
#p-views ul li.selected {
background-color: var(--peachy-white);
border-bottom-color: var(--peachy-white);
border-top: 2px solid var(--orange);
}
#p-namespaces a,
#p-views a {
color: var(--text-secondary);
font-weight: 500;
font-size: 0.875rem;
}
#p-namespaces ul li.selected a,
#p-views ul li.selected a {
color: var(--deep-orange);
}
/* Buttons - warm actions */
.mw-ui-button,
.oo-ui-buttonElement-button {
background-color: var(--orange);
color: white;
border: none;
font-weight: 500;
padding: 10px 20px;
transition: background-color 0.2s ease;
}
.mw-ui-button:hover,
.oo-ui-buttonElement-button:hover {
background-color: var(--darker-orange);
}
/* Info boxes - warm notes */
.infobox {
background-color: var(--light-orange-bg);
border: 1px solid var(--light-orange);
border-left: 4px solid var(--orange);
box-shadow: 0 1px 3px rgba(230, 81, 0, 0.1);
}
/* Table styling - warm data presentation */
table.wikitable {
background-color: var(--peachy-white);
border: 1px solid var(--border-light);
color: var(--text-primary);
}
table.wikitable th {
background-color: var(--deep-orange);
color: white;
border: 1px solid var(--orange);
font-weight: 600;
text-transform: uppercase;
font-size: 0.875rem;
letter-spacing: 0.5px;
padding: 12px 16px;
}
table.wikitable td {
border: 1px solid var(--border-light);
padding: 10px 16px;
}
table.wikitable tr:nth-child(even) {
background-color: var(--light-orange-bg);
}
table.wikitable tr:hover {
background-color: rgba(255, 224, 178, 0.2);
}
/* Code blocks - technical documentation */
pre, code {
background-color: var(--light-orange-bg);
border: 1px solid var(--border-light);
border-left: 3px solid var(--orange);
color: var(--text-primary);
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 0.9rem;
}
pre {
padding: 16px;
overflow-x: auto;
}
code {
padding: 2px 6px;
}
/* Footer - warm style */
#footer,
#mw-footer,
#mw-footer-container {
background-color: var(--light-orange-bg);
border-top: 2px solid var(--orange);
color: var(--text-primary) !important;
font-size: 0.875rem;
}
/* Footer text - dark for better contrast */
#footer-info,
#footer-places,
#footer-list,
#mw-footer ul,
#mw-footer li {
color: var(--text-primary) !important;
}
/* Footer links */
#footer a,
#mw-footer a,
#footer-places a,
#footer-info a {
color: var(--text-primary) !important;
font-weight: 500;
}
#footer a:hover,
#mw-footer a:hover {
color: var(--deep-orange) !important;
}
/* Search box */
#searchInput {
border: 1px solid var(--border-light);
background-color: var(--peachy-white);
color: var(--text-primary);
padding: 8px 12px;
}
#searchInput:focus {
border-color: var(--orange);
box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.1);
outline: none;
}
#searchInput::placeholder {
color: var(--text-secondary);
}
/* Blockquotes - citations and references */
blockquote {
border-left: 4px solid var(--orange);
background-color: var(--light-orange-bg);
padding: 16px 20px;
margin: 20px 0;
color: var(--text-secondary);
font-style: italic;
}
/* Lists - structured documentation */
.mw-body ul,
.mw-body ol {
line-height: 1.8;
color: var(--text-primary);
}
/* Categories and metadata */
#catlinks {
background-color: var(--light-orange-bg);
border: 1px solid var(--border-light);
color: var(--text-secondary);
}
/* Edit forms and inputs */
textarea,
input[type="text"],
input[type="search"] {
background-color: var(--peachy-white);
color: var(--text-primary);
border: 1px solid var(--border-light);
}
textarea:focus,
input[type="text"]:focus,
input[type="search"]:focus {
border-color: var(--orange);
box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.1);
}
/* ================================================
Additional fixes for header text visibility
================================================ */
/* Wiki name/site title in top left */
#p-logo a,
#p-logo-text a,
.mw-wiki-title,
#sitelogo-text {
color: var(--peachy-white) !important;
font-weight: 600 !important;
text-transform: uppercase;
letter-spacing: 1px;
}
#p-logo a:hover,
#p-logo-text a:hover {
color: var(--highlight-yellow) !important;
}
/* Username in top right corner */
#user-tools .mw-ui-icon + span,
#user-tools #pt-userpage a,
#personal h2,
#personal .mw-portlet-heading {
color: var(--peachy-white) !important;
font-weight: 500 !important;
}
#user-tools #pt-userpage a:hover {
color: var(--highlight-yellow) !important;
}
/* Dropdown menu from username */
#personal .mw-portlet-body,
#personal ul,
#user-tools .dropdown,
#personal .vector-menu-content {
background-color: var(--peachy-white);
border: 1px solid var(--border-light);
box-shadow: 0 4px 12px rgba(230, 81, 0, 0.15);
}
#personal .mw-portlet-body a,
#personal ul a,
#user-tools .dropdown a {
color: var(--text-primary) !important;
background-color: var(--peachy-white);
font-weight: 400;
}
#personal .mw-portlet-body a:hover,
#personal ul a:hover,
#user-tools .dropdown a:hover {
color: var(--deep-orange) !important;
background-color: var(--light-orange-bg);
}
/* ================================================
Icon Fixes for Dark Header Background
================================================ */
/* User icon - replace with light-colored version */
#personal h2 {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="6" r="3" fill="%23FFFAF5"/><path d="M10 10c-3 0-7 2-7 5v2h14v-2c0-3-4-5-7-5z" fill="%23FFFAF5"/></svg>') !important;
}
/* Site tools gear icon - replace with light-colored version */
#site-tools h2 {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1.5c-.85 0-1.6.55-1.85 1.35l-.35 1.1c-.25.05-.5.15-.75.25l-1-.6c-.75-.45-1.7-.3-2.3.35l-.7.7c-.65.65-.8 1.55-.35 2.3l.6 1c-.1.25-.2.5-.25.75l-1.1.35C1.05 9.4.5 10.15.5 11s.55 1.6 1.35 1.85l1.1.35c.05.25.15.5.25.75l-.6 1c-.45.75-.3 1.7.35 2.3l.7.7c.65.65 1.55.8 2.3.35l1-.6c.25.1.5.2.75.25l.35 1.1c.25.8 1 1.35 1.85 1.35s1.6-.55 1.85-1.35l.35-1.1c.25-.05.5-.15.75-.25l1 .6c.75.45 1.7.3 2.3-.35l.7-.7c.65-.65.8-1.55.35-2.3l-.6-1c.1-.25.2-.5.25-.75l1.1-.35c.8-.25 1.35-1 1.35-1.85s-.55-1.6-1.35-1.85l-1.1-.35c-.05-.25-.15-.5-.25-.75l.6-1c.45-.75.3-1.7-.35-2.3l-.7-.7c-.65-.65-1.55-.8-2.3-.35l-1 .6c-.25-.1-.5-.2-.75-.25l-.35-1.1C11.6 2.05 10.85 1.5 10 1.5zm0 5.5c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3z" fill="%23FFFAF5"/></svg>') !important;
}
/* Site navigation hamburger menu icon - replace with light-colored version */
#site-navigation h2,
#mw-site-navigation h2 {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 4h16v2H2zm0 5h16v2H2zm0 5h16v2H2z" fill="%23FFFAF5"/></svg>') !important;
}
/* User tools icons in header - make light colored */
#user-tools .mw-ui-icon,
#user-tools .mw-ui-icon:before,
#user-tools .mw-ui-icon:after,
#personal .mw-ui-icon {
color: var(--peachy-white) !important;
fill: var(--peachy-white) !important;
opacity: 0.9;
}
#user-tools .mw-ui-icon:hover,
#personal .mw-ui-icon:hover {
color: var(--highlight-yellow) !important;
fill: var(--highlight-yellow) !important;
opacity: 1;
}
