MediaWiki:Common.css

From Prison Architect Wiki
Revision as of 10:15, 22 June 2019 by SolSys (talk | contribs) (test)
Jump to navigation Jump to search

Note: After saving, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Navbox styling */

table.navbox {                          /* Navbox container style */
  border: 1px solid #CCC;
  background: #FEFEFF;
  width: 100%;
  margin: auto;
  clear: both;
  font-size: 80%;
  text-align: center;
  padding: 1px;
}
table.navbox + table.navbox {           /* Single pixel border between adjacent navboxes */
  margin-top: -1px;                     /* (doesn't work for IE6, but that's okay)       */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
  text-align: center;                   /* Title and above/below styles */
  padding-left: 1em;
  padding-right: 1em;
}
table.navbox th a {
  color: #444;                          /* Should make the header links look better */
}

.navbox-group {                         /* Group style */
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox, .navbox-subgroup {
  background: #FEFEFF;                  /* Background color */
}
.navbox-list {
  border-color: #FEFEFF;                /* Must match background color */
}
.navbox-title,
table.navbox th {
  background: #EEE;                  /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
  background: #CCC;                  /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {

  background: #DDD;                  /* Level 3 color */
}
.navbox tr {
   background-color:#FEFEFF;            /* Standard cell background */
}
.navbox-even {
  background: #EEE;                  /* Even row striping */
}
.navbox-odd {
  background: transparent;              /* Odd row striping */
}