Team:INSA-Lyon/css soustitre

From 2014.igem.org

(Difference between revisions)
 
(8 intermediate revisions not shown)
Line 29: Line 29:
padding-bottom: 30px;
padding-bottom: 30px;
padding-left: 50px;
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;
}
}
Line 88: Line 158:
     margin: 25px 25px 15px 25px;
     margin: 25px 25px 15px 25px;
     max-width: 200px;
     max-width: 200px;
 +
    min-width: 155px;
     display: inline-block;
     display: inline-block;
     cursor: pointer;
     cursor: pointer;
 +
position: relative;
}
}
-
.protocolsButtonImage img
+
.pImgOver {
-
{
+
position: absolute;
-
    width:150px;
+
top: 45px;
-
    height:150px;
+
left: 45px;
}
}
Line 105: Line 177:
.protocolsButtonText span
.protocolsButtonText span
{
{
-
     font-family: "Trebuchet MS", Helvetica, sans-serif;
+
     font-family: "LatoReg", sans-serif;
}
}
Line 176: Line 248:
float: right;
float: right;
margin-right: 10px;
margin-right: 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;

}