Team:UC Chile/style

From 2012.igem.org

(Difference between revisions)
Line 92: Line 92:
#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:underline;
+
text-decoration:none;
}
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
Line 98: Line 98:
}
}
#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: #EEE;
 +
        color: black;
 +
 
}
}

Revision as of 03:34, 20 March 2012