Team:INSA-Lyon/css home
From 2014.igem.org
html, body { 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 */
- igem{
text-align: right; margin: 20px; }
- igem img{
margin: 10px; }
- accueil {
width: 100%; margin: auto; text-align: center; margin-top: -70px; }
- accueil li {
margin-top: 100px; }
- 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;
}