Team:British Columbia/ubcigem2013.css

From 2013.igem.org

(Difference between revisions)
Line 17: Line 17:
body {
body {
-
   font-family: arial;
+
   font-family: sans-serif;
   background-image: url('https://static.igem.org/mediawiki/2013/8/8b/Debut_light_%402X_darker.png');
   background-image: url('https://static.igem.org/mediawiki/2013/8/8b/Debut_light_%402X_darker.png');
}
}

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

body {

  font-family: sans-serif;
  background-image: url('https://static.igem.org/mediawiki/2013/8/8b/Debut_light_%402X_darker.png');

}

p {

   font-size: 14px;

}

p, h1, h2, h3, h4, h5, h6, li {

  margin-left: 25px;
  margin-right: 25px;

}

  1. mainmenu {
   width: 1010px;
   font-size: 14px;
   margin-left: -20px;
   padding: 0;
   list-style: none;

}

  1. mainmenu li {
   display: block;
   position: relative;
   width: 126px;
   margin-bottom: 20px;
   float: left;
   margin-left: 0;
   margin-right: 0;

}

  1. mainmenu li ul {
   display: none;

}

  1. mainmenu li a {
   display: block;
   text-decoration: none;
   color: #000000;
   padding: 5px 15px 5px 15px;
   background: #A6DF96;
   margin-left: 0px;
   white-space: nowrap;

}

  1. mainmenu li a:hover {

background: #CEF6C3; }

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

}

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

}

  1. mainmenu li:hover a { background: #CEF6C3; }
  2. mainmenu li:hover li a:hover {
   background: #A6DF96;

}