MediaWiki:Vector.css

From Foundation - Wiki
Revision as of 16:19, 22 December 2021 by Sakaratte (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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */

:root {
	--header: #ed9a47;
	--secondary-header: #fca349;
	--label-color: #ffd28f;
	--line-color: #03611c;
}

.wikitable > * > tr > th {
    background: var(--header);
}

.infobox-title {
	background: var(--header);
}

.infobox-header {
	background: var(--secondary-header);
}

.header-box {
	background: var(--header);
	box-shadow: 2px 2px var(--line-color);
}

.mainpage-buttons ul li {
	background: var(--header);
	box-shadow: 2px 2px var(--line-color);
}

.infobox {
	box-shadow: 2px 2px var(--line-color);
	border: 1px solid var(--line-color);
}

.infobox-label {
	background: var(--label-color);
}

.wikitable {
	border:none;
}

.wikitable > tr, .wikitable > * > tr {
	border: none;
    border-bottom: 1px solid var(--line-color);
}

.wikitable > tr > th, 
.wikitable > tr > td, 
.wikitable > * > tr > th,
.wikitable > * > tr > td {
	border: none;
}

.wikitable > tr > td,
.wikitable > * > tr:nth-child(odd) > td {
	background: var(--label-color);
}