MediaWiki:Mobile.css

From Wittgenstein Nachlass Graphics
Revision as of 15:14, 3 August 2024 by MLavazza (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* All CSS here will be loaded for users of the mobile site */
/* ========= general cleanup ========= */
a.external {
  background-image: none!important;
  padding-right: 0!important;
}

.page-actions-menu {
  display: none;
}

.desktop-only {
  display: none;
}

.toggle-list {
  display: none;
}

.minerva-header .branding-box {
  font-size: 85%;
}

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

.page-Main_Page .page-heading {
  display: none;
}

/* ========= Project:About and Project:Contacts cleanup ========= */

.page-Project_About .page-heading, .page-Project_Contacts .page-heading, .page-Project_Statistics .page-heading {
  display: none;
}


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

/* =========================== custom CSS =========================== */
.img-comfy {
  margin-top: 30px;
  margin-bottom: 30px;
}

.neutral-box {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 2rem 3rem;
  background-color: #f1f1f1;
}

.switch-caption-container {
  display: none;
}

/* ====== Project:About ====== */
.side-by-side-image-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.side-by-side-image-container {
  width: 100%;
}

.image-caption {
  width: 85%;
  margin: 0 auto 30px auto!important;
  font-size: 85%;
  text-align: center;
  font-style: italic;
}