User:MarioGom/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:MarioGom/common.js. |
/* TESTING:
.history-user .mw-userlink {
display: inline-block;
width: 300px;
}
*/
/* remove changelist separator (..) */
.mw-changeslist-separator:empty::before {
content: '';
}
/* remove parenthesis around sizes in history */
.mw-diff-bytes::before {
content: '';
}
.mw-diff-bytes::after {
content: '';
}
.mw-header {
margin: 0;
}
.vector-toc-enabled .sidebar-toc {
margin: 0;
}
/* Hide the main menu. */
#vector-main-menu-pinned-container {
display: none;
}
/* Hide the alert about language selector being at the top. */
.vector-main-menu-action-lang-alert {
display: none;
}
.sidebar-toc {
/* use all vertical space, 100% viewport minus header height */
max-height: calc(100vh - 91px);
padding: 0;
/* make room for the collapse arrows */
padding-left: 1em;
/* avoid horizontal scroll */
word-wrap: break-word;
}