Team:INSA-Lyon/css contenu

From 2014.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 5: Line 5:
}
}
-
/* PAGE CONTENU*/
+
/* PAGE SOUS-TITRE*/
#igem{
#igem{
-
padding-top: 25px;
+
padding-top: 15px;
 +
margin-right: 30px;
text-align: right;
text-align: right;
-
margin-top: 20px;
 
-
margin-right: 20px;
 
}
}
-
#contenu h4 {
+
#soustitre{
-
    padding-bottom: 25px;
+
-
}
+
-
 
+
-
#contenu{
+
margin-top: -25px;
margin-top: -25px;
 +
padding:0;
 +
top:0;
background-position: center top;
background-position: center top;
-
background-repeat: no-repeat;
+
background-repeat: no-repeat;
-
text-align: center;
+
-
margin-left: 40px;
+
text-align: center;
text-align: center;
-
padding-bottom: 50px;
+
height: 320px;
 +
}
 +
 
 +
 
 +
#presentation {
 +
margin: auto;
 +
width: 900px;
 +
padding-top: 30px;
 +
padding-bottom: 30px;
 +
padding-left: 50px;
 +
}
 +
 
 +
.center{
 +
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 38: 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 {
 +
color:#285459;
background:#FFF;
background:#FFF;
-
    width:120px;
+
width:120px;
-
     height:82px;
+
     height:72px;
-
     padding-top: 38px;
+
     padding-top: 48px;
     text-align:center;
     text-align:center;
     border-radius:50%;
     border-radius:50%;
Line 52: 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;
-
#presentation {
+
     transition: all 0.3s ease-out;
-
     margin: auto;
+
-
padding-top:40px;
+
-
     width: 50%;
+
-
display: block;
+
-
overflow: hidden;
+
-
margin-bottom: 50px;
+
-
}
+
-
 
+
-
.center {
+
-
text-align: center;
+
-
}
+
-
 
+
-
.colone1{
+
-
     width: 50%;
+
-
    float: left;
+
-
}
+
-
 
+
-
.colone2{
+
-
    width: 50%;
+
-
    float:right;
+
}
}

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