Template:Team:HokkaidoU Japan/About Us/CSS

From 2014.igem.org

(Difference between revisions)
Line 11: Line 11:
#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: 250px; height: 250px; position: relative; left: 130px;}
#hokkaidou-contents .member-list ul li img { width: 250px; height: 250px; position: relative; left: 130px;}
-
#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; right: 30%; top: 12px;}
-
#hokkaidou-contents .member-list ul li p { font-size: 16px; line-height: 25px; position: relative; margin: 0 auto; width: 80%; overflow: auto;}
+
#hokkaidou-contents .member-list ul li p { font-size: 16px; line-height: 25px; position: relative; margin: 0 auto; width: 80%; overflow: auto; text-align: center
 +
                                                                    right: 30%; top: 15px;}
#hokkaidou-contents .member-list ul li p:first-letter { margin: 0;}
#hokkaidou-contents .member-list ul li p:first-letter { margin: 0;}
#hokkaidou-contents .member-list ul li:nth-child(even) h3 { left: 0; text-align: center;}
#hokkaidou-contents .member-list ul li:nth-child(even) h3 { left: 0; text-align: center;}

Revision as of 10:56, 29 September 2014