Team:Heidelberg/Templates/teampicture
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) |
|||
(14 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | .</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: | + | width:150px; |
height:150px; | height:150px; | ||
+ | background-size:300px 150px; | ||
+ | background-position:left; | ||
float:left; | float:left; | ||
+ | margin: 0 2em 2em 0; | ||
} | } | ||
- | .</html>{{ | + | .</html>{{{2}}}<html>:hover{ |
- | + | background-position:right; | |
} | } | ||
- | .team-profile | + | .team-profile { |
- | + | min-height: 150px; | |
} | } | ||
</style> | </style> | ||
- | <div class="Persopic </html>{{ | + | <div class="Persopic </html>{{{2}}}<html>"></div> |
</html> | </html> |
Latest revision as of 11:38, 12 September 2013