Difference between revisions of "Template:Team:TU Eindhoven/Menu CSS"
(Created page with "<html> →These styles create the dropdown menus.: #navbar { position: static; padding: .5em 3 .5em 3; float: left; background: #ddeebb; width: 100%; text-al...") |
|||
Line 13: | Line 13: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
− | position: static;} | + | position: static; |
+ | height:40px;} | ||
#navbar li { | #navbar li { |
Revision as of 10:34, 28 April 2015
/* These styles create the dropdown menus. */ #navbar { position: static; padding: .5em 3 .5em 3; float: left; background: #ddeebb; width: 100%; text-align: center;} #navbar ul { list-style: none; margin: 0; padding: 0; position: static; height:40px;} #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; }