Difference between revisions of "MediaWiki:Common.css"

From Prison Architect Wiki
Jump to navigation Jump to search
m (test)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
   margin: auto;
 
   margin: auto;
 
   clear: both;
 
   clear: both;
   font-size: 28%;
+
   font-size: 88%;
 
   text-align: center;
 
   text-align: center;
 
   padding: 1px;
 
   padding: 1px;

Latest revision as of 10:18, 22 June 2019

/* Navbox styling */

table.navbox {                          /* Navbox container style */
  border: 1px solid #CCC;
  background: #FEFEFF;
  width: 100%;
  margin: auto;
  clear: both;
  font-size: 88%;
  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 */
}