Template:Team:SCUT/Home/mainhead
From 2014.igem.org
(Difference between revisions)
(12 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
<style type="text/css"> | <style type="text/css"> | ||
/* hiding the top section*/ | /* hiding the top section*/ | ||
- | body{position:absolute; top:0px; width:100%; height: | + | body{position:absolute; top:0px; width:100%;height:auto;font-family:微软雅黑;background:transparent;} |
#top-section{ | #top-section{ | ||
height:0px; | height:0px; | ||
Line 12: | Line 12: | ||
padding:0 0 0 0; | padding:0 0 0 0; | ||
background-color:transparent; | background-color:transparent; | ||
- | |||
} | } | ||
#p-logo{display:none;} | #p-logo{display:none;} | ||
Line 23: | Line 22: | ||
#globalWrapper{position:absolute; top:0px;left:0px; width:100%; padding:0 0 0 0;margin:0 0 0 0;height:100%;font-family: calibri, Arial, Helvetica, sans-serif;} | #globalWrapper{position:absolute; top:0px;left:0px; width:100%; padding:0 0 0 0;margin:0 0 0 0;height:100%;font-family: calibri, Arial, Helvetica, sans-serif;} | ||
#content{ | #content{ | ||
+ | position:absolute; | ||
background-color:transparent; | background-color:transparent; | ||
border:none; | border:none; | ||
Line 29: | Line 29: | ||
marign:0 auto; | marign:0 auto; | ||
padding:0 0 0 0; | padding:0 0 0 0; | ||
- | + | top:0px; | |
} | } | ||
#bodyContent{ | #bodyContent{ | ||
Line 138: | Line 138: | ||
.background{position:absolute;width:100%;height:60px;background-color:#000000;} | .background{position:absolute;width:100%;height:60px;background-color:#000000;} | ||
- | .header{top: | + | .header{top:0px;left:0px;} |
- | .footer{top: | + | .footer{top:590px;left:0px;} |
#mainbody{position:absolute;top:65px;left:0px;height:530px;width:100%;opacity:1;} | #mainbody{position:absolute;top:65px;left:0px;height:530px;width:100%;opacity:1;} | ||
#mainbody img{width:80px;height:80px;} | #mainbody img{width:80px;height:80px;} | ||
- | #HOME{width:836px;height:416px;margin:57px auto;overflow:hidden;} | + | #HOME{position:relative;width:836px;height:416px;margin:57px auto;overflow:hidden;z-index:1000;} |
- | #left_home{position:absolute;height:530px;width: | + | #left_home{position:absolute;height:530px;width:100%;margin-left:0px;} |
.team{position:absolute;opacity:1;display:none;cursor:pointer;} | .team{position:absolute;opacity:1;display:none;cursor:pointer;} | ||
.team img{position:absolute;z-index:1000;} | .team img{position:absolute;z-index:1000;} | ||
Line 167: | Line 167: | ||
.dp_1{margin-left:420px;margin-top:252px;} | .dp_1{margin-left:420px;margin-top:252px;} | ||
.dp_2{margin-left:420px;margin-top:336px;} | .dp_2{margin-left:420px;margin-top:336px;} | ||
+ | .dp_3{margin-left:420px;margin-top:168px;} | ||
.hp{position:absolute;opacity:1;display:none;cursor:pointer;} | .hp{position:absolute;opacity:1;display:none;cursor:pointer;} | ||
.hp_1{margin-left:672px;margin-top:84px;} | .hp_1{margin-left:672px;margin-top:84px;} | ||
Line 258: | Line 259: | ||
}); | }); | ||
$(".background").mouseenter(function(){ | $(".background").mouseenter(function(){ | ||
+ | $(".team").fadeOut(); | ||
+ | $(".model").fadeOut(); | ||
+ | $(".project").fadeOut(); | ||
+ | $(".dp").fadeOut(); | ||
+ | $(".hp").fadeOut(); | ||
+ | }); | ||
+ | $("#left_home").mouseover(function(){ | ||
$(".team").fadeOut(); | $(".team").fadeOut(); | ||
$(".model").fadeOut(); | $(".model").fadeOut(); |
Latest revision as of 22:53, 17 October 2014