Difference between revisions of "Template:Team:TU Eindhoven/Home CSS"
Line 38: | Line 38: | ||
.vid{ | .vid{ | ||
margin: 0 auto; | margin: 0 auto; | ||
+ | width: 800px; | ||
+ | height: 450px; | ||
} | } | ||
</html> | </html> |
Revision as of 22:48, 18 September 2015
#hexagonwrapper{ transform: rotate(90deg); margin: 50px auto; position:relative; } .hexagoncontentwrapper{ text-align:center; position:absolute; height:100%; width:100%; line-height: 80px; } .hexagon{ -webkit-backface-visibility: hidden; pointer-events: none; z-index:0; background-image:url('https://static.igem.org/mediawiki/2015/c/c4/Hexagon3.png'); background-size: 100% 100%; background-repeat: no-repeat; position:absolute; } .hexagontext{ position:relative; margin-top: 12px; } .hexagonimage{ position: relative; pointer-events: none; } .hexagonlogos{ transform: scale(1.5,1.5); } .vid{ margin: 0 auto; width: 800px; height: 450px; }