Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * {
- margin:0;
- padding:0;
- font-family: helvetica;
- }
- div {display: block;}
- .header {
- width: 100%;
- height: 238px;
- background: rgb(80,80,80);
- }
- .headerContent {
- width: 80%;
- height: 100px;
- display: table;
- margin: 0 auto;
- padding-top: 65px;
- color: white;
- }
- .headerContent h1 {
- font-size: 3em;
- }
- nav {
- display: table;
- width: 80%;
- margin: 35px auto 0 auto;
- }
- nav ul {list-style: none;}
- nav ul li {
- float: left;
- padding: 10px 40px 10px 40px;
- border-right: 1px solid white;
- }
- nav ul li:last-child {
- border-right: none;
- }
- nav ul li a {
- text-decoration: none;
- color: white;
- font-size: .9em;
- }
- nav ul li:hover, .active {
- background: white;
- }
- nav ul li:hover a, .active a {
- color:black;
- }
- .body {
- width: 80%;
- height: 1000px;
- display: table;
- margin: 20px auto 0 auto;
- background: red;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement