MediaWiki:Common.less
/* =============================================================================
* This is the root Less file that is parsed to produce MediaWiki:Common.css. * * These styles will be applied to all skins (desktop and mobile). * ----------------------------------------------------------------------------- * Less documentation: <http://lesscss.org/features/> * Gadget: <https://meta.weirdgloop.org/w/MediaWiki:Gadget-Less.js> * Core Less JS: <https://meta.weirdgloop.org/w/MediaWiki:Gadget-Less-core.js> * Non-standard mixins: <https://meta.weirdgloop.org/w/MediaWiki:Gadget-LessMixins.less> * Online Less tester: <https://lesscss.org/less-preview/> * ============================================================================= */
// ===== CSS Variables ===== @common: 'MediaWiki:Common.less';
- root {
--body-main: #e2dbc8; --body-light: #d8ccb4; --body-mid: #d0bd97; --body-dark: #b8a282; --body-border: #94866d; --body-background-color: #c0a886;
--button-background: #605443; --button-color: @white; --button-border: #3c352a; --button-dark: #18140c; --button-light: #3a301d;
--sidebar: #cfc08d;
--background-text-color: #444; --background-link-color: #52351e;
--search-box: #efeee6;
--link-color: #936039; --redlink-color: #ba0000; --text-color: @black; --byline-color: @tundora; --subtle-color: @boulder;
--admin-blue: #332e75; --bearcat-green: #13592e; --awb-purple: #933b96;
--rsw-blue: #438ab6; --osrsw-brown: #605443;
// used for gallery & thumbs --thumb-bg: var(--body-light); --thumb-caption-bg: var(--body-mid);
// for sourceeditor - CodeMirror and WikiEditor's that are only available on // desktop are also here to not fragment the vars across many files --sourceeditor-input-background: @white; --sourceeditor-background: var(--body-light); --sourceeditor-background-secondary: var(--body-light); // used on .editOptions --sourceeditor-border: var(--body-mid); --codemirror-gutter-background: var(--body-mid); }