Team:INSA-Lyon/css home

From 2014.igem.org

Revision as of 16:48, 29 September 2014 by JulietteP (Talk | contribs)

html, body { margin:-50px; padding:0; background-position: center top; background-repeat: no-repeat; background-attachment:fixed; background-image: url('http://potopov.fr/igem/img/background/fond2.jpg'); -webkit-background-size: cover; /* pour Chrome et Safari */ -moz-background-size: cover; /* pour Firefox */ -background-size: cover; /* pour Opera */ background-size: cover; }

/* ACCUEIL */

  1. igem{

text-align: right; margin: 20px; }

  1. igem img{

margin: 10px; }

  1. accueil {

width: 100%; margin: auto; text-align: center; margin-top: -50px; }

  1. accueil li {

margin-top: 100px; }

  1. icones {

margin-top: 100px; }

.icon { display: inline; }

.icon a {

   display: inline-block;  
   width:150px;
   height:125px;
   text-align: center;  
   background:#FFF;

border-radius:50%;

   padding-top: 25px;  
   margin: 0 20px;  
   color: #285459;
   line-height: 22px;
   overflow: hidden;
   -moz-transition: all 0.3s ease-out;  
   -webkit-transition: all 0.3s ease-out;  
   transition: all 0.3s ease-out;

}

.icon a:hover, .icon a:focus {

   box-shadow: 0 0 65px #285459;
   -moz-box-shadow: 0 0 65px #285459;
   -webkit-box-shadow: 0 0 65px #285459;  

}