MediaWiki:Common.css

From RDF Working Group Wiki
Revision as of 09:09, 30 January 2013 by Ivan (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 */
 
 table.data-table {
    font-size:0.9em; 
    color:black;
    border-style: none; 
    border-collapse:collapse;
 }
 
 
 .data-table tr:hover {
    background: #cec;
 } 
 
 table.data-table th:hover a {
    text-decoration: underline;		      
    color: blue;
 }
 
 table.data-table th {
    background-color:#E8E8E8;
    font-weight:normal;
 }
 
 table.data-table th a {
    text-decoration: none;		      
    color: black;
 }
 
// #bodyContent table.data-table th a.external {
//    text-decoration: none;		      
//    color: black;
// }
 
 table.data-table th:hover {
    background-color:#F0F0F0;
    /* text-decoration: none;		      
    color: blue; */
 }
 
 
 table.data-table td, th {
    border:1px solid #AAAAAA;
    padding-left:0.3em;
    padding-right:0.3em;
    /* text-align:center; */
 }
 
 /*
    Make a few changes for add-on class "form-table"
 */
 
 table.form-table {
    border-collapse: separate;
    border-spacing: 0.2em;
 }
 
 table.form-table th {
    border: none;
    /* text-align: right;  */
 }
 
 table.form-table td {
    text-align: left;
 }
 
/* 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;
}