Posted By

nerdfiles on 06/06/09


Tagged

css


Versions (?)

CSS New Doc (Two-column)


 / Published in: CSS
 

  1. @charset "utf-8";
  2.  
  3. /*
  4.  * Author: Aaron Alexander (nerdfiles.net)
  5.  */
  6.  
  7. /* Kill defaults */
  8. /*-----------------------------------------------------------------------------------*/
  9. * { margin: 0; padding: 0; border: none; outline: 0; list-style: none; vertical-align: baseline; }
  10.  
  11. /* Definitions */
  12. /*-----------------------------------------------------------------------------------*/
  13. body { font: 12px Helvetica; line-height: 1.5em; }
  14.  
  15. /* Common elements (block) */
  16. /*-----------------------------------------------------------------------------------*/
  17. h1 { }
  18. h2 { }
  19. h3 { }
  20. h4 { }
  21. h5 { }
  22. h6 { }
  23. form { }
  24. input { }
  25. ul { }
  26. ul li { }
  27. ol { }
  28. ol li { }
  29. dl { }
  30. dt { }
  31. dd { }
  32. table { border: 0px; border-collapse: collapse; border-spacing: 0px; }
  33. caption { }
  34. table td, table th { margin: 0px; padding: 0.1em; empty-cells: show; vertical-align: top; }
  35. table tr { }
  36. p { margin: 0.5em 0; }
  37. blockquote { }
  38. blockquote p { }
  39. address { font-style: normal; }
  40. acronym, abbr { border-bottom: 1px #000 dashed; cursor: help; }
  41.  
  42. /* Common elements (inline) */
  43. /*-----------------------------------------------------------------------------------*/
  44. img { border: none; }
  45. input { }
  46. label { }
  47. span { }
  48.  
  49. /* Hyperlinks */
  50. /*-----------------------------------------------------------------------------------*/
  51. a { text-decoration: none; }
  52. a:hover { }
  53. a img { border: none; }
  54.  
  55. /* Classes for those who like to overcompensate (General global classes) */
  56. /*-----------------------------------------------------------------------------------*/
  57. .clear { clear: both; }
  58. .clear-left { clear: left; }
  59. .clear-right { clear: right; }
  60. .clear-hack:after { content: "clear"; clear: both; display: block; visibility: hidden; height: 0; }
  61.  
  62. .float-left { float: left; }
  63. .float-right { float: right; }
  64.  
  65. .text-left { text-align: left; }
  66. .text-right { text-align: right; }
  67. .text-center { text-align: center; }
  68. .text-justify { text-align: justify; }
  69.  
  70. .bold { font-weight: bold; }
  71. .italic { font-style: italic; }
  72. .underline { border-bottom: 1px solid; }
  73. .highlight { background: #ffc; }
  74.  
  75. .img-left { float: left; margin: 0.2em 1em 0.2em 0; }
  76. .img-right { float: right; margin: 0.2em 0 0.2em 1em; }
  77.  
  78. .nopadding { padding: 0; }
  79. .noindent { margin-left: 0; padding-left: 0; }
  80. .nobullet { list-style: none; list-style-image: none; }
  81.  
  82. .alignright { float: right; }
  83. .alignright { float: left; }
  84.  
  85. /* Local classes */
  86. /*-----------------------------------------------------------------------------------*/
  87.  
  88.  
  89. /* #jacket (wrapper) */
  90. /*-----------------------------------------------------------------------------------*/
  91. #jacket { width: 960px; margin: 0 auto; }
  92.  
  93. /* #header */
  94. /*-----------------------------------------------------------------------------------*/
  95. #header { }
  96.  
  97. /* #nav */
  98. /*-----------------------------------------------------------------------------------*/
  99. #nav { }
  100.  
  101. /* #container */
  102. /*-----------------------------------------------------------------------------------*/
  103. #container { }
  104.  
  105. /* #content */
  106. /*-----------------------------------------------------------------------------------*/
  107. #content { }
  108.  
  109. /* #sidebar */
  110. /*-----------------------------------------------------------------------------------*/
  111. #sidebar { }
  112.  
  113. /* #feets */
  114. /*-----------------------------------------------------------------------------------*/
  115. #feets { }

Report this snippet  

You need to login to post a comment.