Template:Team:HokkaidoU Japan/About Us/CSS

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
#hokkaidou-contents .member-list ul { list-style: none; margin: 0; }
#hokkaidou-contents .member-list ul { list-style: none; margin: 0; }
#hokkaidou-contents .member-list ul li { float: left; width: 400px; height: 200px; margin: 20px 20px 20px 20px; position: relative; }
#hokkaidou-contents .member-list ul li { float: left; width: 400px; height: 200px; margin: 20px 20px 20px 20px; position: relative; }
-
#hokkaidou-contents .member-list ul li img { width: 400px; height: 400px; position: absolute; top: 0;}
+
#hokkaidou-contents .member-list ul li img { width: 300px; height: 300px; position: absolute; top: 0;}
#hokkaidou-contents .member-list ul li h3 { font-size: 24px; line-height: 30px; position: absolute; top: 20px; margin: 0;}
#hokkaidou-contents .member-list ul li h3 { font-size: 24px; line-height: 30px; position: absolute; top: 20px; margin: 0;}
#hokkaidou-contents .member-list ul li p { font-size: 13px; line-height: 20px; position: absolute; top: 60px; width: 260px; overflow: auto;}
#hokkaidou-contents .member-list ul li p { font-size: 13px; line-height: 20px; position: absolute; top: 60px; width: 260px; overflow: auto;}
Line 57: Line 57:
     height: 200px;
     height: 200px;
     position: absolute;
     position: absolute;
-
     width:300px;
+
     width:500px;
     display:none;
     display:none;
}
}
Line 68: Line 68:
position: absolute;
position: absolute;
right: 50%;
right: 50%;
-
top: -10px;
+
top: -8px;
margin-top: -8px;
margin-top: -8px;
}
}
.overlay-content{
.overlay-content{
-
    border: white solid 1px;
 
     color: white;
     color: white;
     left: 30%;
     left: 30%;

Revision as of 08:11, 29 September 2014