MediaWiki:Common.css: Difference between revisions

From QME Wiki
Jump to navigation Jump to search
Created page with "CSS placed here will be applied to all skins: === Responsive Flex Layout for Main Page Columns ===: .qme-flex-wrapper { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 -8px; align-items: stretch; } .qme-column { flex: 1 1 100%; min-height: 600px; padding: 12px; border: 1px solid #0000B6; background: #fcfcfc; color: #000; display: flex; flex-direction: column; justify-content: space-between; } Desktop-specific layout: @med..."
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* === Responsive Flex Layout for Main Page Columns === */
/* QME Wiki Responsive Two-Column Layout Fix */
.qme-flex-wrapper {
.qme-flex-wrapper {
   display: flex;
   display: flex;
Line 21: Line 21:
}
}


/* Desktop-specific layout */
/* Adjusted for better desktop/tablet compatibility */
@media (min-width: 768px) {
@media (min-width: 600px) {
   .qme-column {
   .qme-column {
     flex: 1 1 48%;
     flex: 1 1 48%;
   }
   }
}
/* Prevent floated images from breaking layout */
.qme-column img {
  max-width: 100%;
  height: auto;
}
}

Revision as of 17:59, 23 June 2025

/* CSS placed here will be applied to all skins */
/* QME Wiki Responsive Two-Column Layout Fix */
.qme-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 -8px;
  align-items: stretch;
}

.qme-column {
  flex: 1 1 100%;
  min-height: 600px;
  padding: 12px;
  border: 1px solid #0000B6;
  background: #fcfcfc;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Adjusted for better desktop/tablet compatibility */
@media (min-width: 600px) {
  .qme-column {
    flex: 1 1 48%;
  }
}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.