MediaWiki:Vector.css
![]() | This is the CSS for the vector skin only. Any major changes to this page should first be proposed on its talk page or the Village pump.
Please note that changes are visible within minutes. Errors you make here can disrupt the entire encyclopedia, so make sure you know what you are doing. Always check with the W3C CSS Validation Service before and after any changes. Testing can be done on your personal skin.css. In Mozilla Firefox and Opera, you can also test style changes dynamically with the test styles bookmarklet from squarefree.com. It pops up a window for adding style rules, and updates the page as you type. If you add or modify anything here, please update the catalogue of CSS classes. |
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page #contentSub2 {
display: none !important;
}
body.skin-vector-legacy #coordinates {
position: absolute;
top: 3.5em;
right: 0;
line-height: 1.6;
text-align: right;
font-size: 92%;
white-space: nowrap;
float: right;
margin: 0;
padding: 0;
text-indent: 0;
text-transform: none;
}
/* correct position for VE */
body.skin-vector-legacy .ve-ce-surface #coordinates {
margin-right: 2em;
margin-top: -1em;
}
/* FR topicon position */
body.skin-vector-legacy div.flaggedrevs_short {
position: absolute;
top: -3em;
right: 100px;
z-index: 1;
}
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
body.skin-vector-legacy #siteSub {
font-size: 92%;
}
/* Move page status indicators down slightly */
body.skin-vector-legacy .mw-indicators {
padding-top: 0.4em;
}
/* Override [[phab:T265947]] */
.mw-body-content blockquote {
border-left: none;
}