MediaWiki:Common.css

From W3C Wiki
Jump to: navigation, 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: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */
 
.zebra {
  border-collapse: collapse; 
  color:black; 
  background-color:#ffffff;
  border: 1px solid #777777;
  border-radius: 3px;
}
 
.zebra th {
  background-color:#9BAFF1;
  border: 1px solid #777777;
  color: #ffffff;
}
 
.zebra td {
  border: 1px solid #777777;
  padding: 0 0.5em 0 0.5em
}
 
.zebra tr:nth-child(2n+1) {
  background-color:#E8EDFF;
}
 
.zebra tr:hover {
  background-color:#eeeeee;
}
 
img.stretch { width: 100%; height: auto; }