/* Before */ * { font-family: Verdana, sans-serif; } div#content { width: 750px; margin: 0 auto; padding-top: 25px; } nav { padding-top: 60px; background-image: url("soflogo.png"); background-repeat: no-repeat; border-bottom: 1px solid black; } nav ul { list-style-type: none; text-align: right; margin-bottom: 10px; } nav ul li { display: inline; padding: 6px 15px; border-bottom: 5px solid #333; } nav ul li a { text-decoration: none; color: #000; } nav ul li:hover { border-bottom-color: #ED1C24; } p { line-height: 1.5em; } /* After */ $theme: #ED1C24; * { font-family: Verdana, sans-serif; } div#content { width: 750px; margin: 0 auto; padding-top: 25px; } nav { padding-top: 60px; background-image: url("soflogo.png"); background-repeat: no-repeat; border-bottom: 1px solid black; ul { list-style-type: none; text-align: right; margin-bottom: 10px; li { display: inline; padding: 6px 15px; border-bottom: 5px solid #333; a { text-decoration: none; color: #000; } &:hover { border-bottom-color: $theme; } } } } p { line-height: 1.5em; }