MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 1,487: Line 1,487:
.ooo-extlinks-grid {
.ooo-extlinks-grid {
   display: grid;
   display: grid;
   grid-auto-flow: column;
   grid-auto-flow: row;
   grid-template-rows: repeat(4, auto);
   grid-template-columns: repeat(4, max-content);


   justify-content: center;
   justify-content: start;
   justify-items: start;
   justify-items: start;
  align-items: start;


   gap: 8px 14px;
   column-gap: 10px;
   margin: 16px auto;
  row-gap: 8px;
   margin: 16px 0;
}
}


.ooo-extlinks-grid > * {
.ooo-extlinks-grid > *,
.ooo-extlinks-grid p {
   margin: 0;
   margin: 0;
  align-self: start;
}
}


Line 1,509: Line 1,511:
@media (max-width: 900px) {
@media (max-width: 900px) {
   .ooo-extlinks-grid {
   .ooo-extlinks-grid {
     grid-template-rows: repeat(3, auto);
     grid-template-columns: repeat(3, max-content);
   }
   }
}
}
Line 1,516: Line 1,518:
@media (max-width: 600px) {
@media (max-width: 600px) {
   .ooo-extlinks-grid {
   .ooo-extlinks-grid {
     grid-template-rows: repeat(2, auto);
     grid-template-columns: repeat(2, max-content);
   }
   }
}
}