MediaWiki:Vector.css

/* CSS placed here will affect users of the Vector skin */

/* css vars can't be passed into embedded svgs, so list bullets must be defined on the backend rather than here */

/* the gradient at the top of the page (the original isn't transparent) */ background:linear-gradient(to bottom, rgba(var(--raw-vector-pagetop),1.0) 0%, rgba(var(--raw-vector-pagetop),1.0) 50%, rgba(var(--raw-vector-pagetop),0.0) 100%); }
 * 1) mw-page-base {

/* tabs */ /* Vector uses images with fake borders: remove them */ .vector-menu-tabs-legacy, .vector-menu-tabs-legacy li, .vector-menu-tabs-legacy span { background:none; } /* unselected/default tabs */ /* background can't go all the way down because it'll cover the page border */ .vector-menu-tabs-legacy ul li { background:linear-gradient(to bottom, rgba(var(--raw-root-bg),0.0) 0%, rgba(var(--raw-root-bg),1.0) 50%, rgba(var(--raw-root-bg),1.0) 75%, rgba(var(--raw-root-bg),0.0) 100%); border-left:1px solid transparent; border-right:1px solid transparent; border-image:linear-gradient(to bottom, rgba(var(--raw-page-border),0.0) 0%, rgba(var(--raw-page-border),1.0) 50%, rgba(var(--raw-page-border),1.0) 100%); border-image-slice:1.0; margin-left:-1px; } /* selected/hovered tabs */ .vector-menu-tabs-legacy .selected, .vector-menu-tabs-legacy ul li:hover { background:linear-gradient(to bottom, rgba(var(--raw-page-bg),0.0) 0%, rgba(var(--raw-page-bg),1.0) 50%, rgba(var(--raw-page-bg),1.0) 100%); } .vector-menu-tabs-legacy .selected a:link, .vector-menu-tabs-legacy .selected a:visited { color:var(--rgb-text); } /* for some reason there's an uncovered pixel column that reveals this */ .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { background:none; } /* "More" menu */ .vector-menu-dropdown { background:linear-gradient(to bottom, rgba(var(--raw-root-bg),0.0) 0%, rgba(var(--raw-root-bg),1.0) 50%, rgba(var(--raw-root-bg),1.0) 75%, rgba(var(--raw-root-bg),0.0) 100%); border-left:1px solid transparent; border-right:1px solid transparent; border-image:linear-gradient(to bottom, rgba(var(--raw-page-border),0.0) 0%, rgba(var(--raw-page-border),1.0) 50%, rgba(var(--raw-page-border),1.0) 100%); border-image-slice:1.0; margin-left:-1px; } .vectorMenu h3 span { color:var(--rgb-text); } .vector-menu-dropdown .vector-menu-content { background:rgb(var(--raw-page-bg)); border:1px solid rgb(var(--raw-page-border)); margin-top:-1px; }

/* search */ background:var(--rgb-input-bg); border:1px solid var(--rgb-page-border); color:var(--rgb-text); } .suggestions-toggle-button { position:absolute;right:24px;top:4px; }
 * 1) searchInput {

/* sidebar */ color:rgb(var(--raw-page-border)); border-bottom:1px solid transparent; border-image:linear-gradient(to right, rgba(var(--raw-page-border),0.0) 0%, rgba(var(--raw-page-border),1.0) 33%, rgba(var(--raw-page-border),1.0) 67%, rgba(var(--raw-page-border),0.0) 100%); border-image-slice:1.0; } /* hide the default fake-fade underline image */ background:none; }
 * 1) mw-panel .portal h3 {
 * 1) mw-panel .portal .body {