Difference between revisions of "Template:Team:Harvard BioDesign/Templates:header"
Line 2: | Line 2: | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
.dropdown:hover .dropdown-menu { | .dropdown:hover .dropdown-menu { | ||
− | + | display: block; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | /* Resizes the menubar to fit the links (default is 400px) */ | ||
+ | #top_menu_14 { | ||
+ | position: fixed; | ||
+ | width: 100%; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | height: 16px; | ||
+ | background-color: transparent; | ||
+ | color: transparent; | ||
+ | border-bottom: none; | ||
+ | z-index: 9999; | ||
+ | } | ||
+ | |||
+ | #top_menu_14:hover { | ||
+ | position: fixed; | ||
+ | width: 100%; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | height: 16px; | ||
+ | background-color: #383838; | ||
+ | border-bottom: 2px solid black; | ||
+ | z-index: 9999; | ||
+ | } | ||
+ | |||
+ | #top_menu_inside { | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | width: 75%; | ||
+ | height: 100%; | ||
+ | margin: 0px auto; | ||
+ | padding: 0 10px; | ||
+ | border-left: none; | ||
+ | border-right: none; | ||
+ | font-family: 'helvetica', sans-serif; | ||
+ | font-size: 12px; | ||
+ | font-weight: 400; | ||
+ | color: transparent; | ||
+ | } | ||
+ | |||
+ | |||
+ | #top_menu_inside:hover { | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | width: 75%; | ||
+ | height: 100%; | ||
+ | margin: 0px auto; | ||
+ | padding: 0 10px; | ||
+ | border-left: 1px solid #c8c8c8; | ||
+ | border-right: 1px solid #c8c8c8; | ||
+ | font-family: 'helvetica', sans-serif; | ||
+ | font-size: 12px; | ||
+ | font-weight: 400; | ||
+ | color: #ffffff; | ||
+ | } | ||
</style> | </style> | ||
Revision as of 16:23, 29 June 2015