Difference between revisions of "Template:ETH Zurich/index css"

Line 118: Line 118:
 
.goals > figure.goals {
 
.goals > figure.goals {
 
     float:left;
 
     float:left;
     width: 300px;
+
     width: 310px;
 
     padding-right: 80px;
 
     padding-right: 80px;
 +
    padding-bottom: 50px;
 
}
 
}
  

Revision as of 23:18, 28 October 2017

main h1 {

   color: black;
   font-weight: bold;
   font-size: 24px;

}

button a {

   color: #181818;
   font-size: 16px;
   text-decoration: none;
   text-transform: uppercase;

}


button a:hover {

   text-decoration: none;

}

main p {

   font-size: 24px;
   line-height: 130%;

}


  1. banner {
   margin-top: -30px;
   margin: auto;
   width: 100%;

}

main button {

   background-color: #d8d8d8;
   padding: 10px;
   border: none;
   letter-spacing: 2px;
   transition: all 0.3s ease 0s;
   text-align: center;

}

main button:hover {

   background-color: #bcbcbc;
   padding: 10px;
   border: none;
   letter-spacing: 2px;

}


main section {

   padding-bottom: 50px;

}


div.space {

   padding: 40px;

}

.vision > figure.EcN {

   float:left;
   width: 250px;
   padding-right: 80px;

}

.circuit > figure.andgate {

   float: right;
   width: 250px;
   padding-left: 80px;

}

.step > figure {

   float: right;
   width: 400px;

}

.step.invert > figure {

   float: left;
   width: 250px;

}


div.why {

   width: 100%

}

}

.step > a {

   display: block;
   margin: 0px;

}

.break > figure {

   margin-right: auto;
   margin-left: auto;
   width: 650px;

}


figure.process {

   width: 1200px;
   margin: auto;
   padding-top: 45px;

}

.drylab > figure.drylab {

   width: 220px;
   float: left;
   padding-right: 80px;
   padding-top: 20px;

}

.wetlab > figure.wetlab {

   width: 150px;
   float: right;
   padding-left: 80px;

}

.goals > figure.goals {

   float:left;
   width: 310px;
   padding-right: 80px;
   padding-bottom: 50px;

}


figure.scroll {

   -webkit-transition:all .3s ease-out;
   -moz-transition:all .3s ease-out;
   -ms-transition:all .3s ease-out;
   -o-transition:all .3s ease-out;
   transition:all .3s ease-out;

}

figure.scroll:hover {

   -webkit-transform:translate(0px,10px);
   -moz-transform:translate(0px,10px);
   -ms-transform:translate(0px,10px);
   -o-transform:translate(0px,10px);
   transform:translate(0px,10px);

}


.scroll-down-button {

   background-image: url('https://static.igem.org/mediawiki/2017/1/14/T--ETH_Zurich--Scroll.png') no-repeat center;
   margin: auto;
   display: block;
   width: 50px;
   padding: 90px;

}


@media screen and (min-width: 620px) {

   .step {/*
       align-items: center;
       flex-flow: row nowrap;
   */}
   .step.invert {/*
       flex-flow: row-reverse nowrap;
   */}

}