Template:Team:NCTU Formosa/header-human

From 2012.igem.org

(Difference between revisions)
Line 129: Line 129:
*border-collapse: collapse; /* IE7 and lower */
*border-collapse: collapse; /* IE7 and lower */
border-spacing: 0;  
border-spacing: 0;  
-
border: 1px solid #333;
+
    border: solid #ccc 1px;
 +
    -moz-border-radius: 6px;
 +
    -webkit-border-radius: 6px;
 +
    border-radius: 6px;
 +
    -webkit-box-shadow: 0 1px 1px #ccc;
 +
    -moz-box-shadow: 0 1px 1px #ccc;
 +
    box-shadow: 0 1px 1px #ccc;   
 +
}
 +
#humantable td, #humantable th {
 +
    border-left: 1px solid #ccc;
 +
    border-top: 1px solid #ccc;
 +
    padding: 10px;
 +
    text-align: left;  
}
}
#humantable p {
#humantable p {
Line 137: Line 149:
#humantable tr td {
#humantable tr td {
background:url(https://static.igem.org/mediawiki/2012/3/37/Alw50.png) transparent repeat;
background:url(https://static.igem.org/mediawiki/2012/3/37/Alw50.png) transparent repeat;
-
padding:10px;
 
}
}
-
#humantable tr th {
+
.bordered tr:hover {
-
background:url(https://static.igem.org/mediawiki/2012/c/cb/Alw75.png) transparent repeat;
+
    background: #fffae4;
 +
    -o-transition: all 0.1s ease-in-out;
 +
    -webkit-transition: all 0.1s ease-in-out;
 +
    -moz-transition: all 0.1s ease-in-out;
 +
    -ms-transition: all 0.1s ease-in-out;
 +
    transition: all 0.1s ease-in-out;   
 +
}   
 +
#humantable th {
 +
    background-color: #d5f9e4;
 +
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ebfcf2), to(#d5f9e4));
 +
    background-image: -webkit-linear-gradient(top, #ebfcf2, #d5f9e4);
 +
    background-image:    -moz-linear-gradient(top, #ebfcf2, #d5f9e4);
 +
    background-image:    -ms-linear-gradient(top, #ebfcf2, #d5f9e4);
 +
    background-image:      -o-linear-gradient(top, #ebfcf2, #d5f9e4);
 +
    background-image:        linear-gradient(top, #ebfcf2, #d5f9e4);
 +
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
 +
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset; 
 +
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;       
 +
    border-top: none;
 +
    text-shadow: 0 1px 0 rgba(255,255,255,.5);  
}
}
-
th:first-child {
+
#humantable td:first-child, #humantable th:first-child {
 +
    border-left: none;
 +
}
 +
#humantable th:first-child {
     -moz-border-radius: 6px 0 0 0;
     -moz-border-radius: 6px 0 0 0;
     -webkit-border-radius: 6px 0 0 0;
     -webkit-border-radius: 6px 0 0 0;
Line 148: Line 181:
}
}
-
th:last-child {
+
#humantable th:last-child {
     -moz-border-radius: 0 6px 0 0;
     -moz-border-radius: 0 6px 0 0;
     -webkit-border-radius: 0 6px 0 0;
     -webkit-border-radius: 0 6px 0 0;
Line 154: Line 187:
}
}
-
th:only-child{
+
#humantable th:only-child{
     -moz-border-radius: 6px 6px 0 0;
     -moz-border-radius: 6px 6px 0 0;
     -webkit-border-radius: 6px 6px 0 0;
     -webkit-border-radius: 6px 6px 0 0;
     border-radius: 6px 6px 0 0;
     border-radius: 6px 6px 0 0;
 +
}
 +
#humantable tr:last-child td:first-child {
 +
    -moz-border-radius: 0 0 0 6px;
 +
    -webkit-border-radius: 0 0 0 6px;
 +
    border-radius: 0 0 0 6px;
 +
}
 +
 +
#humantable tr:last-child td:last-child {
 +
    -moz-border-radius: 0 0 6px 0;
 +
    -webkit-border-radius: 0 0 6px 0;
 +
    border-radius: 0 0 6px 0;
}
}
.pimg {
.pimg {

Revision as of 10:06, 16 September 2012