Jump to content

MediaWiki:Common.css

From Once Human Guide
Revision as of 23:35, 28 February 2026 by Thisisme (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.navimg img {
    display: block;
    margin: 0 auto;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* SAME spacing between rows */
    text-align: center;
    margin-top: 40px;
}

.main-card img {
    display: block;
    margin: 0 auto 15px auto; /* Controls space under image */
}

.card-title {
    font-size: 20px;
    font-weight: bold;
}


/* keeps each icon+label spacing consistent */
.navcell{
  padding: 0 22px;
  vertical-align: top;
}

/* remove baseline weirdness + center images */
.navimg img{
  display:block;
  margin:0 auto;
}

/* consistent gap between image and label */
.navlabel{
  margin-top: 10px;
  line-height: 1.1;
  font-weight: 700;
}

/* center the 3-item second row */
.navrow3{
  display:flex;
  justify-content:center;
  gap: 70px;
}

.navitem{
  text-align:center;
}