MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 11: Line 11:


body.page-Main_Page div#siteSub { display: none !important; }
body.page-Main_Page div#siteSub { display: none !important; }
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
}
.box {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin: 10px;
  flex: 1 1 250px;
  text-align: center;
}

Revision as of 03:38, 2 June 2024

/* CSS placed here will be applied to all skins */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.image-grid img {
    max-width: 100%;
    height: auto;
}

body.page-Main_Page div#siteSub { display: none !important; }


.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
}

.box {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin: 10px;
  flex: 1 1 250px;
  text-align: center;
}