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

m
m
Line 34: Line 34:
 
#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;}
#home-splash a .bg {position: absolute;top:0;left:0;z-index: 1;opacity: 0.3;}
+
#home-splash a .bg {position: absolute;top:0;left:0;z-index: 1;opacity: 0.25; transition:  0.25s ease-in-out}
 +
#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;}
  

Revision as of 16:19, 13 September 2015