Difference between revisions of "Template:Team:Paris Saclay/css"

m
m
Line 31: Line 31:
 
hr {clear:both; border:0; margin:0;}
 
hr {clear:both; border:0; margin:0;}
  
#home-splash {}
+
#home-splash {display: table;line-height: 0;}
 +
#home-splash li {width: 235px;height: 235px;float: left;position: relative;overflow: hidden;-webkit-transition: background-image 0.25s ease-in-out;transition: background-image 0.25s ease-in-out;
 +
#home-splash li a {position: absolute;display: block;width: 100%;height: 100%;}
 +
 
 +
 
 
#home-splash a {display: block;width: 235px;height: 235px;float: left;position: relative;overflow: hidden;}
 
#home-splash a {display: block;width: 235px;height: 235px;float: left;position: relative;overflow: hidden;}
 
#home-splash a p {margin: 0 auto;max-width: 180px;text-align: center;text-transform: uppercase;font-size: 16px;color: #ffffff;z-index: 3;}
 
#home-splash a p {margin: 0 auto;max-width: 180px;text-align: center;text-transform: uppercase;font-size: 16px;color: #ffffff;z-index: 3;}
Line 37: Line 41:
 
#home-splash a:hover .bg {opacity: 1;}
 
#home-splash a:hover .bg {opacity: 1;}
 
#home-splash a .icon {z-index: 2;margin: 50px auto 20px auto;}
 
#home-splash a .icon {z-index: 2;margin: 50px auto 20px auto;}
 +
 +
#home-splash .team {background: url(https://static.igem.org/mediawiki/2015/4/45/Paris_Saclay-splash-team.jpg);}
 +
#home-splash .interlab {background: url(https://static.igem.org/mediawiki/2015/b/b6/Paris_Saclay-splash-interlab.jpg);}
 +
#home-splash .introduction {background: url(https://static.igem.org/mediawiki/2015/e/e9/Paris_Saclay-splash-introduction.jpg);}
 +
#home-splash .dissemination {background: url(https://static.igem.org/mediawiki/2015/7/75/Paris_Saclay-splash-dissemination.jpg);}
 +
#home-splash .labwork {background: url(https://static.igem.org/mediawiki/2015/5/50/Paris_Saclay-splash-labwork.jpg);}
 +
#home-splash .parts {background: url(https://static.igem.org/mediawiki/2015/7/73/Paris_Saclay-splash-parts.jpg);}
 +
#home-splash .physical {background: url(https://static.igem.org/mediawiki/2015/6/63/Paris_Saclay-splash-physical.jpg);}
 +
#home-splash .thermal {background: url(https://static.igem.org/mediawiki/2015/7/7f/Paris_Saclay-splash-thermal.jpg);}
 +
#home-splash .practices {background: url(https://static.igem.org/mediawiki/2015/c/cf/Paris_Saclay-splash-practices.jpg);}
 +
#home-splash .achievements {background: url(https://static.igem.org/mediawiki/2015/3/37/Paris_Saclay-splash-achievements.jpg);}
 +
#home-splash .modeling {background: url(https://static.igem.org/mediawiki/2015/d/d1/Paris_Saclay-splash-modeling.jpg);}
 +
#home-splash .perspectives {background: url(https://static.igem.org/mediawiki/2015/a/a6/Paris_Saclay-splash-perspectives.jpg);}
  
 
div#bars_item, div#user_item.has_submenu{line-height:initial;}
 
div#bars_item, div#user_item.has_submenu{line-height:initial;}

Revision as of 16:39, 13 September 2015