Difference between revisions of "Template:Team:TU Eindhoven/Application scenarios CSS"

Line 58: Line 58:
 
height:90%;
 
height:90%;
 
position:absolute;
 
position:absolute;
bottom:-75%;
+
bottom:-79%;
 
transition: all 0.5s ease;
 
transition: all 0.5s ease;
 
}
 
}

Revision as of 17:58, 13 September 2015

.textholder { width:100%; margin: 10px 0px; } .columnholder { width:100%; overflow:hidden; } .leftColumn { width:45%; margin-right:1%; float:left; } .rightColumn { width:45%; margin-left:1%; margin-top:auto; margin-bottom:auto; float:right; } .rightColumnImage { margin-top:20px; } .centeredImage { display:block; margin-top:3%; margin-left:auto; margin-right:auto; } .centeredImageCaption { display:block; margin-top:3%; margin-left:10%; margin-right:10%; margin-bottom:3%; } .selector { display:block; float:left; width:33.2%; height:250px; overflow:hidden; position:relative; } .scenarioText { background-color:rgba(255,255,255,0.5); padding:10px; height:90%; position:absolute; bottom:-79%; transition: all 0.5s ease; } .selector:hover .scenarioText { background-color:rgba(255,255,255,0.9); bottom:0; } #scenarioSelector { width:102%; overflow:hidden; margin: 10px 0px; } #qFeverScenario { width:100%; height:0; overflow:hidden; transition: height 5s; } #intestinesScenario { width:100%; display:none; } #pesticidesScenario { width:100%; display:none; }