SHARE
TWEET

Untitled

a guest Sep 20th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. * {
  2.     margin:0;
  3.     padding:0;
  4.     font-family: helvetica;
  5. }
  6.  
  7. div {display: block;}
  8.  
  9. .header {
  10.     width: 100%;
  11.     height: 238px;
  12.     background: rgb(80,80,80);
  13. }
  14.  
  15. .headerContent {
  16.     width: 80%;
  17.     height: 100px;
  18.     display: table;
  19.     margin: 0 auto;
  20.     padding-top: 65px;
  21.     color: white;
  22. }
  23.  
  24. .headerContent h1 {
  25.     font-size: 3em;
  26. }
  27.  
  28. nav {
  29.     display: table;
  30.     width: 80%;
  31.     margin: 35px auto 0 auto;
  32. }
  33.  
  34. nav ul {list-style: none;}
  35.  
  36. nav ul li {
  37.     float: left;
  38.     padding: 10px 40px 10px 40px;
  39.     border-right: 1px solid white;
  40. }
  41.  
  42. nav ul li:last-child {
  43.     border-right: none;
  44. }
  45.  
  46. nav ul li a {
  47.     text-decoration: none;
  48.     color: white;
  49.     font-size: .9em;
  50. }
  51.  
  52. nav ul li:hover, .active {
  53.     background: white;
  54. }
  55.  
  56. nav ul li:hover a, .active a {
  57.     color:black;
  58. }
  59.  
  60. .body {
  61.     width: 80%;
  62.     height: 1000px;
  63.     display: table;
  64.     margin: 20px auto 0 auto;
  65.     background: red;
  66. }
RAW Paste Data
Top