Advertisement
Guest User

css

a guest
Mar 1st, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. *{margin: 0; padding: 0;}
  2.  
  3. html {
  4. background: #45aa99; /* Old browsers */
  5. background: -moz-linear-gradient(top, #10aaff 0%, #2288aa 100%); /* FF3.6+ */
  6. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,10aaff), color-
  7. stop(100%,#2288aa)); /* Chrome,Safari4+ */
  8. background: -webkit-linear-gradient(top, #10aaff 0%,#2288aa 100%);
  9. /* Chrome10+,Safari5.1+ */
  10. background: -o-linear-gradient(top, #10aaff 0%,#2288aa 100%); /* Opera 11.10+ */
  11. background: -ms-linear-gradient(top, #10aaff 0%,#2288aa 100%); /* IE10+ */
  12. background: linear-gradient(to bottom, #10aaff 0%,#2288aa 100%); /* W3C */
  13. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#10aaff',
  14. endColorstr='#2288aa',GradientType=0 ); /* IE6-9 */
  15. }
  16.  
  17. body {
  18. font-family: Arial, Helvetica, sans-serif;
  19. color: #000000;
  20. background-image: url(images/backgroundobject.png);
  21. background-position: top; /*positioned to the top of the page*/
  22. background-repeat: repeat-x; /*repeat horizontally*/
  23. }
  24.  
  25. h1 {
  26. font-size: 36px;
  27. line-height: 36px;
  28. color: #fff;
  29. }
  30.  
  31. h2 {
  32. font-size: 24px;
  33. line-height: 24px;
  34. color: #39275B; /*purple*/
  35. /*padding-top: 8px;*/
  36. margin-bottom:10px;/*changed*/
  37. }
  38.  
  39. h3 {
  40. font-size: 18px;
  41. line-height: 18px;
  42. color: #39275B; /*purple*/
  43. padding-top: 10px;/*changed*/
  44. margin-bottom:4px;/*changed*/
  45. }
  46.  
  47. p {
  48. font-size: 16px;
  49. line-height: 24px;
  50. margin-bottom: 10px;
  51. }
  52.  
  53. ol,ul {
  54. font-size: 16px;
  55. line-height: 24px;
  56. padding-left: 40px;
  57. margin-bottom: 10px;
  58. }
  59.  
  60. #header {
  61. width: 980px; /*change the width*/
  62. margin: 0 auto;
  63. padding-top: 20px; /*change the padding*/
  64. }
  65.  
  66. #header a {
  67. color: #fff; /*white*/
  68. text-decoration: none; /*remove underline*/
  69. }
  70.  
  71. #header a:hover {
  72. color: #66ffa8;
  73. }
  74.  
  75. #navigation {
  76. width: 980px;
  77. margin: 0 auto;
  78. padding: 10px 0;
  79. color: #fff;
  80. }
  81.  
  82. #navigation ul {
  83. overflow: hidden; /* prevents the great collapse */
  84. /*border: 1px solid grey;*/
  85. padding: 10px 0;
  86. margin: 0; /* overwrites existing margins */
  87. }
  88.  
  89. #navigation ul li {
  90. list-style: none;
  91. float: left;
  92. margin: 0; /* overwrites existing margins */
  93. margin-right: 20px; /* gives the items space between */
  94. }
  95.  
  96. #navigation ul li a {
  97. color: #FFF; /* let's use white for the default link state */
  98. text-decoration: none; /* this disables the default underline */
  99. }
  100.  
  101. #navigation ul li a:hover {
  102. color: #66ffa8;
  103. }
  104.  
  105. #content {
  106. width: 940px;
  107. /*background-image: url(images/bg-960.png);*/
  108. background-position: center;
  109. background-repeat: repeat-y;
  110. background-color:#FFFFFF;
  111. overflow: hidden; /* prevents the great collapse */
  112. margin: 0 auto;
  113. padding: 20px; /* change padding to 20px all around */
  114. border-radius: 10px; /* adds rounded corners */
  115. }
  116.  
  117. #content a {
  118. color: #39275B; /* purple */
  119. }
  120.  
  121. #content a:hover {
  122. color: #C79900; /* gold */
  123. }
  124.  
  125. #text {
  126. width: 620px;
  127. float: left;
  128. }
  129.  
  130. #sidebar {
  131. width: 300px;
  132. float: right;
  133. }
  134.  
  135. #sidebar ul {
  136. padding-left: 0px; /* overwrite general padding */
  137. }
  138.  
  139. #sidebar ul li {
  140. list-style: none; /* removes default bullet */
  141. background-image:url(images/new-bullet.png);
  142. background-position: left; /* positioned to the left */
  143. background-repeat: no-repeat; /* do not repeat background */
  144. padding-left: 10px; /* creates padding so we can see the background image */
  145. }
  146.  
  147. #footer {
  148. width: 980px; /* change the width */
  149. margin: 0 auto;
  150. padding: 20px 0; /* change the padding */
  151. /*border: 1px solid black;*/
  152. color: #FFF; /* give all text elements a color of white */
  153. }
  154.  
  155. #footer a {
  156. color: #FFFFFF; /* white */
  157. }
  158.  
  159. #footer a:hover {
  160. color: #C79900; /* gold */
  161. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement