Team:Tuebingen/Template/Tuebingen
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | |||
+ | /* Test for the dropdown menu */ | ||
+ | |||
+ | |||
+ | #menu { | ||
+ | font-size:14px; | ||
+ | position:absolute; | ||
+ | } | ||
+ | |||
+ | #menu ul { | ||
+ | list-style-type:none; | ||
+ | list-style-image:none; | ||
+ | margin:0px; | ||
+ | padding:0px; | ||
+ | } | ||
+ | |||
+ | #menu li.topmenu { | ||
+ | float:left; | ||
+ | } | ||
+ | |||
+ | .topmenu a { | ||
+ | float:left; | ||
+ | width:110px; | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | .topmenu ul{ | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | .topmenu a, .submenu a{ | ||
+ | padding:1px 5px; | ||
+ | border:1px solid #C37000; | ||
+ | border-collapse:collapse; | ||
+ | color:#C37000; | ||
+ | font-weight:bold; | ||
+ | text-decoration:none; | ||
+ | background-color:#7F4800; | ||
+ | margin:0; | ||
+ | } | ||
+ | |||
+ | .submenu a{ | ||
+ | font-size:12px; | ||
+ | width:110px; | ||
+ | position:relative; | ||
+ | clear:both; /* special IE6 */ | ||
+ | } | ||
+ | |||
+ | #menu a:hover, .topmenu.on a { | ||
+ | color:#4C4C4C; | ||
+ | background-color:#ffddbb !important; | ||
+ | } | ||
+ | |||
+ | .topmenu:hover ul { | ||
+ | display:block; | ||
+ | z-index:500; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
/* credit goes to Team:LMU-Munich for parts of this stylesheet */ | /* credit goes to Team:LMU-Munich for parts of this stylesheet */ | ||
Revision as of 16:38, 7 September 2012