Team:Tsinghua-A/css/menu.css

From 2013.igem.org

(Difference between revisions)
(Created page with "#cssmenu { border: none; border: 0px; margin: 0px; padding: 0px; font: 67.5% 'Lucida Sans Unicode', 'Bitstream Vera Sans', 'Trebuchet Unicode MS', 'Lucida Grande', Verd...")
Line 21: Line 21:
}
}
#cssmenu li a {
#cssmenu li a {
-
   background: #333333 url('images/seperator.png') bottom right no-repeat;
+
   background: #333333 url('https://static.igem.org/mediawiki/2013/3/3f/Seperator.gif') bottom right no-repeat;
   display: block;
   display: block;
   font-weight: normal;
   font-weight: normal;
Line 38: Line 38:
#cssmenu li > a:hover,
#cssmenu li > a:hover,
#cssmenu ul li:hover > a {
#cssmenu ul li:hover > a {
-
   background: #1f7899 url('images/hover.png') bottom center no-repeat;
+
   background: #1f7899 url('https://static.igem.org/mediawiki/2013/f/f7/Hover.png') bottom center no-repeat;
   color: #FFFFFF;
   color: #FFFFFF;
   text-decoration: none;
   text-decoration: none;
Line 60: Line 60:
}
}
#cssmenu li li {
#cssmenu li li {
-
   background: url('images/sub_sep.png') bottom left no-repeat;
+
   background: url('https://static.igem.org/mediawiki/2013/3/3f/Sub_sep.gif') bottom left no-repeat;
   display: block;
   display: block;
   float: none;
   float: none;
Line 81: Line 81:
#cssmenu li ul a:hover,
#cssmenu li ul a:hover,
#cssmenu li ul li:hover > a {
#cssmenu li ul li:hover > a {
-
   background: #1f7899 url('images/hover_sub.png') center left no-repeat;
+
   background: #1f7899 url('https://static.igem.org/mediawiki/2013/2/2b/Hover_sub.png') center left no-repeat;
   border: 0px;
   border: 0px;
   color: #ffffff;
   color: #ffffff;

Revision as of 06:43, 27 September 2013

  1. cssmenu {
 border: none;
 border: 0px;
 margin: 0px;
 padding: 0px;
 font: 67.5% 'Lucida Sans Unicode', 'Bitstream Vera Sans', 'Trebuchet Unicode MS', 'Lucida Grande', Verdana, Helvetica, sans-serif;
 font-size: 14px;
 font-weight: bold;
 width: auto;

}

  1. cssmenu ul {
 background: #333333;
 height: 35px;
 list-style: none;
 margin: 0;
 padding: 0;

}

  1. cssmenu li {
 float: left;
 padding: 0px;

}

  1. cssmenu li a {
 background: #333333 url('https://static.igem.org/mediawiki/2013/3/3f/Seperator.gif') bottom right no-repeat;
 display: block;
 font-weight: normal;
 line-height: 35px;
 margin: 0px;
 padding: 0px 25px;
 text-align: center;
 text-decoration: none;

}

  1. cssmenu > ul > li > a {
 color: #cccccc;

}

  1. cssmenu ul ul a {
 color: #cccccc;

}

  1. cssmenu li > a:hover,
  2. cssmenu ul li:hover > a {
 background: #1f7899 url('https://static.igem.org/mediawiki/2013/f/f7/Hover.png') bottom center no-repeat;
 color: #FFFFFF;
 text-decoration: none;

}

  1. cssmenu li ul {
 background: #333333;
 display: none;
 height: auto;
 padding: 0px;
 margin: 0px;
 border: 0px;
 position: absolute;
 width: 225px;
 z-index: 200;
 /*top:1em;

/*left:0;*/

}

  1. cssmenu li:hover ul {
 display: block;

}

  1. cssmenu li li {
 background: url('https://static.igem.org/mediawiki/2013/3/3f/Sub_sep.gif') bottom left no-repeat;
 display: block;
 float: none;
 margin: 0px;
 padding: 0px;
 width: 225px;

}

  1. cssmenu li:hover li a {
 background: none;

}

  1. cssmenu li ul a {
 display: block;
 height: 35px;
 font-size: 12px;
 font-style: normal;
 margin: 0px;
 padding: 0px 10px 0px 15px;
 text-align: left;

}

  1. cssmenu li ul a:hover,
  2. cssmenu li ul li:hover > a {
 background: #1f7899 url('https://static.igem.org/mediawiki/2013/2/2b/Hover_sub.png') center left no-repeat;
 border: 0px;
 color: #ffffff;
 text-decoration: none;

}

  1. cssmenu p {
 clear: left;

}