MediaWiki:Common.css: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| Line 10: | Line 9: | ||
border-bottom: 6px solid #EA5E22; | border-bottom: 6px solid #EA5E22; | ||
} | } | ||
.sf-welcome { | .sf-welcome { | ||
background: #EA5E22; | background: #EA5E22; | ||
| Line 16: | Line 14: | ||
padding: 10px 20px; | padding: 10px 20px; | ||
} | } | ||
.sf-status { | .sf-status { | ||
background: #00655E; | background: #00655E; | ||
| Line 23: | Line 20: | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
.sf-box { | .sf-box { | ||
background: #F5F5F0; | background: #F5F5F0; | ||
| Line 38: | Line 34: | ||
--color-progressive--active: #A8451A !important; | --color-progressive--active: #A8451A !important; | ||
--color-progressive--focus: #EA5E22 !important; | --color-progressive--focus: #EA5E22 !important; | ||
--color-link: #EA5E22 !important; | --color-link: #EA5E22 !important; | ||
--color-link--hover: #C94E1B !important; | --color-link--hover: #C94E1B !important; | ||
--color-link--active: #A8451A !important; | --color-link--active: #A8451A !important; | ||
--border-color-progressive: #EA5E22 !important; | --border-color-progressive: #EA5E22 !important; | ||
--border-color-progressive--hover: #C94E1B !important; | --border-color-progressive--hover: #C94E1B !important; | ||
--border-color-progressive--active: #A8451A !important; | --border-color-progressive--active: #A8451A !important; | ||
--border-color-progressive--focus: #EA5E22 !important; | --border-color-progressive--focus: #EA5E22 !important; | ||
--background-color-progressive: #EA5E22 !important; | --background-color-progressive: #EA5E22 !important; | ||
--background-color-progressive--hover: #C94E1B !important; | --background-color-progressive--hover: #C94E1B !important; | ||
--background-color-progressive--active: #A8451A !important; | --background-color-progressive--active: #A8451A !important; | ||
--color-icon-progressive: #EA5E22 !important; | --color-icon-progressive: #EA5E22 !important; | ||
--box-shadow-color-progressive--focus: #EA5E22 !important; | --box-shadow-color-progressive--focus: #EA5E22 !important; | ||
--box-shadow-color-progressive-selected: #C94E1B !important; | --box-shadow-color-progressive-selected: #C94E1B !important; | ||
| Line 63: | Line 54: | ||
--color-progressive--active: #C94E1B !important; | --color-progressive--active: #C94E1B !important; | ||
--color-progressive--focus: #FF7A3D !important; | --color-progressive--focus: #FF7A3D !important; | ||
--color-link: #FF7A3D !important; | --color-link: #FF7A3D !important; | ||
--color-link--hover: #EA5E22 !important; | --color-link--hover: #EA5E22 !important; | ||
--color-link--active: #C94E1B !important; | --color-link--active: #C94E1B !important; | ||
--border-color-progressive: #FF7A3D !important; | --border-color-progressive: #FF7A3D !important; | ||
--border-color-progressive--hover: #EA5E22 !important; | --border-color-progressive--hover: #EA5E22 !important; | ||
--border-color-progressive--active: #C94E1B !important; | --border-color-progressive--active: #C94E1B !important; | ||
--border-color-progressive--focus: #FF7A3D !important; | --border-color-progressive--focus: #FF7A3D !important; | ||
--background-color-progressive: #FF7A3D !important; | --background-color-progressive: #FF7A3D !important; | ||
--background-color-progressive--hover: #EA5E22 !important; | --background-color-progressive--hover: #EA5E22 !important; | ||
--background-color-progressive--active: #C94E1B !important; | --background-color-progressive--active: #C94E1B !important; | ||
--color-icon-progressive: #FF7A3D !important; | --color-icon-progressive: #FF7A3D !important; | ||
--box-shadow-color-progressive--focus: #FF7A3D !important; | --box-shadow-color-progressive--focus: #FF7A3D !important; | ||
--box-shadow-color-progressive-selected: #EA5E22 !important; | --box-shadow-color-progressive-selected: #EA5E22 !important; | ||
} | |||
/* ===== Explicit overrides for sidebar & heading links (not variable-driven) ===== */ | |||
html.skin-vector-2022 #mw-panel a, | |||
html.skin-vector-2022 .vector-menu-content a, | |||
html.skin-vector-2022 .mw-portlet a, | |||
html.skin-vector-2022 .firstHeading a, | |||
html.skin-vector-2022 h1 a, html.skin-vector-2022 h2 a, | |||
html.skin-vector-2022 h3 a, html.skin-vector-2022 h4 a { | |||
color: #EA5E22 !important; | |||
} | |||
html.skin-vector-2022.skin-theme-clientpref-night #mw-panel a, | |||
html.skin-vector-2022.skin-theme-clientpref-night .vector-menu-content a, | |||
html.skin-vector-2022.skin-theme-clientpref-night .mw-portlet a, | |||
html.skin-vector-2022.skin-theme-clientpref-night .firstHeading a, | |||
html.skin-vector-2022.skin-theme-clientpref-night h1 a, html.skin-vector-2022.skin-theme-clientpref-night h2 a, | |||
html.skin-vector-2022.skin-theme-clientpref-night h3 a, html.skin-vector-2022.skin-theme-clientpref-night h4 a { | |||
color: #FF7A3D !important; | |||
} | |||
/* Force red links back to red | /* ===== Force red links back to red (overrides all of the above for new/missing pages) ===== */ | ||
html.skin-vector-2022 a.new, | html.skin-vector-2022 a.new, | ||
html.skin-vector-2022 .new a { | html.skin-vector-2022 .new a { | ||
color: #d33 !important; | |||
} | |||
html.skin-vector-2022.skin-theme-clientpref-night a.new, | |||
html.skin-vector-2022.skin-theme-clientpref-night .new a { | |||
color: #fd7865 !important; | color: #fd7865 !important; | ||
} | } | ||
[[Category:Site Configuration]] | [[Category:Site Configuration]] | ||
Revision as of 22:04, 27 August 2026
/* CSS placed here will be applied to all skins */
/* ===== Main Page custom sections ===== */
.sf-header {
background: #232323;
color: #D0CDBC;
padding: 20px;
text-align: center;
border-bottom: 6px solid #EA5E22;
}
.sf-welcome {
background: #EA5E22;
color: #232323;
padding: 10px 20px;
}
.sf-status {
background: #00655E;
color: #D0CDBC;
padding: 10px 20px;
margin-top: 10px;
}
.sf-box {
background: #F5F5F0;
color: #232323;
border: 1px solid #D0CDBC;
padding: 10px;
vertical-align: top;
}
/* ===== Site-wide accent colour (links, tabs, buttons) ===== */
html.skin-vector-2022 {
--color-progressive: #EA5E22 !important;
--color-progressive--hover: #C94E1B !important;
--color-progressive--active: #A8451A !important;
--color-progressive--focus: #EA5E22 !important;
--color-link: #EA5E22 !important;
--color-link--hover: #C94E1B !important;
--color-link--active: #A8451A !important;
--border-color-progressive: #EA5E22 !important;
--border-color-progressive--hover: #C94E1B !important;
--border-color-progressive--active: #A8451A !important;
--border-color-progressive--focus: #EA5E22 !important;
--background-color-progressive: #EA5E22 !important;
--background-color-progressive--hover: #C94E1B !important;
--background-color-progressive--active: #A8451A !important;
--color-icon-progressive: #EA5E22 !important;
--box-shadow-color-progressive--focus: #EA5E22 !important;
--box-shadow-color-progressive-selected: #C94E1B !important;
}
html.skin-vector-2022.skin-theme-clientpref-night {
--color-progressive: #FF7A3D !important;
--color-progressive--hover: #EA5E22 !important;
--color-progressive--active: #C94E1B !important;
--color-progressive--focus: #FF7A3D !important;
--color-link: #FF7A3D !important;
--color-link--hover: #EA5E22 !important;
--color-link--active: #C94E1B !important;
--border-color-progressive: #FF7A3D !important;
--border-color-progressive--hover: #EA5E22 !important;
--border-color-progressive--active: #C94E1B !important;
--border-color-progressive--focus: #FF7A3D !important;
--background-color-progressive: #FF7A3D !important;
--background-color-progressive--hover: #EA5E22 !important;
--background-color-progressive--active: #C94E1B !important;
--color-icon-progressive: #FF7A3D !important;
--box-shadow-color-progressive--focus: #FF7A3D !important;
--box-shadow-color-progressive-selected: #EA5E22 !important;
}
/* ===== Explicit overrides for sidebar & heading links (not variable-driven) ===== */
html.skin-vector-2022 #mw-panel a,
html.skin-vector-2022 .vector-menu-content a,
html.skin-vector-2022 .mw-portlet a,
html.skin-vector-2022 .firstHeading a,
html.skin-vector-2022 h1 a, html.skin-vector-2022 h2 a,
html.skin-vector-2022 h3 a, html.skin-vector-2022 h4 a {
color: #EA5E22 !important;
}
html.skin-vector-2022.skin-theme-clientpref-night #mw-panel a,
html.skin-vector-2022.skin-theme-clientpref-night .vector-menu-content a,
html.skin-vector-2022.skin-theme-clientpref-night .mw-portlet a,
html.skin-vector-2022.skin-theme-clientpref-night .firstHeading a,
html.skin-vector-2022.skin-theme-clientpref-night h1 a, html.skin-vector-2022.skin-theme-clientpref-night h2 a,
html.skin-vector-2022.skin-theme-clientpref-night h3 a, html.skin-vector-2022.skin-theme-clientpref-night h4 a {
color: #FF7A3D !important;
}
/* ===== Force red links back to red (overrides all of the above for new/missing pages) ===== */
html.skin-vector-2022 a.new,
html.skin-vector-2022 .new a {
color: #d33 !important;
}
html.skin-vector-2022.skin-theme-clientpref-night a.new,
html.skin-vector-2022.skin-theme-clientpref-night .new a {
color: #fd7865 !important;
}
[[Category:Site Configuration]]