MediaWiki:Common.css

From Nomad DB
Revision as of 20:36, 12 April 2020 by Administrator (talk | contribs)

Note: After saving, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
:root {
	--main-bg-color: #2A2A2A;
	--main-text-color: #F0F0F0;
	--link-color: #F1C94F;
	--link-color-visited: #F1C94F;
	--new-link-color: #EF533E;
}

body {
	background-color: var(--main-bg-color);
	color: var(--main-text-color);
}
a {
	color: var(--link-color);
}
a:visited {
	color: var(--link-color-visited);
}

/* --- SIDEBAR --- */
#mw-panel .portal h3 {
	color: var(--main-text-color);
}
#mw-panel .portal .body {
	background: none;
}
#mw-panel .portal .body li a {
	color: var(--link-color);
}
#mw-panel .portal .body li a:visited {
	color: var(--link-color-visited);
}
/* --- END SIDEBAR --- */

/* --- HEADER --- */
#mw-page-base {
	background: none;
}
.vectorTabs, .vectorTabs span, #mw-head .vectorMenu h3 {
	background: none;
}
.vectorTabs .selected {
	background: none;
}
.vectorTabs li {
	background: none;
}
.vectorTabs li a, .vectorTabs .selected a, .vectorTabs .selected a:visited {
	color: var(--link-color);
}
.vectorMenu h3 span {
	color: var(--link-color);
}
.vectorTabs .new a, .vectorTabs .new a:visited {
	color: var(--new-link-color);
}
a.new, #p-personal a.new, a.new:visited, #p-personal a.new:visited {
	color: var(--new-link-color);
}
/* --- END HEADER --- */

/* --- MAIN CONTENT --- */
h1, h2, h3, h4, h5, h6 {
	color: var(--main-text-color);
}
.mw-body {
	background-color: var(--main-bg-color);
	color: var(--main-text-color);
}
.mw-parser-output a.external {
	color: var(--link-color);
}
.mw-parser-output a.external:visited {
	color: var(--link-color-visited);
}
/* --- END MAIN CONTENT --- */