.nav ul li a { text-decoration: none; height: 100%; padding: 1ex; color: #334; } .nav ul li:hover { background: #0b8aa8; color: #fff; } .nav ul li.active { background: #0b8aa8; color: #fff; } .nav ul li.active a , .nav ul li:hover a { color: #fff; } .logo { width: 60px; } .header { padding: 1ex; } .page-container { margin: auto; background: #fff; max-width: 800px; border-radius: 7px; border: 1px solid #fff; } .content-container { min-height: 15em; }