Difference between revisions of "Template:Team:TU Eindhoven/Menu CSS"

Line 7: Line 7:
 
   background: #ddeebb;
 
   background: #ddeebb;
 
   width: 100%;
 
   width: 100%;
   text-align: center;}
+
   text-align: center;
 +
  margin: 0;
 +
}
  
 
#navbar ul {
 
#navbar ul {

Revision as of 14:25, 2 May 2015

/* These styles create the dropdown menus. */ #navbar { position: static; padding: .5em 3 .5em 3; float: left; background: #ddeebb; width: 100%; text-align: center; margin: 0; } #navbar ul { list-style: none; margin: 0; padding: 0; position: static; height:200px;} #navbar li { list-style: none; float: left; margin: 0; padding: 0; display: inline; position: static;} #navbar li a { display: block; padding: .3em .4em .3em .4em; text-transform: none; text-decoration: none; color: #004415; font-weight: bold; } #navbar li a:hover { color: #f6f0cc; } #navbar li ul { display: none; } #navbar li:hover ul, #navbar li.hover ul { position: absolute; display: inline; left: 0; width: 100%; margin: 0; padding: 0; } #navbar li:hover li, #navbar li.hover li { float: left; } #navbar li:hover li a, #navbar li.hover li a { color: #000; } #navbar li li a:hover { color: #357; }