Difference between revisions of "Team:KU Leuven/test"
Line 23: | Line 23: | ||
} | } | ||
− | .menu | + | .menu>li:first-of-type { |
− | + | float:left; | |
− | + | position:relative; | |
− | + | margin-left: 2em; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .menu a: | + | .menu li a { |
− | + | display:block; | |
+ | font-size:0.9em; | ||
+ | line-height:2em; | ||
+ | padding: 0em 2.5em 1.25em 0em; | ||
+ | vertical-align:middle; | ||
+ | text-decoration:none; | ||
+ | text-transform: uppercase; | ||
+ | border: none; | ||
} | } | ||
+ | .menu-indicator { | ||
+ | width: 100%; | ||
+ | height: 10px; | ||
+ | display:block; | ||
+ | visibility:hidden; | ||
+ | } | ||
+ | |||
+ | |||
+ | .menu ul { | ||
+ | position: absolute; | ||
+ | left: -9999px; | ||
+ | list-style: none; | ||
+ | } | ||
+ | .menu ul li { | ||
+ | float: none; | ||
+ | } | ||
+ | .menu ul a { | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | .menu li:hover ul { | ||
+ | padding-top: 0.8em; | ||
+ | left: 0px; | ||
+ | z-index:1; | ||
+ | } | ||
+ | |||
+ | .menu li:hover ul a { | ||
+ | background: none; | ||
+ | padding: 0.75em 1em 0.75em 1em; | ||
+ | } | ||
Revision as of 09:20, 3 July 2015
https://static.igem.org/mediawiki/2015/d/df/KU_Leuven_Igem_logo-1024x783.png
{{Team:KU_Leuven/CSS}}