Line 3: | Line 3: | ||
<head> | <head> | ||
<style> | <style> | ||
+ | body { | ||
+ | background-color: #f7f7f7; | ||
+ | } | ||
+ | .logo { | ||
+ | font-family: Arial, sans-serif; | ||
+ | font-weight: 900; | ||
+ | text-decoration: none; | ||
+ | padding: 20px; | ||
+ | letter-spacing: -2; | ||
+ | color: #605E5E | ||
+ | } | ||
+ | red {color: #cc0000 !important;} | ||
#menubar { | #menubar { | ||
list-style-type: none; | list-style-type: none; | ||
Line 9: | Line 21: | ||
padding: 0; | padding: 0; | ||
overflow: hidden; | overflow: hidden; | ||
− | background-color: # | + | background-color: #b9b4b4; |
white-space: nowrap; | white-space: nowrap; | ||
top: 20px; | top: 20px; | ||
Line 19: | Line 31: | ||
li .menuitem, .dropbtn { | li .menuitem, .dropbtn { | ||
display: inline-block; | display: inline-block; | ||
− | + | font-family: Arial, sans-serif; | |
+ | color: #605e5e; | ||
text-align: center; | text-align: center; | ||
padding: 14px 16px; | padding: 14px 16px; | ||
text-decoration: none; | text-decoration: none; | ||
− | |||
− | |||
− | |||
} | } | ||
li.dropdown { | li.dropdown { | ||
Line 33: | Line 43: | ||
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
− | background-color: # | + | background-color: #b9b4b4; |
min-width: 160px; | min-width: 160px; | ||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
Line 45: | Line 55: | ||
text-align: left; | text-align: left; | ||
} | } | ||
− | .dropdown-content .menuitem:hover {background-color: # | + | .dropdown-content .menuitem:hover {background-color: #b9b4b4} |
.dropdown:hover .dropdown-content { | .dropdown:hover .dropdown-content { | ||
display: block; | display: block; | ||
+ | } | ||
+ | li .menuitem:hover, .dropdown:hover .dropbtn { | ||
+ | color: #cc0000; | ||
+ | background-color: #b9b4b4; | ||
} | } | ||
</style> | </style> | ||
Line 68: | Line 82: | ||
<body> | <body> | ||
<ul id="menubar"> | <ul id="menubar"> | ||
− | <li><a href="#logo" class="logo"> | + | <li><a href="#logo" class="logo">BOSTON<red>U</red></a></li> |
− | <li><a href="#news">Project</a></li> | + | <li><a class="menuitem" href="#news">Project</a></li> |
<li class="dropdown"> | <li class="dropdown"> | ||
<a href="javascript:void(0)" class="dropbtn">People</a> | <a href="javascript:void(0)" class="dropbtn">People</a> | ||
Line 95: | Line 109: | ||
</li> | </li> | ||
</ul> | </ul> | ||
− | < | + | <p1>BOSTONU iGEM 2017</p1> |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | ||
</body> | </body> |
Revision as of 20:53, 6 June 2017
<!DOCTYPE html>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.