MediaWiki:Common.css: Difference between revisions
From Labproto
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
body.page-Forside h1.firstHeading { display:none; } | body.page-Forside h1.firstHeading { display:none; } | ||
/* ================================================ | /* ================================================ | ||
FORSKNING Research Theme for Timeless Skin | |||
MediaWiki:Common.css | MediaWiki:Common.css | ||
Perfect for: Research Wikis, Scientific Documentation | |||
================================================ */ | ================================================ */ | ||
:root { | :root { | ||
/* Primary | /* FORSKNING Research Color Palette */ | ||
-- | --slate-teal: #2A5E5B; /* Primary - Dark Slate Grey */ | ||
-- | --shadow-grey: #212429; /* Deep dark - Shadow Grey */ | ||
-- | --hunter-green: #2A6349; /* Secondary - Hunter Green */ | ||
-- | --mint-cream: #F2FBF5; /* Background - Mint Cream */ | ||
--pale-sky: #CDDCE0; /* Accent - Pale Sky */ | |||
/* | |||
-- | /* Extended palette for UI elements */ | ||
-- | --slate-teal-light: #3a7e7a; /* Lighter teal for hover */ | ||
-- | --hunter-light: #3a8360; /* Lighter green */ | ||
--border-light: #dfe9eb; /* Subtle borders */ | |||
--bg-white: #ffffff; /* Pure white for content */ | |||
-- | --text-primary: #212429; /* Primary text - shadow grey */ | ||
--text-secondary: #4a5458; /* Secondary text */ | |||
-- | |||
} | } | ||
/* Main page background */ | /* Main page background */ | ||
body { | body { | ||
background-color: var(-- | background-color: var(--mint-cream); | ||
color: var(--text-primary); | |||
} | } | ||
/* Header/top navigation */ | /* Header/top navigation - research teal */ | ||
#mw-header-container { | #mw-header-container { | ||
background-color: var(-- | background-color: var(--slate-teal); | ||
border-bottom: | border-bottom: 2px solid var(--pale-sky); | ||
} | } | ||
#mw-header-nav-hack { | #mw-header-nav-hack { | ||
background-color: var(-- | background-color: var(--slate-teal); | ||
} | } | ||
| Line 49: | Line 50: | ||
#mw-header-nav-hack a, | #mw-header-nav-hack a, | ||
#user-tools a { | #user-tools a { | ||
color: var(-- | color: var(--mint-cream); | ||
font-weight: 500; | |||
} | } | ||
#mw-header-nav-hack a:hover, | #mw-header-nav-hack a:hover, | ||
#user-tools a:hover { | #user-tools a:hover { | ||
color: var(-- | color: var(--pale-sky); | ||
} | } | ||
/* Sidebar */ | /* Sidebar - research catalog style */ | ||
#mw-site-navigation, | #mw-site-navigation, | ||
#mw-related-navigation { | #mw-related-navigation { | ||
background-color: var(-- | background-color: var(--mint-cream); | ||
border-right: 1px solid var(-- | border-right: 1px solid var(--border-light); | ||
} | } | ||
| Line 71: | Line 73: | ||
#mw-site-navigation h3, | #mw-site-navigation h3, | ||
#mw-related-navigation h3 { | #mw-related-navigation h3 { | ||
background-color: var(-- | background-color: var(--slate-teal); | ||
color: white; | color: white; | ||
border-bottom: 2px solid var(-- | border-bottom: 2px solid var(--pale-sky); | ||
font-weight: 600; | |||
text-transform: uppercase; | |||
font-size: 0.875rem; | |||
letter-spacing: 0.5px; | |||
} | } | ||
/* Sidebar links */ | /* Sidebar links - use dark text for WCAG AA compliance */ | ||
#mw-site-navigation a, | #mw-site-navigation a, | ||
#mw-related-navigation a { | #mw-related-navigation a { | ||
color: var(-- | color: var(--text-primary); | ||
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(--hunter-green); | ||
background-color: rgba( | background-color: rgba(42, 99, 73, 0.1); | ||
} | } | ||
/* Main content area */ | /* Main content area - clean white pages */ | ||
#mw-content-container { | #mw-content-container { | ||
background-color: white; | background-color: var(--bg-white); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
box-shadow: 0 2px 8px rgba( | box-shadow: 0 2px 8px rgba(42, 94, 91, 0.08); | ||
} | } | ||
#mw-content { | #mw-content { | ||
background-color: white; | background-color: var(--bg-white); | ||
color: var(--text-primary); | |||
} | } | ||
/* Page title */ | /* Page title - research heading */ | ||
#firstHeading { | #firstHeading { | ||
color: var(-- | color: var(--slate-teal); | ||
border-bottom: 3px solid var(-- | border-bottom: 3px solid var(--pale-sky); | ||
font-weight: 600; | |||
padding-bottom: 12px; | |||
} | |||
/* Content headings - hierarchical typography */ | |||
.mw-body h1 { | |||
color: var(--slate-teal); | |||
font-weight: 600; | |||
} | |||
.mw-body h2 { | |||
color: var(--slate-teal); | |||
font-weight: 600; | |||
border-bottom: 2px solid var(--pale-sky); | |||
padding-bottom: 8px; | |||
margin-top: 32px; | |||
} | |||
.mw-body h3 { | |||
color: var(--hunter-green); | |||
font-weight: 600; | |||
margin-top: 24px; | |||
} | } | ||
.mw-body h4 { | .mw-body h4 { | ||
color: var(-- | color: var(--text-secondary); | ||
font-weight: 600; | |||
} | } | ||
.mw-body | /* Body text - optimal readability */ | ||
.mw-body, | |||
.mw-body p { | |||
color: var(--text-primary); | |||
line-height: 1.7; | |||
font-size: 1rem; | |||
} | } | ||
/* Links */ | /* Links - research style */ | ||
.mw-body a:not(.new) { | .mw-body a:not(.new) { | ||
color: var(-- | color: var(--hunter-green); | ||
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(--slate-teal); | ||
border-bottom-color: var(--pale-sky); | |||
} | } | ||
.mw-body a:not(.new):visited { | .mw-body a:not(.new):visited { | ||
color: | color: var(--slate-teal-light); | ||
} | } | ||
/* Red links (non-existent pages) */ | /* Red links (non-existent pages) */ | ||
.mw-body a.new { | .mw-body a.new { | ||
color: # | color: #9f4444; | ||
} | } | ||
| Line 138: | Line 173: | ||
#p-namespaces ul li, | #p-namespaces ul li, | ||
#p-views ul li { | #p-views ul li { | ||
background-color: var(-- | background-color: var(--mint-cream); | ||
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: white; | background-color: var(--bg-white); | ||
border-bottom-color: white; | border-bottom-color: var(--bg-white); | ||
border-top: 2px solid var(--hunter-green); | |||
} | } | ||
#p-namespaces a, | #p-namespaces a, | ||
#p-views a { | #p-views a { | ||
color: var(-- | 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(--slate-teal); | |||
} | } | ||
/* Buttons */ | /* Buttons - research actions */ | ||
.mw-ui-button, | .mw-ui-button, | ||
.oo-ui-buttonElement-button { | .oo-ui-buttonElement-button { | ||
background-color: var(-- | background-color: var(--hunter-green); | ||
color: white; | color: white; | ||
border: | border: none; | ||
font-weight: 500; | |||
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(--slate-teal); | ||
} | } | ||
/* Info boxes | /* Info boxes - research notes */ | ||
.infobox { | .infobox { | ||
background-color: var(-- | background-color: var(--mint-cream); | ||
border: 1px solid var(-- | border: 1px solid var(--pale-sky); | ||
border-left: 4px solid var(--hunter-green); | |||
box-shadow: 0 1px 3px rgba(42, 94, 91, 0.1); | |||
} | } | ||
/* Table styling */ | /* Table styling - research data presentation */ | ||
table.wikitable { | table.wikitable { | ||
background-color: white; | background-color: var(--bg-white); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
color: var(--text-primary); | |||
} | } | ||
table.wikitable th { | table.wikitable th { | ||
background-color: var(-- | background-color: var(--hunter-green); | ||
color: white; | color: white; | ||
border: 1px solid var(--pale-sky); | |||
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(--mint-cream); | |||
} | } | ||
table.wikitable tr:hover { | table.wikitable tr:hover { | ||
background-color: | background-color: rgba(42, 99, 73, 0.1); | ||
} | } | ||
/* Code blocks */ | /* Code blocks - technical documentation */ | ||
pre, code { | pre, code { | ||
background-color: var(-- | background-color: var(--mint-cream); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
border-left: 3px solid var(--pale-sky); | |||
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 | /* Footer - research archive style */ | ||
color: var(-- | #footer, | ||
#mw-footer, | |||
#mw-footer-container { | |||
background-color: var(--mint-cream); | |||
border-top: 2px solid var(--pale-sky); | |||
color: var(--text-primary) !important; | |||
font-size: 0.875rem; | |||
} | } | ||
#footer a:hover { | /* Footer text - dark for better contrast (WCAG AA) */ | ||
color: var(-- | #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(--hunter-green) !important; | |||
} | } | ||
/* Search box */ | /* Search box */ | ||
#searchInput { | #searchInput { | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
background-color: white; | background-color: var(--bg-white); | ||
color: var(--text-primary); | |||
padding: 8px 12px; | |||
} | } | ||
#searchInput:focus { | #searchInput:focus { | ||
border-color: var(-- | border-color: var(--hunter-green); | ||
box-shadow: 0 0 | box-shadow: 0 0 0 2px rgba(42, 99, 73, 0.1); | ||
outline: none; | |||
} | |||
#searchInput::placeholder { | |||
color: var(--text-secondary); | |||
} | |||
/* Blockquotes - citations and references */ | |||
blockquote { | |||
border-left: 4px solid var(--pale-sky); | |||
background-color: var(--mint-cream); | |||
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(--mint-cream); | |||
border: 1px solid var(--border-light); | |||
color: var(--text-secondary); | |||
} | |||
/* Edit forms and inputs */ | |||
textarea, | |||
input[type="text"], | |||
input[type="search"] { | |||
background-color: var(--bg-white); | |||
color: var(--text-primary); | |||
border: 1px solid var(--border-light); | |||
} | |||
textarea:focus, | |||
input[type="text"]:focus, | |||
input[type="search"]:focus { | |||
border-color: var(--hunter-green); | |||
box-shadow: 0 0 0 2px rgba(42, 99, 73, 0.1); | |||
} | } | ||
| Line 223: | Line 365: | ||
================================================ */ | ================================================ */ | ||
/* Wiki name/site title in top left | /* Wiki name/site title in top left */ | ||
#p-logo a, | #p-logo a, | ||
#p-logo-text a, | #p-logo-text a, | ||
.mw-wiki-title, | .mw-wiki-title, | ||
#sitelogo-text { | #sitelogo-text { | ||
color: var(-- | color: var(--mint-cream) !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(--pale-sky) !important; | ||
} | } | ||
/* Username in top right corner | /* Username in top right corner */ | ||
#user-tools .mw-ui-icon + span, | #user-tools .mw-ui-icon + span, | ||
#user-tools #pt-userpage a, | #user-tools #pt-userpage a, | ||
#personal h2, | #personal h2, | ||
#personal .mw-portlet-heading { | #personal .mw-portlet-heading { | ||
color: var(-- | color: var(--mint-cream) !important; | ||
font-weight: 500 !important; | |||
} | } | ||
#user-tools #pt-userpage a:hover { | #user-tools #pt-userpage a:hover { | ||
color: var(-- | color: var(--pale-sky) !important; | ||
} | } | ||
/* Dropdown menu from username | /* Dropdown menu from username */ | ||
#personal .mw-portlet-body, | #personal .mw-portlet-body, | ||
#personal ul, | #personal ul, | ||
#user-tools .dropdown, | #user-tools .dropdown, | ||
#personal .vector-menu-content { | #personal .vector-menu-content { | ||
background-color: white; | background-color: var(--bg-white); | ||
border: 1px solid var(-- | border: 1px solid var(--border-light); | ||
box-shadow: 0 | box-shadow: 0 4px 12px rgba(42, 94, 91, 0.15); | ||
} | } | ||
| Line 261: | Line 407: | ||
#personal ul a, | #personal ul a, | ||
#user-tools .dropdown a { | #user-tools .dropdown a { | ||
color: var(-- | color: var(--text-primary) !important; | ||
background-color: white; | background-color: var(--bg-white); | ||
font-weight: 400; | |||
} | } | ||
| Line 268: | Line 415: | ||
#personal ul a:hover, | #personal ul a:hover, | ||
#user-tools .dropdown a:hover { | #user-tools .dropdown a:hover { | ||
color: var(-- | color: var(--slate-teal) !important; | ||
background-color: var(-- | background-color: var(--mint-cream); | ||
} | |||
/* ================================================ | |||
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="%23F2FBF5"/><path d="M10 10c-3 0-7 2-7 5v2h14v-2c0-3-4-5-7-5z" fill="%23F2FBF5"/></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="%23F2FBF5"/></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="%23F2FBF5"/></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(--mint-cream) !important; | |||
fill: var(--mint-cream) !important; | |||
opacity: 0.9; | |||
} | |||
#user-tools .mw-ui-icon:hover, | |||
#personal .mw-ui-icon:hover { | |||
color: var(--pale-sky) !important; | |||
fill: var(--pale-sky) !important; | |||
opacity: 1; | |||
} | } | ||
Latest revision as of 08:50, 7 January 2026
body.page-Main_Page h1.firstHeading { display:none; }
body.page-Main_Page h2.firstHeading { display:none !important; }
body.page-Main_Page h2#firstHeading.title { display:none; }
body.page-Forside h1.firstHeading { display:none; }
/* ================================================
FORSKNING Research Theme for Timeless Skin
MediaWiki:Common.css
Perfect for: Research Wikis, Scientific Documentation
================================================ */
:root {
/* FORSKNING Research Color Palette */
--slate-teal: #2A5E5B; /* Primary - Dark Slate Grey */
--shadow-grey: #212429; /* Deep dark - Shadow Grey */
--hunter-green: #2A6349; /* Secondary - Hunter Green */
--mint-cream: #F2FBF5; /* Background - Mint Cream */
--pale-sky: #CDDCE0; /* Accent - Pale Sky */
/* Extended palette for UI elements */
--slate-teal-light: #3a7e7a; /* Lighter teal for hover */
--hunter-light: #3a8360; /* Lighter green */
--border-light: #dfe9eb; /* Subtle borders */
--bg-white: #ffffff; /* Pure white for content */
--text-primary: #212429; /* Primary text - shadow grey */
--text-secondary: #4a5458; /* Secondary text */
}
/* Main page background */
body {
background-color: var(--mint-cream);
color: var(--text-primary);
}
/* Header/top navigation - research teal */
#mw-header-container {
background-color: var(--slate-teal);
border-bottom: 2px solid var(--pale-sky);
}
#mw-header-nav-hack {
background-color: var(--slate-teal);
}
/* Site logo area */
#p-logo a {
background-color: transparent;
}
/* Navigation links in header */
#mw-header-nav-hack a,
#user-tools a {
color: var(--mint-cream);
font-weight: 500;
}
#mw-header-nav-hack a:hover,
#user-tools a:hover {
color: var(--pale-sky);
}
/* Sidebar - research catalog style */
#mw-site-navigation,
#mw-related-navigation {
background-color: var(--mint-cream);
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(--slate-teal);
color: white;
border-bottom: 2px solid var(--pale-sky);
font-weight: 600;
text-transform: uppercase;
font-size: 0.875rem;
letter-spacing: 0.5px;
}
/* Sidebar links - use dark text for WCAG AA compliance */
#mw-site-navigation a,
#mw-related-navigation a {
color: var(--text-primary);
font-weight: 400;
}
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
color: var(--hunter-green);
background-color: rgba(42, 99, 73, 0.1);
}
/* Main content area - clean white pages */
#mw-content-container {
background-color: var(--bg-white);
border: 1px solid var(--border-light);
box-shadow: 0 2px 8px rgba(42, 94, 91, 0.08);
}
#mw-content {
background-color: var(--bg-white);
color: var(--text-primary);
}
/* Page title - research heading */
#firstHeading {
color: var(--slate-teal);
border-bottom: 3px solid var(--pale-sky);
font-weight: 600;
padding-bottom: 12px;
}
/* Content headings - hierarchical typography */
.mw-body h1 {
color: var(--slate-teal);
font-weight: 600;
}
.mw-body h2 {
color: var(--slate-teal);
font-weight: 600;
border-bottom: 2px solid var(--pale-sky);
padding-bottom: 8px;
margin-top: 32px;
}
.mw-body h3 {
color: var(--hunter-green);
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 - research style */
.mw-body a:not(.new) {
color: var(--hunter-green);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color 0.2s ease;
}
.mw-body a:not(.new):hover {
color: var(--slate-teal);
border-bottom-color: var(--pale-sky);
}
.mw-body a:not(.new):visited {
color: var(--slate-teal-light);
}
/* Red links (non-existent pages) */
.mw-body a.new {
color: #9f4444;
}
/* Tabs (page actions) */
#p-namespaces ul li,
#p-views ul li {
background-color: var(--mint-cream);
border: 1px solid var(--border-light);
}
#p-namespaces ul li.selected,
#p-views ul li.selected {
background-color: var(--bg-white);
border-bottom-color: var(--bg-white);
border-top: 2px solid var(--hunter-green);
}
#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(--slate-teal);
}
/* Buttons - research actions */
.mw-ui-button,
.oo-ui-buttonElement-button {
background-color: var(--hunter-green);
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(--slate-teal);
}
/* Info boxes - research notes */
.infobox {
background-color: var(--mint-cream);
border: 1px solid var(--pale-sky);
border-left: 4px solid var(--hunter-green);
box-shadow: 0 1px 3px rgba(42, 94, 91, 0.1);
}
/* Table styling - research data presentation */
table.wikitable {
background-color: var(--bg-white);
border: 1px solid var(--border-light);
color: var(--text-primary);
}
table.wikitable th {
background-color: var(--hunter-green);
color: white;
border: 1px solid var(--pale-sky);
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(--mint-cream);
}
table.wikitable tr:hover {
background-color: rgba(42, 99, 73, 0.1);
}
/* Code blocks - technical documentation */
pre, code {
background-color: var(--mint-cream);
border: 1px solid var(--border-light);
border-left: 3px solid var(--pale-sky);
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 - research archive style */
#footer,
#mw-footer,
#mw-footer-container {
background-color: var(--mint-cream);
border-top: 2px solid var(--pale-sky);
color: var(--text-primary) !important;
font-size: 0.875rem;
}
/* Footer text - dark for better contrast (WCAG AA) */
#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(--hunter-green) !important;
}
/* Search box */
#searchInput {
border: 1px solid var(--border-light);
background-color: var(--bg-white);
color: var(--text-primary);
padding: 8px 12px;
}
#searchInput:focus {
border-color: var(--hunter-green);
box-shadow: 0 0 0 2px rgba(42, 99, 73, 0.1);
outline: none;
}
#searchInput::placeholder {
color: var(--text-secondary);
}
/* Blockquotes - citations and references */
blockquote {
border-left: 4px solid var(--pale-sky);
background-color: var(--mint-cream);
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(--mint-cream);
border: 1px solid var(--border-light);
color: var(--text-secondary);
}
/* Edit forms and inputs */
textarea,
input[type="text"],
input[type="search"] {
background-color: var(--bg-white);
color: var(--text-primary);
border: 1px solid var(--border-light);
}
textarea:focus,
input[type="text"]:focus,
input[type="search"]:focus {
border-color: var(--hunter-green);
box-shadow: 0 0 0 2px rgba(42, 99, 73, 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(--mint-cream) !important;
font-weight: 600 !important;
text-transform: uppercase;
letter-spacing: 1px;
}
#p-logo a:hover,
#p-logo-text a:hover {
color: var(--pale-sky) !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(--mint-cream) !important;
font-weight: 500 !important;
}
#user-tools #pt-userpage a:hover {
color: var(--pale-sky) !important;
}
/* Dropdown menu from username */
#personal .mw-portlet-body,
#personal ul,
#user-tools .dropdown,
#personal .vector-menu-content {
background-color: var(--bg-white);
border: 1px solid var(--border-light);
box-shadow: 0 4px 12px rgba(42, 94, 91, 0.15);
}
#personal .mw-portlet-body a,
#personal ul a,
#user-tools .dropdown a {
color: var(--text-primary) !important;
background-color: var(--bg-white);
font-weight: 400;
}
#personal .mw-portlet-body a:hover,
#personal ul a:hover,
#user-tools .dropdown a:hover {
color: var(--slate-teal) !important;
background-color: var(--mint-cream);
}
/* ================================================
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="%23F2FBF5"/><path d="M10 10c-3 0-7 2-7 5v2h14v-2c0-3-4-5-7-5z" fill="%23F2FBF5"/></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="%23F2FBF5"/></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="%23F2FBF5"/></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(--mint-cream) !important;
fill: var(--mint-cream) !important;
opacity: 0.9;
}
#user-tools .mw-ui-icon:hover,
#personal .mw-ui-icon:hover {
color: var(--pale-sky) !important;
fill: var(--pale-sky) !important;
opacity: 1;
}
