Team:UCL-London/static/navbarstyles.css

From 2013.igem.org

(Difference between revisions)
(Created page with "#nav_container { width:100%; height:25px; background:#C0C0C0; font-family:Ubuntu, sans-serif; } #navbar { height:25px; margin-left: auto; margin-right: auto; width:975px; } div...")
Line 15: Line 15:
}
}
-
div.navlink,
+
div.navlink
-
div.navgap
+
{
{
height:25px;
height:25px;
Line 25: Line 24:
div.navlink
div.navlink
{
{
-
width:95px;
+
width:108px;
position:relative;
position:relative;
}
}
Line 41: Line 40:
top:0;  
top:0;  
left:0;
left:0;
-
}
 
-
 
-
div.navgap
 
-
{
 
-
width:15px;
 
}
}

Revision as of 10:16, 7 August 2013

  1. nav_container

{ width:100%; height:25px; background:#C0C0C0; font-family:Ubuntu, sans-serif; }

  1. navbar

{ height:25px; margin-left: auto; margin-right: auto; width:975px; }

div.navlink { height:25px; background:#C0C0C0; float:left; }

div.navlink { width:108px; position:relative; }

div.navlink:hover { background:white; }

div.navlink a { position:absolute; width:100%; height:100%; top:0; left:0; }