Bioluminati (Talk | contribs) |
Bioluminati (Talk | contribs) |
||
(26 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<!--------------------------> | <!--------------------------> | ||
− | |||
<html> | <html> | ||
<head> | <head> | ||
Line 16: | Line 15: | ||
right: 0; | right: 0; | ||
bottom: 0; | bottom: 0; | ||
− | background-color: rgba( | + | background-color: rgba(255,255,255,1); |
z-index: 2; | z-index: 2; | ||
cursor: pointer; | cursor: pointer; | ||
Line 23: | Line 22: | ||
#text{ | #text{ | ||
position: absolute; | position: absolute; | ||
− | top: | + | top: 20%; |
left: 50%; | left: 50%; | ||
font-size: 50px; | font-size: 50px; | ||
− | color: | + | color: black; |
+ | align: right; | ||
transform: translate(-50%,-50%); | transform: translate(-50%,-50%); | ||
-ms-transform: translate(-50%,-50%); | -ms-transform: translate(-50%,-50%); | ||
Line 35: | Line 35: | ||
<div id="overlay" onclick="off()"> | <div id="overlay" onclick="off()"> | ||
− | + | <div id="text">Won SILVER @ iGEM 2018</div> | |
+ | <img src="https://static.igem.org/mediawiki/2018/f/fa/T--IIT_Kanpur--Banner.png" style="width:30vw;margin:15vw 35vw"> | ||
</div> | </div> | ||
<script> | <script> | ||
+ | window.onload = function on() { | ||
+ | document.getElementById("overlay").style.display = "block"; | ||
+ | } | ||
function off() { | function off() { | ||
− | document.getElementById("overlay").style.display = " | + | document.getElementById("overlay").style.display = "none"; |
} | } | ||
</script> | </script> | ||
Line 47: | Line 51: | ||
</body> | </body> | ||
</html> | </html> | ||
+ | |||
<!-------------------------------> | <!-------------------------------> |
Latest revision as of 09:34, 6 December 2018