Line 6: | Line 6: | ||
<!-- bootstrap --> | <!-- bootstrap --> | ||
<link rel="stylesheet" href="https://2019.igem.org/Template:CSU_CHINA/CSS/Bootstrap4?action=raw&ctype=text/css" type="text/css"> | <link rel="stylesheet" href="https://2019.igem.org/Template:CSU_CHINA/CSS/Bootstrap4?action=raw&ctype=text/css" type="text/css"> | ||
− | |||
− | |||
<!-- jquery.min.js --> | <!-- jquery.min.js --> | ||
<script src="https://2019.igem.org/Template:CSU_CHINA/JS/jquery?action=raw&ctype=text/javascript"></script> | <script src="https://2019.igem.org/Template:CSU_CHINA/JS/jquery?action=raw&ctype=text/javascript"></script> | ||
Line 20: | Line 18: | ||
<body> | <body> | ||
<style> | <style> | ||
− | #navigator{ margin-top: 16px; z-index: | + | #navigator{ margin-top: 16px; z-index: 10000;} |
#navigator:hover{ background-color: rgb(52,58,64) !important;} | #navigator:hover{ background-color: rgb(52,58,64) !important;} | ||
#navigator .navbar-brand img{ height: 45px; } | #navigator .navbar-brand img{ height: 45px; } | ||
− | #navigator a{ font-size: 16px !important; color: rgb(151,155,158);} | + | #navigator a{ font-size: 16px !important; color: rgb(151,155,158) !important;} |
#navigator .nav-link:hover{ color: white !important;} | #navigator .nav-link:hover{ color: white !important;} | ||
#navigator .dropdown-item{ color: #262626 !important;} | #navigator .dropdown-item{ color: #262626 !important;} | ||
Line 50: | Line 48: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | // 若文档高度小于窗口高度,赞助框位于页面最底部 | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | |||
$(".dropdown").hover(function() { | $(".dropdown").hover(function() { | ||
$('.dropdown-menu', this).stop(true,true).slideToggle("fast"); | $('.dropdown-menu', this).stop(true,true).slideToggle("fast"); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}); | }); | ||
// 滚动渐隐 | // 滚动渐隐 | ||
Line 138: | Line 129: | ||
</body> | </body> | ||
+ | |||
</html> | </html> |
Revision as of 09:13, 21 October 2019