Posted By

nealwatkins on 07/13/07


Tagged

css starter Rob


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

basicmagic
marcoba
stoker


CSS starter Rob


 / Published in: CSS
 

URL: CSS starter Rob

CSS starter Rob

  1. /************************************/
  2. /* Table of Contents */
  3. /* 0. Colors */
  4. /* 1. General */
  5. /* */
  6. /* */
  7. /* */
  8. /* */
  9. /* */
  10. /* */
  11. /* */
  12. /* */
  13. /* 99. Printer Styles */
  14. /************************************/
  15.  
  16. /************************************/
  17. /* 0. Colors */
  18. /************************************/
  19.  
  20. /************************************/
  21. /* 1. General */
  22. /************************************/
  23.  
  24. html,body,blockquote,div,dd,dl,dt,h1,h2,h3,h4,h5,h6,li,ol,p,pre,th,td,ul {
  25. margin:0;
  26. padding:0;
  27. }
  28. body {
  29. font-size:62.5%;
  30. }
  31. address,caption,cite,code,dfn,em,strong,th,var {
  32. font-style:normal;
  33. font-weight:normal;
  34. }
  35. caption,th {
  36. text-align:left;
  37. }
  38. code,h1,h2,h3,h4,h5,h6,pre {
  39. font-size:100%;
  40. }
  41. img {
  42. display:block;
  43. }
  44. ol,ul {
  45. list-style:none;
  46. }
  47. :link,:visited {
  48. text-decoration:none;
  49. }
  50. a img,:link img,:visited img {
  51. border:none;
  52. }
  53. q:after,q:before{
  54. content:'';
  55. }
  56. table{
  57. border-collapse:collapse;
  58. border-spacing:0;
  59. }
  60. .clearfix {
  61. display: inline-table;
  62. height: 1%;
  63. display: block;
  64. }
  65. html > body .clearfix {
  66. height: auto;
  67. }
  68. .clearfix:after {
  69. content: ".";
  70. display: block;
  71. height: 0;
  72. clear: both;
  73. visibility: hidden;
  74. }
  75.  
  76. /************************************/
  77. /* 2. */
  78. /************************************/
  79.  
  80. /************************************/
  81. /* 3. */
  82. /************************************/
  83.  
  84. /************************************/
  85. /* 99. Printer Styles */
  86. /************************************/
  87. @media print {
  88. body {
  89. background: #fff;
  90. font-size: 12pt;
  91. }
  92. a:link,
  93. a:visited {
  94. color: #520;
  95. background: transparent;
  96. font-weight: bold;
  97. text-decoration: underline;
  98. }
  99. #content a:link:after,
  100. #content a:visited:after {
  101. content: " (" attr(href) ") ";
  102. font-size: 90%;
  103. }
  104. #content a[href^="/"]:after {
  105. content: " (http://www.thesite.com" attr(href) ") ";
  106. }
  107. }

Report this snippet  

You need to login to post a comment.