User:Aaron106/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.
#siteNotice {
    margin:0
}

a {
	color: #0645ad
}
a:visited {
    color: #0b0080;
}

/* Vector 2022: Main menu sidebar is far too wide, with wasted white space to its right (next four items). No bug submitted. This may be fixed by https://phabricator.wikimedia.org/T321860 (WMF devs keep breaking these hacks with changes to CSS; below is currently not optimal and does not show the blue border) */
.vector-feature-page-tools-enabled .vector-main-menu {
    width: 164px;
}

.vector-main-menu-container {
    width: 134px;
}

#mw-navigation {
  width: 134px;
}

#vector-main-menu-pinned-container. vector-pinned-container {
  width: 134px;
}

.vector-main-menu-container .vector-sidebar-container-no-toc {
    width: 134px;
}

.vector-feature-page-tools-enabled #vector-main-menu-pinned-container .vector-main-menu {
    padding: 0px 0px;
}

.vector-feature-page-tools-enabled #vector-toc-pinned-container .vector-toc {
    width: 184px;
    border-right: 1px solid #a7d7f9;
}

/* Vector 2022: Fix excessive left padding when TOC is in the sidebar. See https://phabricator.wikimedia.org/T325099 */
.mw-page-container-inner {
    grid-template-columns: 164px minmax(0,1fr);
    background-color: #ffffff;
}