Jump to content

MediaWiki:Common.css

From Once Human Guide
Revision as of 23:41, 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.
.navtable{
  border: none;
  text-align: center;
  margin: 0 auto;
  border-collapse: collapse;
}

.navcell{
  padding: 0 18px 10px 18px; /* reduced horizontal + vertical spacing */
  vertical-align: top;
}

.navimg img{
  display:block;
  margin:0 auto;
}

/* Smaller fixed icon heights */
.navicon{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  width: 200px;
}

.navicon--row1{
  height: 150px; /* was 160 */
}

.navicon--row2{
  height: 200px; /* was 210 */
}

/* Pull labels closer */
.navlabel{
  margin-top: 4px;  /* was 8 */
  line-height: 1.05;
  font-weight: 800;
}

.navlabel--tight{
  margin-top: 2px;  /* almost touching */
}

.navicon--empty,
.navlabel--empty{
  visibility:hidden;
}

.navlabel{
  text-align: center;   /* centers the words */
  width: 100%;          /* makes it span full cell width */
  margin-top: 4px;
  line-height: 1.05;
  font-weight: 800;
}

.navlabel--tight{
  text-align: center;
  width: 100%;
  margin-top: 2px;
}