Team:ETH Zurich/Templates/TestHeader

From 2012.igem.org

(Difference between revisions)
Line 37: Line 37:
.toc, #toc { display: none; }
.toc, #toc { display: none; }
-
/* menu styles */
+
/* Main menu */
#eth_nav ul
#eth_nav ul
{ margin: 0;
{ margin: 0;
Line 117: Line 117:
}
}
 +
/* Submenus */
 +
.eth_submenu {
 +
  margin: 0 auto;
 +
  width: 50%;
 +
}
 +
.eth_submenu ul li {
 +
  float: left;
 +
  list-style: none;
 +
}
 +
 +
.eth_submenu ul li a {
 +
  display: block;
 +
  background: #009966;
 +
  padding: 5px 20px;
 +
  text-decoration: none;
 +
  border-right: 1px solid white;
 +
  color: #EAFFED;
 +
  white-space: nowrap;
 +
}
 +
 +
.eth_submenu ul li strong.selflink {
 +
  display: block;
 +
  background: #009966;
 +
  padding: 5px 20px;
 +
  text-decoration: none;
 +
  border-right: 1px solid white;
 +
  color: #EAFFED;
 +
  white-space: nowrap;
 +
}
 +
 +
.eth_submenu ul li:last-child a {
 +
  border-radius: 0 8px 8px 0;
 +
}
 +
 +
.eth_submenu ul li:last-child strong.selflink {
 +
  border-radius: 0 8px 8px 0;
 +
}
 +
 +
.eth_submenu ul li:first-child {
 +
  display: block;
 +
  background: #009966;
 +
  padding: 5px 20px;
 +
  text-decoration: none;
 +
  border-right: 1px solid white;
 +
  white-space: nowrap;
 +
  border-radius: 8px 0 0 8px;
 +
}
 +
 +
.eth_submenu ul li a:hover {
 +
  background: #99CC99;
 +
}
 +
/* Page main structure */
#eth_page {
#eth_page {
     border: none; margin: 0; padding: 0; width: 975px; height:100%;
     border: none; margin: 0; padding: 0; width: 975px; height:100%;

Revision as of 13:06, 25 September 2012

Eth page header.png