Template:Team:HokkaidoU Japan/Team/style.css

From 2011.igem.org

(Difference between revisions)
Line 9: Line 9:
     position: relative;
     position: relative;
     width: 100%;
     width: 100%;
-
     height:150px;
+
     min-height: 150px;
-
     margin: 5px 0;
+
     margin: 10px 0;
     padding: 20px;
     padding: 20px;
     border: 1px double #e4e4e4;
     border: 1px double #e4e4e4;
 +
    -webkit-border-radius: 4px;
 +
    -moz-border-radius: 4px;
 +
    border-radius: 4px;
 +
    background: #f7f7f7;
     color: #ababab;
     color: #ababab;
     overflow: hidden;
     overflow: hidden;
Line 26: Line 30:
     content: "";
     content: "";
     position: absolute;
     position: absolute;
 +
    top: 10px;
     display: block;
     display: block;
     width: 100px;
     width: 100px;
     height: 150px;
     height: 150px;
 +
    border: 1px solid #e4e4e4;
     background: url(https://static.igem.org/mediawiki/2011/3/36/IGEM_HokkaidoU_team_face.png) no-repeat;
     background: url(https://static.igem.org/mediawiki/2011/3/36/IGEM_HokkaidoU_team_face.png) no-repeat;
}
}
.hokkaidou-profile:nth-child(odd) h3:before {
.hokkaidou-profile:nth-child(odd) h3:before {
-
    top: 0;
+
     left: 10px;
-
     left: 0;
+
}
}
.hokkaidou-profile:nth-child(even) h3:before {
.hokkaidou-profile:nth-child(even) h3:before {
-
    top: 0;
+
     right: 10px;
-
     right: 0;
+
}
}
.hokkaidou-profile:nth-child(odd) h3,
.hokkaidou-profile:nth-child(odd) h3,

Revision as of 02:32, 6 October 2011