MediaWiki:Common.css

From Legacy
Jump to navigation Jump to search

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 */
.CHARa { color: white; background:#338099 }
.CHARb { color: black; background:#d1edf7 }
.seriesa{ color: white; background:#2c4255 }
.seriesb{ color: black; background:#b0dbde }
/* Character table */
 
table.chartable {
   width:300px; float:right; border-collapse: separate; border-spacing: 0; font-size:90%;
   box-shadow:1px 1px 3px #333; border-radius:10px 10px 10px 10px;
}
table.chartable tr:first-child th:first-child {
   background: #333; border: 1px solid #333; text-align: center; font-size:15px;
   border-top-left-radius: 10px; border-top-right-radius: 10px;
}
table.chartable td:first-child { padding:0px; background: #fff; text-align: center;}
table.chartable tr th {
   border-right: 1px solid #666; border-bottom: 1px solid #666; padding: 2px;
   color: white; background: #338099; font-weight: bold; text-align:center; vertical-align:text-top;
}
table.chartable tr td {
   border-right: 1px solid #666; border-bottom: 1px solid #666; padding: 2px;
   color: black; background: #d1edf7; vertical-align:text-top;
}
table.chartable tr th,table.chartable tr td { border-right: 1px solid #666; border-bottom: 1px solid #666; padding: 2px; }
table.chartable tr th:first-child { border-left: 1px solid #666; border-right: 0px solid #666;}
table.chartable td { border-left: 1px solid #666; }
table.chartable tr th:last-child,table.chartable tr td:last-child { border-right: 1px solid #666; }
table.chartable tr:last-child th { border-bottom-left-radius: 10px; }
table.chartable tr:last-child td { border-bottom-right-radius: 10px; }