User:Nthep/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 is at User:Nthep/vector-2022.js. |
/* 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;
}