Difference between revisions of "Template:NYMU-2015project-wetlab"
Line 14: | Line 14: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | #topleft { | |
− | + | left:5% | |
− | + | top:5% | |
− | #topleft { | + | height:10% |
− | + | width:10% | |
− | + | } | |
− | + | ||
− | + | #topright { | |
− | + | height:10% | |
− | + | width:10% | |
− | width:10% | + | left:20% |
− | } | + | top:5% |
− | + | } | |
− | #topright { | + | |
− | + | #downleft { | |
− | + | height:10% | |
− | + | width:10% | |
− | + | bottom:5% | |
− | + | left:5% | |
− | + | } | |
− | + | ||
− | } | + | #downright { |
− | + | height:10% | |
− | #downleft { | + | width:10% |
− | + | left:20% | |
− | + | bottom:5% | |
− | + | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | #downright { | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
Line 82: | Line 62: | ||
+ | #left1 { | ||
+ | height:30%; | ||
+ | padding-top:3%; | ||
+ | height:40% | ||
+ | z-index: 0; | ||
+ | left: 5%; | ||
+ | |||
+ | position: absolute; | ||
+ | box-shadow:4px 4px 3px rgba(20%,20%,40%,0.5); | ||
+ | } | ||
− | + | #left2 { | |
− | + | padding-top:3%; | |
+ | height:30%; | ||
+ | z-index: 0; | ||
+ | left: 23.75%; | ||
+ | position: absolute; | ||
+ | box-shadow:4px 4px 3px rgba(20%,20%,40%,0.5); | ||
+ | } | ||
</style> | </style> | ||
Line 102: | Line 98: | ||
$(window).resize(function() { | $(window).resize(function() { | ||
$('#Slider').css('height', ($('body').width() / 2.5)); | $('#Slider').css('height', ($('body').width() / 2.5)); | ||
+ | |||
+ | |||
+ | |||
Line 116: | Line 115: | ||
<div id="container"> | <div id="container"> | ||
− | <div id="Slider"> | + | <div id="Slider"><div id="left1"><img src="https://static.igem.org/mediawiki/2015/0/07/Nymu-Experiment_logo.jpg" height="100%"></div> |
− | + | <div id="left2"><img src="https://static.igem.org/mediawiki/2015/3/3c/Nymu-Modeling_logo.jpg" height="100%" ></div> | |
− | + | <img src="https://static.igem.org/mediawiki/2015/2/2a/Intro.gif" width="100%" z-index="-1"> | |
− | + | ||
− | + | ||
+ | </div> | ||
Revision as of 22:09, 12 August 2015