MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
FireDirector (talk | contribs) No edit summary |
FireDirector (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
GLOBAL | RESET GLOBAL BACKGROUND AND TEXT | ||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
body { | body { | ||
background: # | background: #ffffff !important; | ||
color: #000000 !important; | |||
} | } | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
READING AREA (content area) | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
#content, | #content, | ||
#bodyContent, | #bodyContent, | ||
.mw-body { | .mw-body, | ||
.mw-body-content, | |||
#mw-content-text { | |||
background: #ffffff !important; | background: #ffffff !important; | ||
color: #000000 !important; | color: #000000 !important; | ||
| Line 18: | Line 21: | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
SIDEBAR (LEFT PANEL) | SIDEBAR (LEFT PANEL) | ||
Restore default Vector colors | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
#mw-panel { | #mw-panel { | ||
background: # | background: #f8f9fa !important; /* light gray */ | ||
color: # | color: #000000 !important; | ||
} | } | ||
#mw-panel a { | #mw-panel a { | ||
color: # | color: #0645ad !important; /* default link blue */ | ||
} | } | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
TOP BAR / HEADER | TOP BAR / HEADER | ||
Restore default Vector header | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
#mw-head, | #mw-head, | ||
#mw-head-base { | #mw-head-base { | ||
background: # | background: #ffffff !important; | ||
color: # | color: #000000 !important; | ||
} | } | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
SEARCH BOX | SEARCH BOX | ||
Restore default styling | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
#p-search input { | #p-search input { | ||
background: #ffffff !important; | background: #ffffff !important; | ||
color: #000000 !important; | color: #000000 !important; | ||
border: 1px solid # | border: 1px solid #a2a9b1 !important; /* default border */ | ||
} | } | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
TABS (Read / Edit / View history) | TABS (Read / Edit / View history) | ||
Restore default Vector tabs | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
#p-views ul li a { | #p-views ul li a { | ||
background: # | background: #ffffff !important; | ||
color: # | color: #0645ad !important; | ||
border: 1px solid # | border: 1px solid #a2a9b1 !important; | ||
} | } | ||
#p-views ul li.selected a { | #p-views ul li.selected a { | ||
background: # | background: #ffffff !important; | ||
color: # | color: #000000 !important; | ||
} | } | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
FOOTER | FOOTER | ||
Restore default Vector footer | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
#footer { | #footer { | ||
background: # | background: #ffffff !important; | ||
color: # | color: #000000 !important; | ||
} | } | ||
#footer a { | #footer a { | ||
color: # | color: #0645ad !important; | ||
} | } | ||
/* --------------------------------------------------------- | /* --------------------------------------------------------- | ||
LINKS (reading area) | |||
Restore default link colors | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
#content a, | #content a, | ||
#bodyContent a, | #bodyContent a, | ||
.mw-body a { | .mw-body a, | ||
color: # | .mw-body-content a, | ||
#mw-content-text a { | |||
color: #0645ad !important; /* default blue */ | |||
} | } | ||
#content a:visited, | #content a:visited, | ||
#bodyContent a:visited, | #bodyContent a:visited, | ||
.mw-body a:visited { | .mw-body a:visited, | ||
color: # | .mw-body-content a:visited, | ||
#mw-content-text a:visited { | |||
color: #0b0080 !important; /* default visited purple */ | |||
} | } | ||
#content a:active, | #content a:active, | ||
#bodyContent a:active, | #bodyContent a:active, | ||
.mw-body a:active { | .mw-body a:active, | ||
color: # | .mw-body-content a:active, | ||
#mw-content-text a:active { | |||
color: #faa700 !important; /* default active orange */ | |||
} | } | ||
Latest revision as of 17:16, 18 August 2026
/* ---------------------------------------------------------
RESET GLOBAL BACKGROUND AND TEXT
--------------------------------------------------------- */
body {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
READING AREA (content area)
--------------------------------------------------------- */
#content,
#bodyContent,
.mw-body,
.mw-body-content,
#mw-content-text {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
SIDEBAR (LEFT PANEL)
Restore default Vector colors
--------------------------------------------------------- */
#mw-panel {
background: #f8f9fa !important; /* light gray */
color: #000000 !important;
}
#mw-panel a {
color: #0645ad !important; /* default link blue */
}
/* ---------------------------------------------------------
TOP BAR / HEADER
Restore default Vector header
--------------------------------------------------------- */
#mw-head,
#mw-head-base {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
SEARCH BOX
Restore default styling
--------------------------------------------------------- */
#p-search input {
background: #ffffff !important;
color: #000000 !important;
border: 1px solid #a2a9b1 !important; /* default border */
}
/* ---------------------------------------------------------
TABS (Read / Edit / View history)
Restore default Vector tabs
--------------------------------------------------------- */
#p-views ul li a {
background: #ffffff !important;
color: #0645ad !important;
border: 1px solid #a2a9b1 !important;
}
#p-views ul li.selected a {
background: #ffffff !important;
color: #000000 !important;
}
/* ---------------------------------------------------------
FOOTER
Restore default Vector footer
--------------------------------------------------------- */
#footer {
background: #ffffff !important;
color: #000000 !important;
}
#footer a {
color: #0645ad !important;
}
/* ---------------------------------------------------------
LINKS (reading area)
Restore default link colors
--------------------------------------------------------- */
#content a,
#bodyContent a,
.mw-body a,
.mw-body-content a,
#mw-content-text a {
color: #0645ad !important; /* default blue */
}
#content a:visited,
#bodyContent a:visited,
.mw-body a:visited,
.mw-body-content a:visited,
#mw-content-text a:visited {
color: #0b0080 !important; /* default visited purple */
}
#content a:active,
#bodyContent a:active,
.mw-body a:active,
.mw-body-content a:active,
#mw-content-text a:active {
color: #faa700 !important; /* default active orange */
}