Team:British Columbia/ubcigem2013.css

From 2013.igem.org

(Difference between revisions)
Line 58: Line 58:
     white-space: nowrap;
     white-space: nowrap;
}
}
-
ul li a:hover {
+
#mainmenu li a:hover {
background: #3b3b3b;
background: #3b3b3b;
}
}

Revision as of 18:54, 18 August 2013

/* Get rid of the default iGEM style... thanks DTU Denmark 2011! */

  1. contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
   display:none;}
  1. top-section {
   border: none;
   height: 20px;}
  1. content {
   border: none;
   border-radius: 5px;}

/* Removes "teams" from the menubar */

  1. menubar.left-menu > ul > li:last-child {
   display: none;}

/* Resizes the menubar to fit the links (default is 400px) */

  1. menubar.left-menu {
   width: auto;}


p {font-family: sans-serif;} .menu {border-collapse: collapse;

      background-color: #258019;
      width: 1004px;
      box-shadow: 0px 5px 2px #616161;
      text-align: center;
      margin-left: -20px;
      margin-right: auto;}

.menuopt {padding: 5px;} a:link.menulink {color: white;

      font-size: 18px;}

a:visited.menulink {color: white;} a:hover.menulink {color: #E9E9E9;} a:active.menulink {color: #E9E9E9;}


  1. mainmenu {
   font-family: Arial, Verdana;
   font-size: 14px;
   margin: 0;
   padding: 0;
   list-style: none;

} ul li {

   display: block;
   position: relative;
   float: left;

} li #mainmenu {

   display: none;

}

  1. mainmenu li a {
   display: block;
   text-decoration: none;
   color: #ffffff;
   border-top: 1px solid #ffffff;
   padding: 5px 15px 5px 15px;
   background: #1e7c9a;
   margin-left: 1px;
   white-space: nowrap;

}

  1. mainmenu li a:hover {

background: #3b3b3b; } li:hover ul {

   display: block;
   position: absolute;

} li:hover li {

   float: none;
   font-size: 11px;

} li:hover a { background: #3b3b3b; } li:hover li a:hover {

   background: #1e7c9a;

}