Team:McMaster-Ontario/css
From 2012.igem.org
(Difference between revisions)
Line 141: | Line 141: | ||
display:block; | display:block; | ||
} | } | ||
+ | |||
+ | #menu li ul{ | ||
+ | list-style: none outside none; | ||
+ | display:none; | ||
+ | position: absolute; | ||
+ | margin : 0px; | ||
+ | padding: 0px; | ||
+ | } | ||
+ | |||
+ | #menu ul ul { | ||
+ | padding: 0px; | ||
+ | } | ||
+ | |||
+ | #menu li ul li{ | ||
+ | margin : 0px; | ||
+ | width:inherit; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | #menu li ul li:hover { | ||
+ | height:auto; | ||
+ | float:none; | ||
+ | text-align:left; | ||
+ | } | ||
+ | |||
+ | |||
+ | #menu ul li { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | #menu a { | ||
+ | display: block; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #menu a:hover { | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | |||
+ | #menu li:hover { | ||
+ | background-color:#B41111; | ||
+ | height: 27px; | ||
+ | border-top-right-radius: 5px; | ||
+ | border-top-left-radius: 5px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #menu li:hover ul { | ||
+ | display:block; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 01:21, 15 February 2013