Team:Heidelberg/tables

From 2010.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 41: Line 41:
}
}
 +
 +
table.pgrouptable {
 +
font-family: calibri, sans-serif;
 +
background-color: #f9f9f9;
 +
color: #000;
 +
font-size:  12px;
 +
line height: 11px;
 +
width: 100%;
 +
text-align:left;
 +
    border: 1px #aaa solid;
 +
    border-collapse: collapse;
 +
    margin: 1em 1em 1em 0;
 +
}
 +
 +
table.pgrouptable thead th {
 +
    border: 1px #aaa solid;
 +
    padding: 0.2em;
 +
background-color: #AAAAAA;
 +
text-align: center;
 +
}
 +
table.pgrouptable td {
 +
border: 1px solid rgb(61,61,61);
 +
    border: 1px #aaa solid;
 +
color: #000;
 +
    padding: 0.2em;
 +
font-size: 11px;
 +
line-height: 12px;
 +
}
/* Zebra-Tabellen - nicht für IE....*/
/* Zebra-Tabellen - nicht für IE....*/
table.wikitable.zebra tr:nth-child(even) {
table.wikitable.zebra tr:nth-child(even) {
-
background: white;
+
background: #</html>{{{normal|FFF}}}<html>;
}
}
 +
table.wikitable.zebra tr:nth-child(odd) {
 +
background: #</html>{{{highlight|DDD}}}<html>;
 +
}
/* Zebra-Tabellen - IE only special thanks to Matt Kruse --- http://www.mattkruse.com/ */
/* Zebra-Tabellen - IE only special thanks to Matt Kruse --- http://www.mattkruse.com/ */
Line 52: Line 83:
table.wikitable.zebra  tr {
table.wikitable.zebra  tr {
-
background-color:expression((rowIndex+1)%2?(parentNode.parentNode.rowHighlightColor||"#dddddd"):(parentNode.parentNode.rowNormalColor||"#FFFFFF"));
+
background-color:expression((rowIndex+1)%2?(parentNode.parentNode.rowHighlightColor||"#</html>{{{normal|FFF}}}<html>"):(parentNode.parentNode.rowNormalColor||"#/html>{{{highlight|DDD}}}<html>"));
}
}
-
 
</style>
</style>

Latest revision as of 12:03, 23 October 2010