MediaWiki:Common.css

From Delve Wiki
Revision as of 11:56, 6 March 2025 by Vainiven (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.

// ===== 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);
}