MediaWiki:Common.css: Difference between revisions

From Wittgenstein Nachlass Graphics
No edit summary
No edit summary
Line 54: Line 54:
.columns {
.columns {
   column-count: 3;
   column-count: 3;
}
/* ====== slider ====== */
#slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4c4c4c;
  transition: .4s;
  border-radius: 17px;
}
#slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
.slider-alt {
  background-color: #4c4c4c;
}
.slider-alt:before {
  transform: translateX(13px);
}
}

Revision as of 11:09, 12 May 2024

/* 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;
}

.img-comfy {
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.columns {
  column-count: 3;
}

/* ====== slider ====== */
#slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4c4c4c;
  transition: .4s;
  border-radius: 17px;
}

#slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.slider-alt {
  background-color: #4c4c4c;
}

.slider-alt:before {
  transform: translateX(13px);
}