Jump to content

User:Nthep/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.
/* TOOLBAR & STICKY TOOLBAR */
/* hide add language button in sticky toolbar */
.mw-interlanguage-selector {
	display:none;
}

/* hide my contributions from drop down list */
.mw-ui-icon-userContributions 	{
	display:none;
}

/* hide user talk icon from vector-menu */
.mw-ui-icon-wikimedia-userTalk 	{
	display:none;
}

/* sticky toolbar font size */
.vector-sticky-header-icons {
	font-size:0.875em;
}

/* hide appearance menu from vector-menu */
.vector-appearance-landmark {
    display:none;
}

/* TOOLS & GENERAL TOOLBAR (right hand side) */
/* hide atom feed link in tools sidebar */
#feed-atom { 
	display: none; 
}

/* hide Open Page Curation link in tools sidebar */
#t-opencurationtoolbar > [href="#"] {
	display: none;
}

/* MAIN MENU (left hand side) */
/* hide language box from left hand menus */
.vector-main-menu-action.vector-main-menu-action-lang-alert {
	display: none;
}

/* READING SPACE */
/* set font size and line spacing for body text */
.vector-body {
  font-size: calc(1em * 0.825);
  line-height: 1.5;
}

/* WATCHLIST & CONTRIBS */
/* hide thanks link */
a.mw-thanks-thank-link { /* Hide thank button in watchlist, RC, page history. Overqualify for hiding in mobile as well */
    display:none;
}
span:has(.mw-thanks-thank-link)::before { /* Hide open bracket, slash before hidden thank button */
	content: normal !important;
}
span:has(.mw-thanks-thank-link)::after { /* Hide open bracket, slash after hidden thank button */
	content: normal !important;
}
.mw-diff-tool { /* Remove empty brackets around hidden thank button in diff window */
    display:none;
}
.mw-ui-button.mw-ui-progressive.mw-mf-action-button { /* Hide thank button in mobile diff */
    display:none;
}