Template:ULB Header 1bis

From 2010.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<head>
+
<head>
-
<style>
+
<style>
-
.bg {background: url(images/button4.gif);}
+
ul#css3menu,ul#css3menu ul{
-
.menu {padding:0 0 0 32px; margin:0; list-style:none; height:40px; background:#fff url(images/button1a.gif) repeat-x; position:relative; font-family:arial, verdana, sans-serif; }
+
margin:0;list-style:none;background-color:#333;background-image:url("menubk.png");background-repeat:repeat;border-width:0px;border-style:solid;border-color:#999999;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}
-
.menu li.top {display:block; float:left; position:relative;}
+
ul#css3menu ul{
-
.menu li a.top_link {display:block; float:left; height:40px; line-height:33px; color:#bbb; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;}
+
display:none;position:absolute;left:-1px;top:98%;-moz-box-shadow:0.7px 1px 1px #777777;-webkit-box-shadow:0.7px 1px 1px #777777;box-shadow:0.7px 1px 1px #777777;padding:0 9px 9px;background-color:#333;background-image:none;border-width:1px;border-style:solid;border-color:#5A5E60;}
-
.menu li a.top_link span {float:left; font-weight:bold; display:block; padding:0 24px 0 12px; height:40px;}
+
ul#css3menu li:hover>*{
-
.menu li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:40px; background:url(images/down.gif) no-repeat right top;}
+
display:block;}
-
.menu li a.top_link:hover {color:#000; background: url(images/button4.gif) no-repeat;}
+
ul#css3menu li:hover{
-
.menu li a.top_link:hover span {background:url(images/button4.gif) no-repeat right top;}
+
position:relative;}
-
.menu li a.top_link:hover span.down {background:url(images/button4a.gif) no-repeat right top;}
+
ul#css3menu ul ul{
-
 
+
position:absolute;left:98%;top:-2px;}
-
.menu li:hover > a.top_link {color:#000; background: url(images/button4.gif) no-repeat;}
+
ul#css3menu{
-
.menu li:hover > a.top_link span {background:url(images/button4.gif) no-repeat right top;}
+
padding:1px 1px 1px 0;display:block;font-size:0;float:left;width:100%}
-
.menu li:hover > a.top_link span.down {background:url(images/button4a.gif) no-repeat right top;}
+
ul#css3menu li{
-
 
+
display:block;white-space:nowrap;font-size:0;float:left;}
-
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
+
ul#css3menu>li,ul#css3menu li{
-
 
+
margin:0 0 0 1px;}
-
.menu a:hover {visibility:visible;}
+
ul#css3menu ul>li{
-
.menu li:hover {position:relative; z-index:200;}
+
margin:1px 0 0;}
-
 
+
ul#css3menu a:active, ul#css3menu a:focus{
-
.menu ul,
+
outline-style:none;}
-
.menu :hover ul ul,
+
ul#css3menu a{
-
.menu :hover ul :hover ul ul,
+
display:block;vertical-align:middle;text-align:left;text-decoration:none;font:bold 12px Arial,sans-serif;color:#cccccc;cursor:default;padding:10px;background-color:#333;background-image:url("menubk.png");background-position:0 50%;border-width:0px;border-style:none;border-color:#6655FF;}
-
.menu :hover ul :hover ul :hover ul ul,
+
ul#css3menu ul li{
-
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
+
float:none;margin:9px 0 0;}
-
 
+
ul#css3menu ul a{
-
.menu :hover ul.sub {left:2px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #009900; white-space:nowrap; width:200px; height:auto;}
+
text-align:left;padding:8px 0 0 0;background-color:#333;background-image:none;border-width:1px 0 0 0;border-style:solid;border-color:#262626;font:13px Arial,sans-serif;color:#cccccc;text-decoration:none;}
-
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}
+
ul#css3menu li:hover>a{
-
.menu :hover ul.sub li a {font-weight:normal;display:block; font-size:11px; height:20px; width:192px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}
+
background-color:#74be5c;border-color:#665500;border-style:none;font:bold 12px Arial,sans-serif;color:#ffffff;text-decoration:none;background-image:url("menubk.png");background-position:0 100%;}
-
.menu :hover ul.sub li a.fly {background:#fff url(images/arrow.gif) 80px 7px no-repeat;}
+
ul#css3menu img{
-
.menu :hover ul.sub li a:hover {background:#42c555; color:#fff;}
+
border:none;vertical-align:middle;margin-right:20px;width:24px;height:24px;}
-
.menu :hover ul.sub li a.fly:hover {background:#42c555 url(images/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
+
ul#css3menu ul img{
-
.menu :hover ul li:hover > a.fly {background:#42c555 url(images/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
+
width:6px;height:12px;}
-
 
+
ul#css3menu img.over{
-
.menu :hover ul :hover ul,
+
display:none;}
-
.menu :hover ul :hover ul :hover ul,
+
ul#css3menu li:hover > a img.def{
-
.menu :hover ul :hover ul :hover ul :hover ul,
+
display:none;}
-
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
+
ul#css3menu li:hover > a img.over{
-
{left:90px; top:-4px; background: #fff; padding:3px 0; border:1px solid 95d2ee; white-space:nowrap; width:93px; z-index:200; height:auto;}
+
display:inline;}
-
      div#header img{width:965px;}
