Template:Team:UC Davis/Head
From 2014.igem.org
(Difference between revisions)
Line 413: | Line 413: | ||
/* The main navigation links */ | /* The main navigation links */ | ||
- | .nav>li>a { | + | .nav>li>a, .nav>li>p { |
/* Layout & positioning */ | /* Layout & positioning */ | ||
display: block; | display: block; | ||
Line 446: | Line 446: | ||
/* Chaning the background on hover */ | /* Chaning the background on hover */ | ||
- | .nav>li>a:hover, .nav>li:hover>a { | + | .nav>li>a:hover, .nav>li>p:hover .nav>li:hover>a { |
background: rgba(255, 255, 255, .9); | background: rgba(255, 255, 255, .9); | ||
color: #000; | color: #000; | ||
} | } | ||
- | .nav>li:first-child a { | + | .nav>li:first-child a, .nav>li:first-child p { |
border-top-left-radius: 3px; | border-top-left-radius: 3px; | ||
} | } | ||
Line 556: | Line 556: | ||
/* The hover state of the links */ | /* The hover state of the links */ | ||
- | .nav ul li:hover>a, .nav ul li>a:hover { | + | .nav ul li:hover>a, .nav ul li>a:hover, .nav ul li:hover>p, .nav ul li>p:hover { |
background: #c8c8c8; /*e7e7e7 */ | background: #c8c8c8; /*e7e7e7 */ | ||
color: #000000; | color: #000000; |
Revision as of 09:04, 10 October 2014