MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 25: Line 25:
   margin-top: 1em;
   margin-top: 1em;
   justify-content: flex-start; /* ← important change */
   justify-content: flex-start; /* ← important change */
}
.pm-wide-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: space-between;
}
.pm-wide-grid .pm-box {
  flex: 1 1 calc(33.333% - 1em); /* 3 per row */
  max-width: 100%;
}
@media (max-width: 800px) {
  .pm-wide-grid .pm-box {
    flex: 1 1 100%; /* stack vertically on tablets/phones */
  }
}
}