+
ul#css3menu span{
-
</style>
+
display:block;overflow:visible;background-position:right center;background-repeat:no-repeat;padding-right:0px;}
-
</head>
+
ul#css3menu ul li:hover>a{
-
 
+
background-color:#333;background-image:none;border-style:solid;border-color:#262626;font:13px Arial,sans-serif;color:#74be5c;text-decoration:none;}
-
<body>
+
ul#css3menu li.topfirst>a{
-
<div id="header"><p><img src="https://static.igem.org/mediawiki/2010/f/f4/ULB_header_bis.jpg" class="header" /></p></div>
+
height:16px;line-height:16px;border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;text-shadow:#000000 0px -1px 1px;}
-
<div>
+
ul#css3menu li.topfirst:hover>a{
-
<ul class="menu">
+
line-height:16px;text-shadow:#3d3d3d 0px -1px 1px;}
-
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a></li>
+
ul#css3menu li.topitem>a{
-
<li class="top"><a href="#" class="top_link"><span>Sample Menu This is some longer text</span></a>
+
height:16px;line-height:16px;text-shadow:#000000 0px -1px 1px;}
-
<ul class="sub">
+
ul#css3menu li.topitem:hover>a{
-
<li><a href="#">Sample Menu This is some longer text</a></li>
+
line-height:16px;text-shadow:#3d3d3d 0px -1px 1px;}
-
<li><a href="#">Sample Menu</a></li>
+
ul#css3menu._>li>a{
-
            <li><a href="#">Sample Menu</a></li>
+
padding:0;}
-
            <li><a href="#">Sample Menu</a></li>
+
ul#css3menu li.subfirst>a{
-
            <li><a href="#">Sample Menu</a></li>
+
background-color:#333;background-image:none;border-width:0;border-style:none;padding:0;font:13px Arial,sans-serif;color:#cccccc;text-decoration:none;}
 +
ul#css3menu li.subfirst:hover>a{
 +
background-color:#333;background-image:none;border-style:none;font:13px Arial,sans-serif;color:#74be5c;text-decoration:none;}
 +
ul#css3menu li.toplast>a{
 +
height:16px;line-height:16px;border-radius:0 0px 0px 0;-moz-border-radius:0 0px 0px 0;-webkit-border-radius:0 0px 0px 0;text-shadow:#000000 0px -1px 1px;}
 +
ul#css3menu li.toplast:hover>a{
 +
line-height:16px;text-shadow:#3d3d3d 0px -1px 1px;}
 +
div#header img{width:965px;}
 +
</style>
 +
</head>
 +
<body>
 +
<div id="header"><p><img src="https://static.igem.org/mediawiki/2010/f/f4/ULB_header_bis.jpg" class="header" /></p></div>
 +
<ul id="css3menu">
 +
<li class="topfirst"><a href="#" title="Students">Students</a></li>
 +
<li class="topitem"><a href="#" title="Item 2"><span>Item 2</span></a>
 +
<ul>
 +
<li class="subfirst"><a href="#" title="Item 2 1">Item 2 1</a></li>
 +
<li><a href="#" title="Item 2 0">Item 2 0</a></li>
 +
</ul>
 +
</li>
 +
<li class="toplast"><a href="#" title="&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;">&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;</a></li>
</ul>
</ul>
-
</li>
+
</body>
-
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a>
+
-
<ul class="sub">
+
-
<li><a href="#">Sample Menu This is some longer text</a></li>
+
-
            <li><a href="#">Sample Menu</a></li>
+
-
            <li><a href="#">Sample Menu</a></li>
+
-
            <li><a href="#">Sample Menu</a></li>
+
-
</ul>
+
-
</li>
+
-
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a></li>
+
-
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a></li>
+
-
</ul>
+
-
</div>
+
-
 
+
-
 
+
-
</body>
+
</html>
</html>

Revision as of 11:12, 30 July 2010