Team:Heidelberg/Templates/teampicture

From 2013.igem.org

(Difference between revisions)
 
(21 intermediate revisions not shown)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
-
.Persopic{
+
.</html>{{{2}}}<html>{
-
background-image: url("</html>{{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;
}
}
-
.Persopic:hover{
+
.</html>{{{2}}}<html>:hover{
-
background-image: url("</html>{{filepath:<nowiki>{{{2}}}</nowiki>}}<html>");
+
        background-position:right;
}
}
-
.team-profile p:last-child {
+
.team-profile {
-
clear:both;
+
min-height: 150px;
}
}
</style>
</style>
-
<div class="Persopic"></div>
+
<div class="Persopic </html>{{{2}}}<html>"></div>
</html>
</html>

Latest revision as of 11:38, 12 September 2013