(Created page with "<html> <style> body { →About the freeze part in the whole, backgroun color: width: 1250px; margin-left: auto;...") |
|||
Line 1: | Line 1: | ||
+ | |||
<html> | <html> | ||
− | + | ||
+ | <style> | ||
body { /*About the freeze part in the whole, backgroun color*/ | body { /*About the freeze part in the whole, backgroun color*/ | ||
width: 1250px; | width: 1250px; | ||
Line 30: | Line 32: | ||
/* Actually this make the navigation bar bigger and better*/ | /* Actually this make the navigation bar bigger and better*/ | ||
#nav { | #nav { | ||
− | margin: | + | margin: 50px 0 0 0; |
padding: 10px; | padding: 10px; | ||
} | } | ||
Line 61: | Line 63: | ||
} | } | ||
− | ul { | + | #nav ul { |
list-style-type: none; | list-style-type: none; | ||
margin: 0; | margin: 0; | ||
Line 69: | Line 71: | ||
} | } | ||
− | li { | + | #nav li { |
float: left; | float: left; | ||
} | } | ||
− | li a, .dropbtn { | + | #nav li a, .dropbtn { |
display: inline-block; | display: inline-block; | ||
color: white; | color: white; | ||
Line 81: | Line 83: | ||
} | } | ||
− | li a:hover, . | + | #nav li a:hover, #nav .dropdownlist:hover .dropbtn { |
background-color: red; | background-color: red; | ||
} | } | ||
− | li. | + | #nav li.dropdownlist { |
display: inline-block; | display: inline-block; | ||
} | } | ||
− | . | + | #nav .dropdown_content { |
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
Line 98: | Line 100: | ||
} | } | ||
− | . | + | #nav .dropdown_content a { |
color: black; | color: black; | ||
padding: 12px 16px; | padding: 12px 16px; | ||
Line 106: | Line 108: | ||
} | } | ||
− | + | #nav .dropdown_content a:hover { | |
background-color: #f1f1f1 | background-color: #f1f1f1 | ||
} | } | ||
− | + | #nav .dropdownlist:hover .dropdown_content { | |
display: block; | display: block; | ||
} | } | ||
− | </style> | + | </style> |
− | + | <div class="const"> | |
− | + | <div id="nav"> | |
− | + | <ul> | |
− | + | <li class="dropdownlist"> | |
− | + | <a href="javascript:void(0)" class="dropbtn">Project</a> | |
− | + | ||
− | + | <div class="dropdown_content"> | |
− | + | <a href="https://2017.igem.org/Team:SIAT-SCIE/Project_discription" alt="Project discription">Project discription</a> | |
− | + | <a href="#" alt="Results">Results</a> | |
− | + | <a href="#" alt="Proof">Proof</a> | |
− | + | <a href="#" alt="Parts">Parts</a> | |
− | + | </div> | |
− | + | </li> | |
− | + | <li class="dropdownlist"> | |
− | + | <a href="javascript:void(0)" class="dropbtn">Notebook</a> | |
− | + | <div class="dropdown_content" > | |
− | + | <a href="#" alt="IGEM Diary">IGEM Diary</a> | |
− | + | <a href="#" alt="Lab Book">Lab Book</a> | |
− | + | <a href="#" alt="Safety">Safety</a> | |
− | + | <a href="#" alt="Protocol">Protocol</a> | |
− | + | </div> | |
− | + | </li> | |
− | + | <li><a href="#" title="Parts">Parts</a></li> | |
− | + | <li><a href="#" title="Human practice">Human practice</a></li> | |
− | + | <li><a href="#" title="Awards">Awards</a></li> | |
− | + | <li><a href="#" title="Team">Team</a></li> | |
− | + | </ul> | |
− | + | </div> | |
− | + | </div> | |
− | + | <div id="comics"> | |
− | + | <img src="image/titlecomic.jpg" alt="team_logo" /> | |
− | + | <!--also not sure if the image should be the back ground or the seperate one--> | |
− | + | </div> | |
− | + | <div id="basic_discription"> | |
− | + | <p> | |
− | + | <img src="image/discription.png" alt="discription" /> | |
− | + | </p> | |
− | + | </div> | |
− | + | <div id="footer"> | |
− | + | <p>@2017 IGEM SIAT-SCIE All right reserved</p> | |
− | + | <p>Our Wechat Official Accounts: SIATxSCIE</p> | |
− | + | </div> | |
</html> | </html> |
Revision as of 09:30, 21 June 2017