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_14: hover {
+
#top_menu_inside {
    background-color: black;}
+
  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_14: li a{
 
    background-color: transparent;}
 
  
#top_menu_14 li a: hover {
+
#top_menu_inside:hover {
    color: white;}
+
  display: block;
 
+
#top_menu_14: hover li a {
+
    color: black;}
+
 
+
#top_menu_under: hover {
+
 
   position: relative;
 
   position: relative;
   width: 100%;
+
   width: auto;
   height: 0px;
+
  height: 100%;
   border-bottom: none;
+
   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;
 +
}*/
  
#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;}*/
 
  
  

Revision as of 05:15, 28 June 2015