Team:INSA-Lyon/css soustitre

From 2014.igem.org

(Difference between revisions)
 
(52 intermediate revisions not shown)
Line 2: Line 2:
padding:0;
padding:0;
margin-top: 0;
margin-top: 0;
-
background-color: #ffffff;
+
        background-color: #ffffff;
}
}
/* PAGE SOUS-TITRE*/
/* PAGE SOUS-TITRE*/
#igem{
#igem{
-
padding-top: 25px;
+
padding-top: 15px;
margin-right: 30px;
margin-right: 30px;
text-align: right;
text-align: right;
}
}
-
 
#soustitre{
#soustitre{
margin-top: -25px;
margin-top: -25px;
-
padding:0;
+
padding:0;
-
top:0;
+
top:0;
-
background-position: center top;
+
background-position: center top;
-
background-repeat: no-repeat;
+
background-repeat: no-repeat;
-
text-align: center;
+
text-align: center;
-
height: 50%;
+
height: 320px;
}
}
#presentation {
#presentation {
-
margin-left: 50px;
+
margin: auto;
-
text-align: center;
+
width: 900px;
 +
padding-top: 30px;
 +
padding-bottom: 30px;
 +
padding-left: 50px;
 +
}
 +
 
 +
.curlyon {
 +
    font-weight: bold;
 +
    font-size: 1.2em;
 +
    font-style: italic;
 +
}
 +
 
 +
.presImage {
 +
    display: inline;
 +
}
 +
 
 +
.presHidden {
 +
    display: none;
 +
}
 +
 
 +
.presImage img {
 +
    width: 525px;
 +
}
 +
 
 +
.presCell {
 +
    margin: 10px 0px 35px 0px;
 +
}
 +
 
 +
.presText {
 +
    word-wrap: normal;
 +
    width: 325px;
 +
    margin: 0;
 +
    padding-top: 100px;
 +
    font-size: 1.2em;
 +
}
 +
 
 +
.presText p {
 +
    text-align: justify;
 +
}
 +
 
 +
.presRight {
 +
    float: right;
 +
    padding-left: 20px;
 +
    padding-right: 15px;
 +
}
 +
 
 +
.presLeft {
 +
    float: left;
 +
    padding-left: 15px;
 +
    padding-right: 20px;
 +
}
 +
 
 +
.morePhotos {
 +
    margin-top: 30px;
 +
}
 +
 
 +
.morePhotos a {
 +
    text-decoration: none;
 +
    color: black;
 +
}
 +
 
 +
.morePhotos h1 {
 +
    margin-bottom: 0px;
 +
}
 +
 
 +
#morePhotos {
 +
    margin-top: 10px;
 +
    letter-spacing: 10px;
 +
    padding-left: 3px;
 +
}
 +
 
 +
#morePhotos img {
 +
    width: 440px;
 +
    margin-bottom: 10px;
 +
}
 +
 
 +
