Jump to content

User:Brainulator9/vector-2022.css

From Wikipedia, the free encyclopedia
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.
/* Some modifications for my personal use, in order to make Vector 2022 more comfortable. */

/* Align the sidebar - whether page tools or the table of contents - so that their tops match the article content. */
@media screen and (min-width:1000px){.vector-toc-pinned #vector-toc-pinned-container{padding-top:0}}
@media screen and (min-width:1000px){.vector-feature-page-tools-disabled.vector-toc-pinned #mw-sidebar-checkbox:not(:checked) ~ .mw-table-of-contents-container #vector-toc-pinned-container{margin-top:0}}
.vector-feature-page-tools-disabled .vector-main-menu{padding-bottom:calc(1.5em + 12px)}
.vector-feature-page-tools-disabled .vector-toc{padding-top:0}
.vector-feature-page-tools-disabled .vector-toc .vector-toc-pinnable-header{padding-top:12px}
.mw-table-of-contents-container #vector-toc-pinned-container{margin-top:1.5em}

/* More alignment stuff */
.mw-body{padding-top:0}

/* Undo change from common.css - interwiki link colors */
.mw-body-content a.extiw {color:#3366cc}
.mw-body-content a.extiw:visited {color:#795cb2}
.mw-body-content a.extiw:active {color:#faa700}