User:Brainulator9/vector-2022.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .js page for this skin can be added at User:Brainulator9/vector-2022.js. |
/* 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}