.center{
 +
text-align:center;
}
}
.icon {
.icon {
-
    color:#285459;
+
color:#285459;
-
    background:#FFF;
+
background:#FFF;
-
    width:120px;
+
width:120px;
-
     height:72px;
+
     height:70px;
-
     padding-top: 48px;
+
     padding-top: 50px;
     text-align:center;
     text-align:center;
     border-radius:50%;
     border-radius:50%;
     margin-left: 20px;
     margin-left: 20px;
     margin-right: 20px;
     margin-right: 20px;
-
     margin-bottom: 50px;
+
     margin-bottom: 20px;
-
margin-top: 40px;
+
margin-top: 15px;
     overflow: hidden;
     overflow: hidden;
     display: inline-block;
     display: inline-block;
Line 49: Line 125:
.iconmulti {
.iconmulti {
-
background:#FFF;
+
color:#285459;
-
    width:120px;
+
background:#FFF;
-
     height:82px;
+
width:120px;
-
     padding-top: 38px;
+
     height:79px;
 +
     padding-top: 41px;
     text-align:center;
     text-align:center;
     border-radius:50%;
     border-radius:50%;
     margin-left: 20px;
     margin-left: 20px;
     margin-right: 20px;
     margin-right: 20px;
-
     margin-bottom: 50px;
+
     margin-bottom: 20px;
-
margin-top: 40px;
+
margin-top: 15px;
     overflow: hidden;
     overflow: hidden;
     display: inline-block;
     display: inline-block;
Line 65: Line 142:
     transition: all 0.3s ease-out;
     transition: all 0.3s ease-out;
}
}
 +
 +
.protocolsContainer
 +
{
 +
    text-align:center;
 +
}
 +
 +
.protocolsInnerContainer
 +
{
 +
    max-width:950px;
 +
    margin: auto;
 +
}
 +
 +
.protocolsButtonCell
 +
{
 +
    margin: 25px 25px 15px 25px;
 +
    max-width: 200px;
 +
    min-width: 155px;
 +
    display: inline-block;
 +
    cursor: pointer;
 +
position: relative;
 +
}
 +
 +
.pImgOver {
 +
position: absolute;
 +
top: 45px;
 +
left: 45px;
 +
}
 +
 +
.protocolsButtonText
 +
{
 +
    padding-top: 10px;
 +
}
 +
 +
.protocolsButtonText span
 +
{
 +
    font-family: "LatoReg", sans-serif;
 +
}
 +
 +
.protocolsButtonCell:hover span
 +
{
 +
    font-weight: bold;
 +
}
 +
/*--------------------- CSS DU FOOTER ---------------------------------------------*/
/*--------------------- CSS DU FOOTER ---------------------------------------------*/
Line 71: Line 191:
#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 92: Line 208:
}
}
-
#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{
-
#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;
+
        margin-left: -70px;
 +
}
 +
 
 +
#twitter {
 +
        float: right;
 +
        margin-right: 50px;
 +
        margin-left: -60px;
}
}

Latest revision as of 02:19, 18 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; }

.curlyon {

   font-weight: bold;
   font-size: 1.2em;
   font-style: italic;

}

.presImage {

   display: inline;

}

.presHidden {

   display: none;

}

.presImage img {

   width: 525px;

}

.presCell {

   margin: 10px 0px 35px 0px;

}

.presText {

   word-wrap: normal;
   width: 325px;
   margin: 0;
   padding-top: 100px;
   font-size: 1.2em;

}

.presText p {

   text-align: justify;

}

.presRight {

   float: right;
   padding-left: 20px;
   padding-right: 15px;

}

.presLeft {

   float: left;
   padding-left: 15px;
   padding-right: 20px;

}

.morePhotos {

   margin-top: 30px;

}

.morePhotos a {

   text-decoration: none;
   color: black;

}

.morePhotos h1 {

   margin-bottom: 0px;

}

  1. morePhotos {
   margin-top: 10px;
   letter-spacing: 10px;
   padding-left: 3px;

}

  1. morePhotos img {
   width: 440px;
   margin-bottom: 10px;

}

.center{ text-align:center; }

.icon { color:#285459; background:#FFF; width:120px;

   height:70px;
   padding-top: 50px;
   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:79px;
   padding-top: 41px;
   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;

}

.protocolsContainer {

   text-align:center;

}

.protocolsInnerContainer {

   max-width:950px;
   margin: auto;

}

.protocolsButtonCell {

   margin: 25px 25px 15px 25px;
   max-width: 200px;
   min-width: 155px;
   display: inline-block;
   cursor: pointer;

position: relative; }

.pImgOver { position: absolute; top: 45px; left: 45px; }

.protocolsButtonText {

   padding-top: 10px;

}

.protocolsButtonText span {

   font-family: "LatoReg", sans-serif;

}

.protocolsButtonCell:hover span {

   font-weight: bold;

}


/*--------------------- 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;

       margin-left: -70px;

}

  1. twitter {
       float: right;
       margin-right: 50px;
       margin-left: -60px;

}