Team:INSA-Lyon/css contenu

From 2014.igem.org

(Difference between revisions)
 
(40 intermediate revisions not shown)
Line 5: Line 5:
}
}
-
/* PAGE CONTENU*/
+
/* PAGE SOUS-TITRE*/
#igem{
#igem{
-
text-align: right;
+
padding-top: 15px;
-
margin-top: 20px;
+
margin-right: 30px;
-
margin-right: 20px;
+
text-align: right;
}
}
-
#igem img{
+
#soustitre{
-
        margin-top: 20px;
+
margin-top: -25px;
-
margin-left: 10px;
+
padding:0;
 +
top:0;
 +
background-position: center top;
 +
background-repeat: no-repeat;
 +
text-align: center;
 +
height: 320px;
}
}
-
#contenu h4 {
+
 
-
    margin-bottom: 40px;
+
 
 +
#presentation {
 +
margin: auto;
 +
width: 900px;
 +
padding-top: 30px;
 +
padding-bottom: 30px;
 +
padding-left: 50px;
}
}
-
#contenu{
+
.center{
-
margin-top: -12px;
+
text-align:center;
-
margin-right: -5px;
+
-
padding:0;
+
-
top:0;
+
-
background-position: center top;
+
-
background-repeat: no-repeat;
+
-
text-align: center;
+
-
height: 50%;
+
-
    margin-left: 40px;
+
-
    text-align: center;
+
}
}
.icon {
.icon {
-
    color:#285459;
+
color:#285459;
-
background:#FFF;
+
background:#FFF;
-
    width:120px;
+
width:120px;
     height:72px;
     height:72px;
     padding-top: 48px;
     padding-top: 48px;
Line 44: Line 46:
     margin-right: 20px;
     margin-right: 20px;
     margin-bottom: 20px;
     margin-bottom: 20px;
 +
margin-top: 15px;
     overflow: hidden;
     overflow: hidden;
     display: inline-block;
     display: inline-block;
 +
    -moz-transition: all 0.3s ease-out; 
 +
    -webkit-transition: all 0.3s ease-out; 
 +
    transition: all 0.3s ease-out;
}
}
.iconmulti {
.iconmulti {
-
background:#FFF;
+
color:#285459;
-
    width:120px;
+
background:#FFF;
-
     height:82px;
+
width:120px;
-
     padding-top: 38px;
+
     height:72px;
 +
     padding-top: 48px;
     text-align:center;
     text-align:center;
     border-radius:50%;
     border-radius:50%;
Line 58: Line 65:
     margin-right: 20px;
     margin-right: 20px;
     margin-bottom: 20px;
     margin-bottom: 20px;
 +
margin-top: 15px;
     overflow: hidden;
     overflow: hidden;
     display: inline-block;
     display: inline-block;
 +
    -moz-transition: all 0.3s ease-out; 
 +
    -webkit-transition: all 0.3s ease-out; 
 +
    transition: all 0.3s ease-out;
}
}
-
#presentation {
+
/*--------------------- CSS DU FOOTER ---------------------------------------------*/
-
    margin: auto;
+
-
padding-top:40px;
+
-
    width: 50%;
+
 +
 +
#footer
 +
{
 +
padding-top: 15px;
 +
background-color: #285459;
 +
margin-bottom: -50px;
 +
height: 200px;
}
}
-
.colone1{
+
#footer p{
-
    width: 50%;
+
color:#fff;
-
    float: left;
+
font-family: "Roboto", sans-serif;
 +
font-size: 0.9em;
 +
overflow:hidden;
 +
}
 +
 
 +
#footer a:visited {
 +
color:#ffffff;
 +
}
 +
 
 +
#footer a {
 +
color:#ffffff;
 +
}
 +
 
 +
 
 +
#contact{
 +
display: inline-block;
 +
background-color: #285459;
 +
padding-left: 30px;
 +
margin-left: 50px;
 +
}
 +
 
 +
#footer1{
 +
float: left;
 +
width: 250px;
 +
margin-right: 50px;
 +
display: inline-block;
 +
}
 +
#footer2{
 +
float: left;
 +
width: 250px;
 +
}
 +
 
 +
#footer3{
 +
width: 250px;
 +
margin-left: 50px;
 +
display: inline-block;
 +
}
 +
 
 +
 
 +
#copyright {
 +
font-size: 0.8em !important;
 +
background-color: #285459;
 +
padding-bottom: 2px;
 +
padding-top: 16px;
}
}
-
.colone2{
+
#fb {
-
    width: 50%;
+
float: right;
-
    float:right;
+
margin-right: 10px;
}
}

Latest revision as of 17:57, 16 October 2014

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

       background-color: #ffffff;

}

/* PAGE SOUS-TITRE*/

  1. igem{

padding-top: 15px; margin-right: 30px; text-align: right; }

  1. soustitre{

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


  1. presentation {

margin: auto; width: 900px; padding-top: 30px; padding-bottom: 30px; padding-left: 50px; }

.center{ text-align:center; }

.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;

margin-top: 15px;

   overflow: hidden;
   display: inline-block;
   -moz-transition: all 0.3s ease-out;  
   -webkit-transition: all 0.3s ease-out;  
   transition: all 0.3s ease-out;

}

.iconmulti { 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;

margin-top: 15px;

   overflow: hidden;
   display: inline-block;
   -moz-transition: all 0.3s ease-out;  
   -webkit-transition: all 0.3s ease-out;  
   transition: all 0.3s ease-out;

}

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


  1. footer

{ padding-top: 15px; background-color: #285459; margin-bottom: -50px; height: 200px; }

  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; }


  1. contact{

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

  1. footer1{

float: left; width: 250px; margin-right: 50px; display: inline-block; }

  1. footer2{

float: left; width: 250px; }

  1. footer3{

width: 250px; margin-left: 50px; display: inline-block; }


  1. copyright {

font-size: 0.8em !important; background-color: #285459; padding-bottom: 2px; padding-top: 16px; }

  1. fb {

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