Team:Hong Kong HKUST/catalog table.css

From 2014.igem.org

Revision as of 21:34, 17 October 2014 by Mfcheungaa (Talk | contribs)

table.catalog_table {

 width:100%;
 margin: 10px auto;

}

table.catalog_table caption {

 font-size: 1.6em;
 font-weight: 400;
 padding: 10px 0;

}

table.catalog_table thead th {

 font-weight: 400;
 background: #8a97a0;
 color: #FFF;

}

table.catalog_table tr {

 background: #f4f7f8;
 border-bottom: 1px solid #FFF;
 margin-bottom:0px;

}

table.catalog_table tbody tr:nth-child(even) {

 background: #EBD8D8;

}

table.catalog_table th, table.catalog_table td {

 text-align: left;
 padding: 5px 5px;
 font-weight: 300;

}

table.catalog_table tfoot tr {

 background: none;

}

table.catalog_table tfoot td {

 padding: 10px 2px;
 font-size: 0.2em;
 font-style: italic;
 color: #8a97a0;

} div.content_1 h3 {

 font-size:40px;
 padding: 20px 5px;

} div.content_1 p{

 padding-left:15px;
 padding-right:15px;

} div.case_table th:first-child{ background-color: green; color: white; text-align:center; } div.case_table th:nth-child(2){ background-color: orange; color: white; text-align:center; } div.case_table tr td:nth-child(odd){ background-color: #cce5cc; color: black; text-align:left;} div.case_table tr td:nth-child(even){ background-color: #fff6e5; color: black; text-align:left;}