Team:INSA-Lyon/css home
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
html, body { | html, body { | ||
- | margin | + | margin:0; |
padding:0; | padding:0; | ||
background-position: center top; | background-position: center top; | ||
Line 26: | Line 26: | ||
margin: auto; | margin: auto; | ||
text-align: center; | text-align: center; | ||
+ | margin-top: -50px; | ||
} | } | ||
Revision as of 16:48, 29 September 2014
html, body { margin:0; 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: -50px; }
- 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;
}