Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"

Line 7: Line 7:
 
}
 
}
 
function init() {
 
function init() {
   $('#toc ul a').click(function(){setTimeout("scrollBy(0, -20)", 100)})
+
   $('#toc ul a').click(function(){setTimeout("scrollBy(0, -20)", 10)})
 
}
 
}
  
Line 113: Line 113:
 
#toc ul a {
 
#toc ul a {
 
   border-left: 1em solid;
 
   border-left: 1em solid;
   padding-left: 1em;
+
   padding-left: 0.5em;
 
}
 
}
 
#toc ul ul a {
 
#toc ul ul a {
   padding-left: 3em;
+
   padding-left: 1.5em;
 
}
 
}
  

Revision as of 14:48, 16 August 2015