Line 1: | Line 1: | ||
{{IIT-Madras/NewHeader}} | {{IIT-Madras/NewHeader}} | ||
<html> | <html> | ||
+ | |||
+ | <style> | ||
+ | |||
+ | .parallax { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2018/5/53/T--IIT-Madras--langprojlogo.png'); | ||
+ | |||
+ | background-attachment: fixed; | ||
+ | background-position: center; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: cover; | ||
+ | min-height: 1000px; | ||
+ | opacity: 0.8; | ||
+ | } | ||
+ | |||
+ | |||
+ | @media only screen and (max-width: 600px) { | ||
+ | .grid { | ||
+ | |||
+ | grid-template-columns: 100%; | ||
+ | grid-template-areas: | ||
+ | 'g1' | ||
+ | 'g2'; | ||
+ | |||
+ | |||
+ | } | ||
+ | .parallax { | ||
+ | background-image: url('https://static.igem.org/mediawiki/2018/5/53/T--IIT-Madras--langprojlogo.png'); | ||
+ | |||
+ | background-attachment: scroll; | ||
+ | |||
+ | min-height: 200px; | ||
+ | opacity: 0.8; | ||
+ | } | ||
+ | .sticky { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .title_desktop { | ||
+ | |||
+ | top:5%;left:50%; | ||
+ | -ms-transform:translate(-50%,-50%); | ||
+ | transform:translate(-50%,-50%); | ||
+ | } | ||
+ | |||
+ | #navbar { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | } | ||
+ | </style> | ||
+ | <div class="parallax"> | ||
+ | </div> | ||
</html> | </html> |
Revision as of 06:11, 14 October 2018