Team:Heidelberg/Templates/teampicture

From 2013.igem.org

(Difference between revisions)
 
(14 intermediate revisions not shown)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
-
.</html>{{1}}<html>{
+
.</html>{{{2}}}<html>{
background-image: url("</html>{{#tag:nowiki|{{filepath:{{{1}}}}}}}<html>");
background-image: url("</html>{{#tag:nowiki|{{filepath:{{{1}}}}}}}<html>");
background-repeat:no-repeat;
background-repeat:no-repeat;
-
width:80px;
+
width:150px;
height:150px;
height:150px;
 +
        background-size:300px 150px;
 +
        background-position:left;
float:left;
float:left;
 +
margin: 0 2em 2em 0;
}
}
-
.</html>{{1}}<html>{
+
.</html>{{{2}}}<html>:hover{
-
background-image: url("</html>{{#tag:nowiki|{{filepath:{{{2}}}}}}}<html>");
+
        background-position:right;
}
}
-
.team-profile p:last-child {
+
.team-profile {
-
clear:both;
+
min-height: 150px;
}
}
</style>
</style>
-
<div class="Persopic </html>{{1}}<html>"></div>
+
<div class="Persopic </html>{{{2}}}<html>"></div>
</html>
</html>

Latest revision as of 11:38, 12 September 2013