Line 7: | Line 7: | ||
body { | body { | ||
background-color: white; | background-color: white; | ||
+ | } | ||
+ | |||
+ | nav { | ||
+ | text-align: center; | ||
+ | left: 0; | ||
+ | right: 0; | ||
+ | } | ||
+ | |||
+ | .nav-list { | ||
+ | list-style: none; | ||
+ | padding-left: 0; /* gets rid of antomatic 40px padding on left side of list */ | ||
+ | overflow: hidden; /* makes the list the height of its elements */ | ||
+ | margin-top: 0; | ||
+ | margin-bottom: 0; | ||
} | } | ||
Revision as of 22:58, 29 May 2020