Team:INSA-Lyon/css contenu

From 2014.igem.org

(Difference between revisions)
Line 27: Line 27:
     margin-left: 40px;
     margin-left: 40px;
     text-align: center;
     text-align: center;
 +
display: block;
}
}

Revision as of 09:50, 3 October 2014

html, body { padding:0; margin-top: 0;

       background-color: #ffffff;

}

/* PAGE CONTENU*/

  1. igem{

padding-top: 25px; text-align: right; margin-top: 20px; margin-right: 20px; }

  1. contenu h4 {
   padding-bottom: 25px;

}

  1. contenu{

margin-top: -25px; padding:0; top:0; background-position: center top; background-repeat: no-repeat; text-align: center; height: 50%;

   margin-left: 40px;
   text-align: center;

display: block; }

.icon {

   color:#285459;

background:#FFF;

   width:120px;
   height:72px;
   padding-top: 48px;
   text-align:center;
   border-radius:50%;
   margin-left: 20px;
   margin-right: 20px;
   margin-bottom: 20px;
   overflow: hidden;
   display: inline-block;

}

.iconmulti { background:#FFF;

   width:120px;
   height:82px;
   padding-top: 38px;
   text-align:center;
   border-radius:50%;
   margin-left: 20px;
   margin-right: 20px;
   margin-bottom: 20px;
   overflow: hidden;
   display: inline-block;

}

  1. presentation {
   margin: auto;

padding-top:40px;

   width: 50%;

}

.colone1{

   width: 50%;
   float: left;

}

.colone2{

   width: 50%;
   float:right;

}

/*--------------------- CSS DU FOOTER ---------------------------------------------*/


  1. footer

{ width: 100%; height: 320px; background-color: #285459; margin-bottom: -50px; }

  1. footer h3{
       margin-bottom: 20px;

}

  1. footer p{

color:#fff; font-family: "Roboto", sans-serif; font-size: 0.9em; overflow:hidden; }

  1. footer a:visited {

color:#ffffff; }

  1. footer a{
    color: #ffffff;

font-size: 1.5em; }

  1. footer a:hover {
   text-decoration: underline; 

}

  1. contact{

float:left; display: inline-block; background-color: #285459; padding-left: 30px; margin-left: 50px; width: 40%; }

  1. address1{

texte-align: center; }

  1. sponsors{

width: 40%; display: inline-block; background-color: #285459; padding-left: 30px; color: #ffffff; text-align: center; }

  1. copyright {

text-align: center; font-size: 0.8em; background-color: #285459; padding-bottom: 6px; padding-top: 6px;

       margin-top: 100px;

}

  1. fb {

float: right; margin-right: 10px; margin-top: 10px; }