Team:INSA-Lyon/css home

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
html, body {
html, body {
-
margin:0;
+
margin-right:-10px;
padding:0;
padding:0;
background-position: center top;
background-position: center top;

Revision as of 16:24, 29 September 2014

html, body { margin-right:-10px; 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; }

  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;  

}