Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <script language=javascript> | ||
+ | function hero() | ||
+ | { | ||
+ | var herowidth=1920; | ||
+ | window.resizeTo(herowidth,heroheight); | ||
+ | } | ||
+ | hero(); | ||
+ | </script> | ||
<style> | <style> | ||
Line 362: | Line 370: | ||
.submenu{ | .submenu{ | ||
− | + | width:240px; | |
} | } | ||
− | + | .submenu ul{ | |
+ | width:240px; | ||
+ | } | ||
+ | .submenu li{ | ||
+ | width:240px; | ||
+ | } | ||
+ | |||
nav { | nav { | ||
− | + | width: 1920px; | |
text-align:center; | text-align:center; | ||
Line 376: | Line 390: | ||
} | } | ||
nav ul { | nav ul { | ||
− | |||
border-radius: 0px; | border-radius: 0px; | ||
padding: 0 20px; | padding: 0 20px; | ||
Line 390: | Line 403: | ||
float:left; | float:left; | ||
font-size: 20px; | font-size: 20px; | ||
− | line-height: 50px | + | line-height: 50px; |
+ | |||
} | } | ||
nav ul::after { | nav ul::after { | ||
Line 399: | Line 413: | ||
nav ul li a { | nav ul li a { | ||
display: block; | display: block; | ||
− | + | width: 240px; | |
color: #666666; | color: #666666; | ||
text-decoration: none; | text-decoration: none; | ||
Line 409: | Line 423: | ||
} | } | ||
nav ul li:hover { | nav ul li:hover { | ||
− | + | background:#5f6975; | |
} | } | ||
nav ul li:hover a { | nav ul li:hover a { | ||
Line 442: | Line 456: | ||
ul li{ | ul li{ | ||
list-style: none; | list-style: none; | ||
− | width: | + | width: 240px; |
} | } | ||
+ | |||
+ | |||
</style> | </style> | ||
Line 454: | Line 470: | ||
<html> | <html> | ||
<head> | <head> | ||
− | + | <style type="text/css"> | |
+ | a:link {color: #666666} /* 未访问的链接 */ | ||
+ | a:visited {color: #666666} /* 已访问的链接 */ | ||
+ | a:hover {color: #666666} /* 鼠标移动到链接上 */ | ||
+ | a:active {color: #666666} /* 选定的链接 */ | ||
+ | ul.nav{width:999999px;} | ||
+ | </style> | ||
</head> | </head> | ||
Line 460: | Line 482: | ||
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | ||
<!--- Menu ---> | <!--- Menu ---> | ||
− | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------><body text="# | + | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------><body text="#666666" link="#666666" vlink="#666666" alink="#666666"> |
− | + | <body onresize=hero();> | |
Line 482: | Line 504: | ||
− | + | <div class="nav"> | |
<nav> | <nav> | ||
− | <ul> | + | <ul class="nav"> |
<li><a href="https://2018.igem.org/Team:Fudan-CHINA"> | <li><a href="https://2018.igem.org/Team:Fudan-CHINA"> | ||
<div class="menu_item direct_link"> | <div class="menu_item direct_link"> | ||
Line 672: | Line 694: | ||
</ul> | </ul> | ||
</nav> | </nav> | ||
− | + | </div> | |
</body> | </body> | ||
</html> | </html> |
Revision as of 12:33, 27 July 2018