Team:HZAU-China/Notebook

From 2013.igem.org

(Difference between revisions)
Line 4: Line 4:
#background{
#background{
     background-color: #EDFFFF;
     background-color: #EDFFFF;
-
    margin:0;
 
-
    padding:0;
 
     float: left;
     float: left;
     min-height: 800px;
     min-height: 800px;
Line 11: Line 9:
}
}
#sidebar {
#sidebar {
-
     background-color:transportate;
+
     background-color:transparent;
     clear: both;
     clear: both;
     float: left;
     float: left;
     height: auto;
     height: auto;
     width: 220px;
     width: 220px;
-
    margin-bottom: 5px;
+
     padding-top: 5px;
-
     padding-bottom: 5px;
+
     padding-left: 10px;
     padding-left: 10px;
}
}
Line 83: Line 80:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function(){
$(document).ready(function(){
-
var topMain=$("#sidebar").height()-300//是头部的高度加头部与nav导航之间的距离
+
var topMain=$("#sidebar").height()-250//是头部的高度加头部与nav导航之间的距离
var menu=$(".menu");
var menu=$(".menu");
$(window).scroll(function(){
$(window).scroll(function(){

Revision as of 13:03, 24 July 2013