Difference between revisions of "Template:SDU-Denmark-middle"

(Undo revision 326428 by Birka (talk))
Line 304: Line 304:
  
 
#vgemcollaboration {
 
#vgemcollaboration {
 
 
background-image:url('https://static.igem.org/mediawiki/2016/d/de/T--Virginia--collabopen.png');
 
background-image:url('https://static.igem.org/mediawiki/2016/d/de/T--Virginia--collabopen.png');
 
 
position:relative;
 
position:relative;
 
 
top:0;
 
top:0;
 
 
left:0;
 
left:0;
 
+
background-size:100%; /*Adjust background-size and the width and height properties here if you wish to resize the icon*/
background-size:180px 220px; /*Adjust background-size and the width and height properties here if you wish to resize the icon*/
+
 
+
 
width:180px;
 
width:180px;
 
 
height:220px;
 
height:220px;
 
 
z-index:100;
 
z-index:100;
 
 
}
 
}
 
 
 
 
#vgemcollaboration:hover {
 
#vgemcollaboration:hover {
 
 
background-image:url('https://static.igem.org/mediawiki/2016/a/a5/T--Virginia--collabclosed.png');
 
background-image:url('https://static.igem.org/mediawiki/2016/a/a5/T--Virginia--collabclosed.png');
 
 
}
 
}
 
 
 
 
#vgemcollaboration a {
 
#vgemcollaboration a {
 
 
display:inline-block;
 
display:inline-block;
 
 
width:100%;
 
width:100%;
 
 
height:100%;
 
height:100%;
 
 
}
 
}
 
/*******end virginia badge*******/
 
/*******end virginia badge*******/

Revision as of 09:19, 18 October 2016