body { background-color: #d0e4fe; } h1 { color: white; text-align: center; background: linear-gradient(to bottom, black 0%, gray 50%, black 100%); } p { font-family:"Times New Roman"; font-size:20px; } nav { float: left; padding-right: 40px; padding-bottom: 40px; } nav ol { border: 1px solid red; padding-left: 0px; width: 200px; } nav li { border: 1px solid blue; list-style: none; } nav li a { display: block; text-align: center; color: white; background: linear-gradient(to bottom, black 0%, gray 50%, black 100%); padding: 10px; border-radius: 5px; } nav li a:hover { color: black; background: linear-gradient(to bottom, gray 0%, white 50%, gray 100%); }