Team:Tuebingen/Templates/TueDropMenu
From 2014.igem.org
(Difference between revisions)
(25 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
- | |||
<html> | <html> | ||
<head> | <head> | ||
Line 12: | Line 10: | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
- | + | text-align: center; | |
line-height: 1.5em !important; | line-height: 1.5em !important; | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 29: | Line 25: | ||
nav ul,nav ul li{ | nav ul,nav ul li{ | ||
- | background-color: | + | background-color: white; |
} | } | ||
nav ul li { | nav ul li { | ||
Line 37: | Line 33: | ||
text-align: left; | text-align: left; | ||
margin-top: -2px; | margin-top: -2px; | ||
- | margin-left: -5px; | + | margin-left: -5px; |
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
nav ul li a { | nav ul li a { | ||
text-decoration: none !important; | text-decoration: none !important; | ||
display: block; | display: block; | ||
- | color: | + | color: black !important; |
padding: 14px 34px 14px 34px !important; | padding: 14px 34px 14px 34px !important; | ||
Line 61: | Line 52: | ||
} | } | ||
nav ul li.cat2:hover a, nav ul li.cat2:hover > ul li a { | nav ul li.cat2:hover a, nav ul li.cat2:hover > ul li a { | ||
- | background-color: # | + | background-color: #FF2727; |
} | } | ||
nav ul li.cat3:hover a, nav ul li.cat3:hover > ul li a { | nav ul li.cat3:hover a, nav ul li.cat3:hover > ul li a { | ||
Line 79: | Line 70: | ||
} | } | ||
nav ul li:hover > a { | nav ul li:hover > a { | ||
- | color: | + | color: white !important; |
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
Line 97: | Line 88: | ||
float: none; | float: none; | ||
display: block; | display: block; | ||
+ | margin-bottom: -1px; | ||
} | } | ||
nav ul li ul li a { | nav ul li ul li a { | ||
- | color: | + | color: white !important; |
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
nav ul li ul li a:hover{ | nav ul li ul li a:hover{ | ||
- | color: | + | color: black!important; |
- | background-color: | + | background-color: white !important; |
text-decoration: none !important; | text-decoration: none !important; | ||
} | } |
Latest revision as of 22:33, 5 October 2014