Difference between revisions of "Template:Team:Harvard BioDesign/CSS"
Line 28: | Line 28: | ||
</script> | </script> | ||
− | + | ||
− | + | /* Resizes the menubar to fit the links (default is 400px) */ | |
− | + | ||
− | /* Resizes the menubar to | + | |
#top_menu_14 { | #top_menu_14 { | ||
− | + | position: fixed; | |
− | + | width: 100%; | |
− | + | top: 0px; | |
− | + | left: 0px; | |
− | + | height: 16px; | |
+ | background-color: #383838; | ||
+ | border-bottom: 2px solid black; | ||
+ | z-index: 9999; | ||
+ | } | ||
+ | |||
+ | #top_menu_14: hover { | ||
+ | background-color: black;} | ||
+ | |||
+ | #top_menu_14: li a{ | ||
background-color: transparent;} | background-color: transparent;} | ||
− | + | ||
− | + | #top_menu_14 li a: hover { | |
− | + | ||
− | + | ||
− | #top_menu_14 li a | + | |
− | + | ||
− | + | ||
color: white;} | color: white;} | ||
+ | |||
+ | #top_menu_14: hover li a { | ||
+ | color: black;} | ||
+ | |||
+ | #top_menu_under: hover { | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 0px; | ||
+ | border-bottom: none; | ||
+ | } | ||
+ | |||
+ | #top_menu_under { | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 16px; | ||
+ | border-bottom: 2px solid black; | ||
+ | } | ||
+ | /* | ||
+ | #top_menu_inside { | ||
+ | border-bottom-color: transparent; | ||
+ | border-left-color: transparent; | ||
+ | border-left-style: none; | ||
+ | border-left-width: 0px; | ||
+ | border-right-color: transparent; | ||
+ | border-right-style:none; | ||
+ | border-right-width: 0px; | ||
+ | color: transparent; | ||
+ | display:block; | ||
+ | font-family: helvetica, sans-serif; | ||
+ | font-size: 12px; | ||
+ | font-style: normal; | ||
+ | font-variant: normal; | ||
+ | font-weight: normal; | ||
+ | height: 0px; | ||
+ | line-height: normal; | ||
+ | margin-bottom: 0px; | ||
+ | margin-left: 0px; | ||
+ | margin-right: 0px; | ||
+ | margin-top: 0px; | ||
+ | padding-bottom: 0px; | ||
+ | padding-left: 0px; | ||
+ | padding-right: 0px; | ||
+ | padding-top: 0px; | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | background-color: transparent;}*/ | ||
+ | |||
/*Fix for internet explorer*/ | /*Fix for internet explorer*/ |
Revision as of 04:51, 28 June 2015