Difference between revisions of "MediaWiki:Common.css"

From RDF Working Group Wiki
Jump to: navigation, search
(something I've used in the past....)
 
 
Line 64: Line 64:
 
     text-align: left;
 
     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;
 +
}

Latest revision as of 09:09, 30 January 2013

/* 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;
}