Jump to content

User:MarioGom/common.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.
/* 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;
}