MediaWiki:Common.css

Revision as of 12:51, 26 April 2024 by MLavazza (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* =========================== interface cleanup =========================== */
/* ========= general cleanup ========= */

a[title="Change your settings to go back to the old look of the skin (legacy Vector)"] { display: none; }

.mw-article-toolbar-container, .mw-editsection { display: none; }

/* ========= main page cleanup ========= */

.page-Main_Page .mw-body-header {
  display: none;
}

/* ========= mediaviewer cleanup ========= */

.mw-mmv-overlay {
  background-color: #f0f0f0;
  background-image: linear-gradient(135deg, #f1f1f1, silver);
}

.mw-mmv-source-author {
  display: none;
}

/* ========= file page cleanup ========= */

#filetoc, .mw-filepage-resolutioninfo, .mw-mmv-filepage-buttons { display: none; }

.filehistory, {
  width: 100%;
}

#metadata, .mw-imagepage-section-metadata {
  display: none;
}

/* =========================== custom CSS =========================== */
.mobile-only {
  display: none;
}

/* ========= template:Graphic ========= */
.neutral-box {
  margin-top: 2rem;
  padding: 2rem 3rem;
  background-color: #f1f1f1;
}

.columns {
  column-count: 3;
}