Team:INSA-Lyon/css contenu

From 2014.igem.org

(Difference between revisions)
 
(22 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;
+
margin-top: -25px;
 +
padding:0;
 +
top:0;
 +
background-position: center top;
 +
background-repeat: no-repeat;
 +
text-align: center;
 +
height: 320px;
}
}
-
#contenu{
+
 
-
margin-top: -25px;
+
#presentation {
-
padding:0;
+
margin: auto;
-
top:0;
+
width: 900px;
-
background-position: center top;
+
padding-top: 30px;
-
background-repeat: no-repeat;
+
padding-bottom: 30px;
-
text-align: center;
+
padding-left: 50px;
-
    margin-left: 40px;
+
}
-
    text-align: center;
+
 
-
padding-bottom: 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 40: 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 54: 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;
+
}
}
Line 86: Line 78:
#footer
#footer
{
{
-
width: 100%;
+
padding-top: 15px;
-
height: 350px;
+
background-color: #285459;
-
background-color: #285459;
+
margin-bottom: -50px;
margin-bottom: -50px;
-
}
+
height: 200px;
-
 
+
-
#footer h3{
+
-
        margin-bottom: 20px;
+
}
}
Line 106: Line 94:
color:#ffffff;
color:#ffffff;
}
}
 +
 +
#footer a {
 +
color:#ffffff;
 +
}
 +
#contact{
#contact{
-
float:left;
 
display: inline-block;
display: inline-block;
background-color: #285459;
background-color: #285459;
padding-left: 30px;
padding-left: 30px;
margin-left: 50px;
margin-left: 50px;
-
width: 40%;
 
}
}
-
#address1{
+
#footer1{
-
texte-align: center;
+
float: left;
 +
width: 250px;
 +
margin-right: 50px;
 +
display: inline-block;
}
}
-
 
+
#footer2{
-
#sponsors{
+
float: left;
-
width: 40%;
+
width: 250px;
-
display: inline-block;
+
-
background-color: #285459;
+
-
padding-left: 30px;
+
-
color: #ffffff;
+
-
text-align: center;
+
}
}
-
#sponsors a{
+
#footer3{
-
font-size:1.6em;
+
width: 250px;
 +
margin-left: 50px;
 +
display: inline-block;
}
}
-
#sponsors a:hover{
 
-
text-decoration; underline;
 
-
}
 
#copyright {
#copyright {
-
text-align: center;
 
font-size: 0.8em !important;
font-size: 0.8em !important;
background-color: #285459;
background-color: #285459;
-
padding-bottom: 6px;
+
padding-bottom: 2px;
-
padding-top: 6px;
+
padding-top: 16px;
-
        margin-top: 100px;
+
}
}
-
 
-
 
#fb {
#fb {
float: right;
float: right;
margin-right: 10px;
margin-right: 10px;
-
margin-top: 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; }