Team:Hong Kong HKUST/catalog table.css

From 2014.igem.org

(Difference between revisions)
Line 54: Line 54:
color: white;
color: white;
text-align:center;
text-align:center;
 +
padding: 2px 5px;
}
}
div.case_table th:nth-child(2){
div.case_table th:nth-child(2){
Line 59: Line 60:
color: white;
color: white;
text-align:center;
text-align:center;
 +
padding: 2px 5px;
}
}
div.case_table tr td:nth-child(odd){
div.case_table tr td:nth-child(odd){
background-color: #cce5cc;
background-color: #cce5cc;
color: black;
color: black;
-
text-align:left;}
+
text-align:left;
 +
padding: 2px 5px;
 +
}
div.case_table tr td:nth-child(even){
div.case_table tr td:nth-child(even){
background-color: #fff6e5;
background-color: #fff6e5;
color: black;
color: black;
-
text-align:left;}
+
text-align:left;
 +
padding: 2px 5px;
 +
}

Revision as of 21:42, 17 October 2014

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; padding: 2px 5px; } div.case_table th:nth-child(2){ background-color: orange; color: white; text-align:center; padding: 2px 5px; } div.case_table tr td:nth-child(odd){ background-color: #cce5cc; color: black; text-align:left; padding: 2px 5px; } div.case_table tr td:nth-child(even){ background-color: #fff6e5; color: black; text-align:left; padding: 2px 5px; }