Team:INSA-Lyon/css contenu

From 2014.igem.org

(Difference between revisions)
 
(30 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 {
-
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 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%;
+
-
 
+
-
}
+
-
 
+
-
.colone1{
+
-
    width: 50%;
+
-
     float: left;
+
-
}
+
-
 
+
-
.colone2{
+
-
    width: 50%;
+
-
    float:right;
+
}
}
Line 80: Line 78:
#footer
#footer
{
{
-
width: 100%;
+
padding-top: 15px;
-
height: 320px;
+
background-color: #285459;
-
background-color: #285459;
+
margin-bottom: -50px;
margin-bottom: -50px;
-
}
+
height: 200px;
-
 
+
-
#footer h3{
+
-
        margin-bottom: 20px;
+
}
}
Line 101: Line 95:
}
}
-
#footer a{
+
#footer a {
-
    color: #ffffff;
+
color:#ffffff;
-
font-size: 1.5em;
+
}
}
-
#footer a:hover {
 
-
    text-decoration: underline;
 
-
}
 
#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{
 +
float: left;
 +
width: 250px;
}
}
-
#sponsors{
+
#footer3{
-
width: 40%;
+
width: 250px;
-
display: inline-block;
+
margin-left: 50px;
-
background-color: #285459;
+
display: inline-block;
-
padding-left: 30px;
+
-
color: #ffffff;
+
-
text-align: center;
+
}
}
 +
#copyright {
#copyright {
-
text-align: center;
+
font-size: 0.8em !important;
-
font-size: 0.8em;
+
background-color: #285459;
background-color: #285459;
-
padding-bottom: 6px;
+
padding-bottom: 2px;
-
padding-top: 6px;
+
padding-top: 16px;
-
        margin-top: 100px;
+
}
}
Line 144: Line 135:
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; }