Guest User

Untitled

a guest
Sep 18th, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.16 KB | None | 0 0
  1. header, nav, section, article, figure, figcaption, aside, footer
  2. {
  3.     display: block;
  4. }
  5.  
  6. body
  7. {
  8.     color: #666666;
  9.     background-color: #e7e7e7;
  10.     background-image: url("images/kayu.jpg");
  11.     background-position: center;
  12.     font-family: Georgia, 'Times New Roman', Times, serif;
  13.     line-height: 1.4em;
  14.     margin: 0px;
  15. }
  16.  
  17. .wrapper
  18. {
  19.     width: 940px;
  20.     margin: 20px auto 20px auto;
  21.     border: 2px solid #000000;
  22.     background-color: #fcfcfc;
  23. }
  24.  
  25. header
  26. {
  27.     height: 160px;
  28.     background-image: url("images/header.png");
  29. }
  30.  
  31. h1
  32. {
  33.     text-indent: -9999px;
  34.     width: 940px;
  35.     height: 130px;
  36.     margin: 0px;
  37. }
  38.  
  39. nav, footer
  40. {
  41.     clear: both;
  42.     color: #ffffff;
  43.     background-color: #de6581;
  44.     height: 30px;
  45. }
  46.  
  47. nav ul
  48. {
  49.     margin: 0px;
  50.     padding: 5px 0px 5px 30px;
  51. }
  52.  
  53. nav li
  54. {
  55.     display: inline;
  56.     margin-right: 40px;
  57. }
  58.  
  59. nav li a
  60. {
  61.     color: #ffffff;
  62. }
  63.  
  64. nav li a:hover, nav li a.current
  65. {
  66.     font-weight: bolder;
  67.     color: #f0efef;
  68. }
  69.  
  70. section.courses
  71. {
  72.     float: left;
  73.     width: 659px;
  74.     border-right: 1px solid #eeeeee;
  75. }
  76.  
  77. article
  78. {
  79.     clear: both;
  80.     overflow: auto;
  81.     width: 100%;
  82. }
  83.  
  84. hgroup
  85. {
  86.     margin-top: 40px;
  87. }
  88.  
  89. figure
  90. {
  91.     float: left;
  92.     width: 300px;
  93.     height: 220px;
  94.     padding: 5px;
  95.     margin: 20px;
  96.     background-color: #ffffff;
  97.     border: 1px solid #eeeeee;
  98. }
  99.  
  100. figure img
  101. {
  102.     width: 280px;
  103.     height: 200px;
  104. }
  105.  
  106. figcaption
  107. {
  108.     font-size: 90%;
  109.     text-align: center;
  110. }
  111.  
  112. aside
  113. {
  114.     width: 230px;
  115.     float: left;
  116.     padding: 0px 0px 0px 20px;
  117. }
  118.  
  119. aside section a
  120. {
  121.     display: block;
  122.     padding: 10px;
  123.     border-bottom: 1px solid #eeeeee;
  124. }
  125.  
  126. aside section a:hover
  127. {
  128.     color: #985d6a;
  129.     background-color: #efefef;
  130. }
  131.  
  132. a
  133. {
  134.     color: #de6581;
  135.     text-decoration: none;
  136. }
  137.  
  138. h1, h2, h3
  139. {
  140.     font-weight: normal;
  141. }
  142.  
  143. h2
  144. {
  145.     margin: 10px, 0px, 5px, 0px;
  146.     padding: 0px;
  147. }
  148.  
  149. h3
  150. {
  151.     margin: 0px, 0px, 10px, 0px;
  152.     color: #de6581;
  153. }
  154.  
  155. aside h2
  156. {
  157.     padding: 30px 0px 10px 0px;
  158.     color: #de6581;
  159. }
  160.  
  161. footer
  162. {
  163.     font-size: 80%;
  164.     height: 30px;
  165.     padding: 7px, 0px, 0px, 20px;
  166. }
Advertisement
Add Comment
Please, Sign In to add comment