Team:Heidelberg/tables
From 2010.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | |||
+ | |||
+ | <!-- | ||
+ | |||
+ | ============================================================================================ | ||
+ | *** PLEASE NOTE: *** | ||
+ | |||
+ | The contents and design of this wiki are published under the GNU Free Documentation License. You are granted the right to copy and modify our work, but you must publish your work under the same type of license while recognizing us the authors. | ||
+ | |||
+ | Stefan Kleinsorg, Thomas Uhlig | ||
+ | |||
+ | ============================================================================================ | ||
+ | |||
+ | Table formats originate from Wikipedia. | ||
+ | Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. See Terms of Use for details. | ||
+ | Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. | ||
+ | |||
+ | /--> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 23: | 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: | + | background: #</html>{{{normal|FFF}}}<html>; |
} | } | ||
- | table.wikitable.zebra tr { | + | table.wikitable.zebra tr:nth-child(odd) { |
- | background | + | background: #</html>{{{highlight|DDD}}}<html>; |
} | } | ||
+ | /* Zebra-Tabellen - IE only special thanks to Matt Kruse --- http://www.mattkruse.com/ */ | ||
+ | |||
+ | |||
+ | table.wikitable.zebra tr { | ||
+ | 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