Team:British Columbia/ubcigem2013.css

From 2013.igem.org

(Difference between revisions)
Line 56: Line 56:
li:hover li {
li:hover li {
     float: none;
     float: none;
 +
    margin-left: 0px;
     font-size: 11px;
     font-size: 11px;
}
}

Revision as of 19:05, 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: 0;
   padding: 0;
   list-style: none;

}

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

} 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; } li:hover ul {

   display: block;
   position: absolute;

} li:hover li {

   float: none;
   margin-left: 0px;
   font-size: 11px;

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

   background: #1e7c9a;

}