Team:British Columbia/ubcigem2013.css

From 2013.igem.org

(Difference between revisions)
Line 31: Line 31:
     display: block;
     display: block;
     position: relative;
     position: relative;
-
     width: 150px;
+
     width: 145px;
     float: left;
     float: left;
}
}

Revision as of 19:13, 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;}


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

}

  1. mainmenu li {
   display: block;
   position: relative;
   width: 145px;
   float: left;

}

  1. mainmenu li ul {
   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; }

  1. mainmenu li:hover ul {
   margin: 0px;
   display: block;
   position: absolute;

}

  1. mainmenu li:hover li {
   float: none;
   font-size: 11px;

}

  1. mainmenu li:hover a { background: #3b3b3b; }
  2. mainmenu li:hover li a:hover {
   background: #1e7c9a;

}