User:Daniel Quinlan/common.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:Daniel Quinlan/common.js. |
/* reduce motion from Twinkle */
nav[aria-label="Views"]:nth-last-child(2) {
padding-right: 3.87em !important;
}
.vector-page-toolbar-container {
min-height: 2.2857142857142856em;
}
#twinkle-config-headerbox {
display: none;
}
/* reduce tools sidebar width */
@media screen and (min-width: 1000px) {
.mw-body {
display: grid;
grid-template: min-content min-content min-content 1fr / minmax(0, 61.25rem) min-content;
grid-template-areas: 'titlebar-cx .' 'titlebar columnEnd' 'toolbar columnEnd' 'content columnEnd';
}
}
.vector-feature-page-tools-pinned-enabled .vector-column-end,
.vector-feature-client-prefs-pinned-enabled .vector-column-end {
width: 13.5em;
}
/* restyle user page link (see common.js) */
.vector-user-links #pt-userpage {
display: list-item;
}
.vector-user-links #pt-userpage-2 span {
display: none;
}
.vector-user-links #pt-userpage-2 a {
background-image: url(/w/load.php?modules=skins.vector.icons&image=userTalk&format=original&lang=en&skin=vector-2022);
background-position: center;
background-repeat: no-repeat;
background-size: calc(max(1.25em, 20px));
display: inline-block;
height: 1.25em;
width: 1.25em;
min-height: 20px;
min-width: 20px;
padding-left: 5px;
padding-right: 5px;
vertical-align: text-bottom;
}
/* hide infrequent controls by default (see common.js) */
.vector-show-controls-button {
background-color: var(--background-color-interactive);
border-radius: 2px;
border: 0;
color: var(--color-base);
cursor: pointer;
display: inline-block;
font-size: 0.75rem;
margin-left: 0.5em;
padding: 4px 8px;
width: 3.5em;
}
.vector-pinnable-header-unpinned .vector-show-controls-button {
display: none;
}
body:not(.show-infrequent-controls) .mw-revdelundel-link,
body:not(.show-infrequent-controls) .vector-menu-content-list li#ca-rollbackeverything,
body:not(.show-infrequent-controls) .vector-menu-content-list li#ca-rollbacksome,
body:not(.show-infrequent-controls) .vector-menu-content-list li#load-article-quality,
body:not(.show-infrequent-controls) .vector-menu-content-list li#load-js-wiki-browser,
body:not(.show-infrequent-controls) .vector-menu-content-list li#load-unreliable-sources,
body:not(.show-infrequent-controls) .vector-menu-content-list li#t-info,
.vector-menu-content-list li#feedlinks,
.vector-menu-content-list li#t-cite,
.vector-menu-content-list li#t-urlshortener,
.vector-menu-content-list li#t-urlshortener-qrcode,
.vector-menu-content-list li#t-wikibase,
.vector-menu-content-list li#p-pagetriage-enqueue,
.vector-menu-content-list li#wbc-editpage,
.vector-menu-content-list li#t-print,
.vector-menu-content-list li#coll-download-as-rl,
#p-coll-print_export,
#p-wikibase-otherprojects {
display: none;
}
/* clock */
.vector-limited-width-toggle {
display: none;
}
#p-dock-bottom .utc-clock {
background-color: var(--background-color-base);
border: solid 1px var(--border-color-muted);
padding: 3px;
}
/* deleted history items */
span.history-deleted {
color: #55595e;
}
/* hide appearance dropdown */
#vector-appearance-dropdown {
display: none;
}