rohits134

Style Sheet

Aug 7th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.14 KB | None | 0 0
  1. html, body
  2. {
  3.     background-color: #FFFFFF;
  4.     color: #000000;
  5.     font: normal 90%/1.8em 'Lucida Grande', Verdana, Geneva, Lucida, Helmetica, Ariel, sans-serif;
  6.     margin: 0;
  7.     height: 100%;
  8. }
  9. h1
  10. {
  11.     font-size:1.6em;
  12.     margin:1.0em 0em 1.0em 0em;
  13.     font-weight:bold;
  14.     color:#a83930;
  15. }
  16. p
  17. {
  18.     font-size:1.1em;
  19.     line-height: 1.8em;
  20.     margin: 1.1em 0em 1.1em 0em;
  21.     text-align: left;
  22. }
  23. ul
  24. {
  25.     font-size:1.1em;
  26. }
  27. a:link, a:visited
  28. {
  29.     color:#cc3300;
  30.     text-decoration: underline;
  31. }
  32. a:hover
  33. {
  34.     text-decoration:none;
  35. }
  36. a:active
  37. {
  38.     color: #ff9900;
  39. }
  40. #header
  41. {
  42.     height:67px;
  43.     padding: 0 0px 0 0px;
  44.     color: #a83930;
  45.     background-color:#000000;
  46.     border-bottom: 8px solid #d30a1a;
  47. }
  48. #header h1
  49. {
  50.     padding: 10px 0 0 0;
  51.     margin: 10px 0 0 0px;
  52.     color: #FFFFFF;
  53.     margin-left: 10px;
  54.     margin-bottom: 10px;
  55. }
  56. #logo
  57. {
  58.     background-color:#000000;
  59.     background: url(C:/Users/rohit/Sample Pictures/penguins.jpg);
  60.     background-position: top left;
  61.     background-repeat: no-repeat;
  62.     height: 100px;
  63.     width: 100px;
  64.     border: 0;
  65.     float:left;
  66. }
  67. #content
  68. {
  69.     margin-left: 210px;
  70.     padding: 0 20px 1.8em 10px;
  71.     background-color: #fff;
  72. }
  73. .code
  74. {
  75.     color: #a83930;
  76.     background-color: #fdea12;
  77.     font:0.9em/1.4em verdana, arial, helvetica, sans-serif;
  78.     float:right;
  79.     border: solid 1px #a83930;
  80.     padding: 10px;
  81. }
  82. #sidebar
  83. {
  84.     float: left;
  85.     padding: 0 10px 10px 10px;
  86.     background-color: #656565;
  87.     background-repeat:repeat-y;
  88.     background-position:top left;
  89.     border-top:2px solid #656565;
  90.     border-bottom: 2px solid #656565;
  91.     width: 168px;
  92.     height: 500px;
  93. }
  94. html>body #sidebar
  95. {
  96.     width:180px;
  97. }
  98. #sidebar h3
  99. {
  100.     font-weight:bold;
  101.     padding-bottom:0.5em;
  102.     border-bottom: 1px dashed #fdea12;
  103.     color: #fdea12;
  104. }
  105. #nav a:link #nav a:visited
  106. {
  107.     width:99.99%;
  108.     color: #FFFFFF;
  109.     text-decoration: none;
  110.     padding: 0.25em 0.5em 0.25em 0.5em;
  111.     font-weight:bold;
  112. }
  113. #nav a:hover
  114. {
  115.     text-decoration:none;
  116.     color:#FFFFFF;
  117. }
  118. title
  119. {
  120.     color:#a83930;
  121.     font: bold 1.0em/1.0em verdana, arial, helvetica, sans-serif;
  122.     text-align: center;
  123.     padding-bottom: 5px;
  124.     border-bottom: #a83930 thin-solid;
  125.     margin-bottom: 5px;
  126. }
  127. #footer
  128. {
  129.     padding: 0 20px 1.8em 10px;
  130.     border-top: 1px solid #000000;
  131.     clear:both;
  132. }
  133. #footer p
  134. {
  135.     font:normal 0.8em/0.9em verdana, arial, helvetica, sans-serif;
  136.     color: #666;
  137. }
  138. #footer p.left
  139. {
  140.     float: left;
  141.     clear:left;
  142. }
  143. #footer p.right
  144. {
  145.     float:right;
  146.     clear:right;
  147. }
  148. .spacer
  149. {
  150.     clear:both;
  151. }
  152. dd, dt
  153. {
  154.     font-size:0.95em;
  155. }
  156. #mainTitle
  157. {
  158.     font-size:2.0em;
  159.     font-weight:bold;
  160.     visibility:hidden;
  161. }
  162. .pageTitle
  163. {
  164.     font-size:1.5em;
  165.     font-weight:bold;
  166. }
  167. .itemTitle
  168. {
  169.     border-bottom:1px solid #a83930;
  170.     font-size:1.5em;
  171. }
  172. .itemContent
  173. {
  174.     padding-bottom:1.8em;
  175. }
  176. box
  177. {
  178.     border:solid 1px #a83930;
  179. }
  180. .boxFloat
  181. {
  182.     float:left;
  183. }
  184. .boxFloatRight
  185. {
  186.     border: solid 1px #a83930;
  187.     float:right;
  188. }
  189. .floatRight
  190. {
  191.     float:right;
  192. }
Advertisement
Add Comment
Please, Sign In to add comment