Team:Tsinghua-A/navi

From 2014.igem.org

/* Template Name: PlusBusiness File: Navigation CSS Author: OS Templates Author URI: # Licence: <a href="#">Website Template Licence</a>

  • /
  1. topnav{

display:block; float:right; margin:7px 0 0 0; padding:0; list-style:none; font-size:14px; font-weight:bold; font-family:Verdana, Arial, Helvetica, sans-serif; }

  1. topnav ul, #topnav li{

float:left; list-style:none; margin:0; padding:0; }

  1. topnav li a:link, #topnav li a:visited, #topnav li a:hover{

display:block; margin:0; padding:15px 20px; color:#999999; background-color:#333333; }

  1. topnav ul ul li a:link, #topnav ul ul li a:visited{

border:none; }

  1. topnav li.last a{

margin-right:0; }

  1. topnav li a:hover, #topnav ul li.active a{

color:#FFFFFF; background-color:#B2C629; }

  1. topnav li li a:link, #topnav li li a:visited{

width:150px; float:none; margin:0; padding:7px 10px; font-size:12px; font-weight:normal; }

  1. topnav li ul{

z-index:9999; position:absolute; left:-999em; height:auto; width:170px; border-left:1px solid #CCCCCC; border-bottom:1px solid #CCCCCC; }

  1. topnav li ul a{width:140px;}
  1. topnav li ul ul{margin:-32px 0 0 0;}
  1. topnav li:hover ul ul{left:-999em;}
  1. topnav li:hover ul, #topnav li li:hover ul{left:auto;}
  1. topnav li:hover{position:static;}
  1. topnav li.last a{margin-right:0;}

/* ----------------------------------------------Column Navigation-------------------------------------*/

  1. column .subnav{display:block; width:250px; padding:25px; background-color:#F9F9F9; margin-bottom:30px;}
  1. column .subnav h2{

margin:0 0 20px 0; padding:0 0 14px 0; font-size:20px; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; color:#666666; background-color:#F9F9F9; line-height:normal; border-bottom:1px dotted #666666; }

  1. column .subnav ul{

margin:0; padding:0; list-style:none; }

  1. column .subnav li{

margin:0 0 3px 0; padding:0; }

  1. column .subnav ul ul, #column .subnav ul ul ul, #column .subnav ul ul ul ul, #column .subnav ul ul ul ul ul{border-top:none; padding-top:0;}
  1. column .subnav a{

display:block; margin:0; padding:5px 10px 5px 20px; color:#777777; background:url("../images/green_file.gif") no-repeat 10px center #F9F9F9; text-decoration:none; border-bottom:1px dotted #666666; }

  1. column .subnav a:hover{color:#B2C629; background-color:#F9F9F9;}
  1. column .subnav ul ul a, #column .subnav ul ul ul a, #column .subnav ul ul ul ul a, #column .subnav ul ul ul ul ul a{background:url("../images/black_file.gif") no-repeat #F9F9F9;}
  2. column .subnav ul ul a{padding-left:40px; background-position:30px center;}
  3. column .subnav ul ul ul a{padding-left:50px; background-position:40px center;}
  4. column .subnav ul ul ul ul a{padding-left:60px; background-position:50px center;}
  5. column .subnav ul ul ul ul ul a{padding-left:70px; background-position:60px center;}