Difference between revisions of "Template:Team:Harvard BioDesign/CSS"
Line 22: | Line 22: | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | /* 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; | ||
+ | z-index: 9999; | ||
+ | } | ||
+ | |||
+ | #top_menu_inside { | ||
+ | display: block; | ||
+ | height: 100%; | ||
+ | margin: 0px auto; | ||
+ | padding: 0 10px; | ||
+ | border-left: none; | ||
+ | border-right: none; | ||
+ | font-family: 'helvetica', sans-serif; | ||
+ | color: transparent; | ||
+ | opacity: 0; | ||
+ | font-size: 12px; | ||
+ | font-weight: 400; | ||
+ | } | ||
+ | |||
+ | |||
+ | #top_menu_inside:hover { | ||
+ | display: block; | ||
+ | height: 100%; | ||
+ | margin: 0px auto; | ||
+ | padding: 0 10px; | ||
+ | font-family: 'helvetica', sans-serif; | ||
+ | font-size: 12px; | ||
+ | opacity: 1; | ||
+ | font-weight: 400; | ||
+ | } | ||
/* Change Background color*/ | /* Change Background color*/ |
Revision as of 18:51, 1 July 2015