Advertisement
makispaiktis

Codecademy - 2nd Exercise (Wine Festival) - CSS

Aug 14th, 2019 (edited)
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.01 KB | None | 0 0
  1. body {
  2.   background-color: #242f44;
  3.   color: white;
  4.     font-family: 'Oswald', sans-serif;
  5. }
  6.  
  7. header {
  8.   text-align: center;
  9.   margin-top: 5px;
  10. }
  11.  
  12. h1 {
  13.   font-size: 36px;
  14.   padding: 15px;
  15.   color: #8c6b48;
  16.   background-color: white;
  17. }
  18.  
  19. h2 {
  20.   font-size: 24px;
  21.   padding: 15px;
  22.   text-transform: uppercase;
  23. }
  24.  
  25. h3 {
  26.   font-size: 20px;
  27.   padding: 15px;
  28.   text-transform: uppercase;
  29.   text-align: left;
  30.   margin-left: 20px;
  31.   font-weight: 500;
  32.   line-height: 2.7;
  33.   letter-spacing: 0.8px;
  34. }
  35.  
  36. th {
  37.   border: 2px solid #8c6b48;
  38. }
  39.  
  40. table {
  41.   text-align: center;
  42.   margin: 20px auto;
  43. }
  44.  
  45. td {
  46.   border: 2px solid #8c6b48;
  47.   width: 300px;
  48. }
  49.  
  50. footer {
  51.   margin-top: 50px;
  52.   text-align: center;
  53.   position: fixed;
  54.   width: 100%;
  55.   bottom: 5px;
  56.   background-color: #242f44;
  57.   z-index: 5;
  58. }
  59. footer h3 {
  60.   display: inline-block;
  61.   font-size: 14px;
  62.   background-color: #242f44;
  63. }
  64.  
  65. .container {
  66.   max-width: 940px;
  67.   margin: 0 auto;
  68.   height: 800px;
  69. }
  70.  
  71.  
  72. .left {
  73.   width: 150px;
  74. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement