Difference between revisions of "Template:Team:Harvard BioDesign/CSS"
Line 31: | Line 31: | ||
/* Resizes the menubar to fit the links (default is 400px) */ | /* Resizes the menubar to fit the links (default is 400px) */ | ||
#top_menu_14 { | #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; | position: fixed; | ||
width: 100%; | width: 100%; | ||
Line 41: | Line 53: | ||
} | } | ||
− | # | + | #top_menu_inside { |
− | + | display: block; | |
+ | position: relative; | ||
+ | width: auto; | ||
+ | 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: #ffffff; | ||
+ | } | ||
− | |||
− | |||
− | # | + | #top_menu_inside:hover { |
− | + | display: block; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
position: relative; | position: relative; | ||
− | width: 100%; | + | width: auto; |
− | + | height: 100%; | |
− | border- | + | 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; | ||
+ | }*/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 05:15, 28 June 2015