Difference between revisions of "Team:SDU-Denmark/css/content"

Line 11: Line 11:
 
   width:100%;
 
   width:100%;
 
   background-repeat: no-repeat;
 
   background-repeat: no-repeat;
   position:relative;
+
   position: absolute;
 
   bottom:0;
 
   bottom:0;
 
   overflow:hidden;
 
   overflow:hidden;

Revision as of 11:18, 16 September 2017

  1. homePage {
 width: 100%;
 height:97vh;
 background-color: #fff;
 text-align: center;
 box-shadow: 0 2px 5px rgba(0, 0, 0, .5), 0 2px rgba(0, 0, 0, .1);

}

object {

 height:97vh;
 width:100%;
 background-repeat: no-repeat;
 position: absolute;
 bottom:0;
 overflow:hidden;

}


  1. homePageText {
 width:800px;
 padding-top:200px;
 display: inline-block;

}

  1. abstract {
 padding-bottom:40px;

}

  1. abstractPictureOuter {
 text-align: center;
 margin-top:100px;

}

  1. abstractPicture {
 display: inline-block;
 width:300px;
 height:300px;
 background: url(T--SDU-Denmark--LeafActive.jpg);
 background-size: 100% 100%;
 background-repeat: no-repeat;

}


  1. presentationContent {
 background-color: rgba(153, 172, 168, 0.3);
 padding-top:1px;
 box-shadow:0 -2px 0 rgba(0,0,0,.1),0 -2px 5px rgba(0,0,0,.5);

}


  1. presentationGradient {
   height: 100px;
   background: rgba(153, 172, 168, 0.1); /* For browsers that do not support gradients */    
   background: -webkit-linear-gradient(0deg, rgba(153, 172, 168, 0.12), rgba(153, 172, 168, 0)); /* For Safari 5.1 to 6.0 */
   background: -o-linear-gradient(0deg, rgba(153, 172, 168, 0.12), rgba(153, 172, 168, 0)); /* For Opera 11.1 to 12.0 */
   background: -moz-linear-gradient(0deg, rgba(153, 172, 168, 0.12), rgba(153, 172, 168, 0)); /* For Firefox 3.6 to 15 */
   background: linear-gradient(0deg, rgba(153, 172, 168, 0.12), rgba(153, 172, 168, 0)); /* Standard syntax (must be last) */

}