MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


/* Responsive main page frames */
/* Responsive main page frames */
.mp-frame {
  width:32%;
  float:left;
  min-width:240px;
  padding:.3em;
}
@media only screen and (max-width: 950px) {
  .mp-frame {
    width:48%;
  }
}
@media only screen and (max-width: 710px) {
  .mp-frame {
    width:98%;
  }
}
.mp-frames {
.mp-frames {
   display: grid;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr))
   grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1rem;
}
}