Advertisement
makispaiktis

Codecademy - 12th Course (CSS Example)

Oct 6th, 2019 (edited)
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.87 KB | None | 0 0
  1. body {
  2.   background-color: white;
  3.   font-family: 'Raleway', sans-serif;
  4. }
  5.  
  6. .navigation ul {
  7.   margin: 0;
  8.   padding: 0;
  9.   text-align: center;
  10. }
  11.  
  12. .navigation li {
  13.   font-weight: 100;
  14.   letter-spacing: 2px;
  15.   padding: 20px;
  16. }
  17.  
  18. .navigation  li.logo {
  19.   color: black;
  20.   font-size: 18px;
  21.   font-weight: 700;
  22.   letter-spacing: 4px;
  23. }
  24.  
  25. #banner {
  26.   background-image: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-6/htmlcss1-img_tahoe.jpeg");
  27.   background-size: cover;
  28.   background-position: bottom center;
  29.   height: 700px;
  30.   width: 100%;
  31. }
  32.  
  33. #banner .content h1 {
  34.   border: 3px solid white;
  35.   position: relative;
  36.   top: 50px;
  37.   width: 400px;
  38.   margin: 0 auto;
  39. }
  40.  
  41. #main {
  42.   margin: 0 auto;
  43.   padding: 40px;
  44.   text-align: center;
  45.   width: 400px;
  46.   height: 1000px;
  47.   overflow: scroll;
  48. }
  49.  
  50. h1 {
  51.   color: white;
  52.   font-size: 42px;
  53.   font-weight: 600;
  54.   text-align: center;
  55. }
  56.  
  57. h2 {
  58.   border: 1px dotted red;
  59.   color: red;
  60.   font-size: 14px;
  61.   line-height: 48px;
  62.   padding: 20px 30px;
  63.   margin: 30px 20px;
  64.   text-align: center;
  65. }
  66.  
  67. h3 {
  68.   color: red;
  69.   font-size: 26px;
  70.   font-weight: 700;
  71.   padding: 20px 10px;
  72. }
  73.  
  74. p {
  75.   color: grey;
  76.   font-size: 16px;
  77.   line-height: 48px;
  78.   margin-top: 60px;
  79.   padding: 10px 20px;
  80. }
  81.  
  82. .pull-quote {
  83.   margin: 0 auto;
  84.   width: 400px;
  85. }
  86.  
  87. .byline {
  88.   border-bottom: 1px solid LightGrey;
  89.   border-top: 1px solid LightGrey;
  90.   color: DarkGrey;
  91.   font-size: 14px;
  92.   font-weight: 200;
  93. }
  94.  
  95. .share {
  96.   border: 1px solid LightGrey;
  97.   padding: 40px 0px;
  98.   position: relative;
  99.   text-align: center;
  100.   width: 100%;
  101. }
  102.  
  103. .share a {
  104.   background: red;
  105.   border: 1px solid red;
  106.   border-radius: 3px;
  107.   color: white;
  108.   display: inline-block;
  109.   margin: 10px;
  110.   padding: 14px;
  111.   text-decoration: none;
  112. }
  113.  
  114. .share a:hover {
  115.   background: white;
  116.   border: 1px solid red;
  117.   color: red;
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement