Template:MIT-header
From 2012.igem.org
(Difference between revisions)
Line 117: | Line 117: | ||
.nav a:hover{ | .nav a:hover{ | ||
background-color:#A3ABAE; | background-color:#A3ABAE; | ||
+ | text-decoration:none; | ||
} | } | ||
Line 135: | Line 136: | ||
.nav ul a{ | .nav ul a{ | ||
white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */ | white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */ | ||
+ | text-decoration:none; | ||
} | } | ||
.nav li:hover ul{ /* Display the dropdown on hover */ | .nav li:hover ul{ /* Display the dropdown on hover */ | ||
left:0; /* Bring back on-screen when needed */ | left:0; /* Bring back on-screen when needed */ | ||
+ | text-decoration:none; | ||
} | } | ||
.nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */ | .nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */ | ||
background:#6b0c36; | background:#6b0c36; | ||
+ | text-decoration:none; | ||
} | } | ||
Line 151: | Line 155: | ||
.nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */ | .nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */ | ||
background:#333; | background:#333; | ||
+ | text-decoration:none; | ||
} | } | ||
Revision as of 15:39, 1 August 2012