MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 49: Line 49:
.mw-mmv-image-links, .mw-mmv-download-button, .mw-mmv-reuse-button, .mw-mmv-download-pane, .mw-mmv-dialog-down-arrow {
.mw-mmv-image-links, .mw-mmv-download-button, .mw-mmv-reuse-button, .mw-mmv-download-pane, .mw-mmv-dialog-down-arrow {
   display: none;
   display: none;
}
.mw-mmv-image-metadata {
display: none;
}
}


Line 56: Line 60:


/* ========= file page cleanup ========= */
/* ========= file page cleanup ========= */
#filetoc, .mw-filepage-resolutioninfo, .mw-mmv-filepage-buttons { display: none; }
#filetoc, .mw-filepage-resolutioninfo, .mw-mmv-filepage-buttons { display: none; }
.filehistory, {
  width: 100%;
}


#metadata, .mw-imagepage-section-metadata {
#metadata, .mw-imagepage-section-metadata {
Line 163: Line 162:


/* All CSS here will be loaded for users of the mobile site */
/* All CSS here will be loaded for users of the mobile site */
/* ========= general cleanup ========= */
@media screen and (max-width: 600px) {
a.external {
    /* ========= general cleanup ========= */
  background-image: none!important;
    .page-actions-menu {
  padding-right: 0!important;
      display: none;
}
    }
 
.navigation-drawer {
  display: none;
}
 
.desktop-only {
  display: none;
}


.toggle-list {
    .desktop-only {
  display: none;
      display: none;
}
    }


.minerva-header .branding-box {
    .toggle-list {
  font-size: 85%;
      display: none;
}
    }


/* ========= main page cleanup ========= */
    .minerva-header .branding-box {
      font-size: 90%;
    }


.page-Main_Page .heading-holder {
.last-modified-bar {
  display: none;
display: none!important;
}
}
 
/* ========= Project:About and Project:Contacts cleanup ========= */
 
.page-Project_About .heading-holder, .page-Project_Contacts ..heading-holder, .page-Project_Statistics ..heading-holder {
  display: none;
}
 
 
/* ========= mediaviewer cleanup ========= */
.mw-mmv-overlay {
  background-color: #f0f0f0;
  background-image: linear-gradient(135deg, #f1f1f1, silver);
}


/* =========================== custom CSS =========================== */
    /* ========= main page cleanup ========= */
.img-comfy {
    .page-Main_Page .heading-holder {
  margin-top: 30px;
      display: none;
  margin-bottom: 30px;
    }
}


.neutral-box {
    /* ========= Project:About and Project:Contacts cleanup ========= */
  margin-top: 2rem;
    .page-Project_About .heading-holder, .page-Project_Contacts .heading-holder, .page-Project_Statistics .heading-holder {
  margin-bottom: 2rem;
      display: none;
  padding: 2rem 3rem;
    }
  background-color: #f1f1f1;
}


.switch-caption-container {
    /* ========= mediaviewer cleanup ========= */
  display: none;
    .overlay.media-viewer {
}
      background-color: #f0f0f0;
      background-image: linear-gradient(135deg, #f1f1f1, silver);
    }


/* ====== Project:About ====== */
    /* =========================== custom CSS =========================== */
.side-by-side-image-row {
    .neutral-box {
  display: flex;
      margin-bottom: 2rem;
  flex-direction: column;
    }
  gap: 2rem;
}


.side-by-side-image-container {
    .switch-caption-container {
  width: 100%;
      display: none;
}
    }
   
.columns {
  column-count: 1;
}


.image-caption {
    /* ====== Project:About ====== */
  width: 85%;
    .side-by-side-image-row {
  margin: 0 auto 30px auto!important;
      flex-direction: column;
  font-size: 85%;
    }
  text-align: center;
  font-style: italic;
}
}