MediaWiki:Vector.css

From EiffelStudio: an EiffelSoftware project
Revision as of 21:18, 21 October 2026 by Maintenance script (talk | contribs) (Eiffel look: legacy Vector default skin (left sidebar), fix Vector 2022 dropdown clipping)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
/* dev.eiffel.com - Eiffel Software look for legacy Vector (default skin; palette from the 2013 eiffelsoftware_origo skin) */

/* Navy band behind the logo and tabs, gold rule under it */
#mw-head-base,
#mw-page-base {
	background: #173A7B;
	background-image: linear-gradient( 180deg, #173A7B 0%, #2153B0 100% );
	height: 5em;
}
#mw-page-base {
	border-bottom: 3px solid #fabd23;
}
#mw-head-base {
	margin-left: -11em;
	padding-left: 11em;
}

/* Logo sits on the navy band */
#p-logo a {
	background-size: auto;
	background-position: center 12px;
}

/* User links and tabs readable on the navy band */
#p-personal a,
#p-personal .vector-menu-content-list li,
#pt-anonuserpage,
#pt-tmpuserpage {
	color: #fff;
}
#p-personal a:hover {
	color: #fabd23;
}
.vector-menu-tabs .mw-list-item,
.vector-menu-tabs .mw-list-item.selected {
	background-image: none;
}
.vector-menu-tabs .mw-list-item a,
#p-cactions .vector-menu-heading {
	background-color: #F2F6FF;
	background-image: none;
	border-left: 1px solid #CBDDFF;
}
.vector-menu-tabs .mw-list-item.selected a,
.vector-menu-tabs .mw-list-item.selected a:visited {
	background-color: #fff;
	color: #173A7B;
	box-shadow: inset 0 -2px 0 #fabd23;
}
#p-search {
	margin-right: 0.5em;
}

/* Left sidebar */
#mw-panel {
	background: #F2F6FF;
	border-right: 1px solid #CBDDFF;
	min-height: 100%;
}
#mw-panel .vector-menu-portal .vector-menu-heading {
	color: #173A7B;
	font-weight: bold;
	background-image: linear-gradient( to right, #CBDDFF 0, #F2F6FF 100% );
	padding: 0.2em 0.5em;
}
#mw-panel .vector-menu-portal .vector-menu-content li a {
	color: #2153B0;
}
#mw-panel .vector-menu-portal .vector-menu-content li a:hover {
	color: #173A7B;
}

/* Content area */
#content {
	border-color: #CBDDFF;
}
#content a:not( .new ):not( .external ) {
	color: #2153B0;
}
#content a:not( .new ):hover {
	color: #173A7B;
}
#content h1, #content h2, #content h3, #firstHeading {
	color: #173A7B;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif;
}
#content h1, #content h2 {
	border-bottom-color: #CBDDFF;
}

/* Footer */
#footer {
	border-top: 3px solid #CBDDFF;
}