Posted By

andyr on 03/05/11


Tagged


Versions (?)

CSS Text 1


 / Published in: CSS
 

  1. /*
  2. 960 Grid System ~ Text CSS.
  3. Learn more ~ http://960.gs/
  4.  
  5. Licensed under GPL and MIT.
  6. */
  7.  
  8. /* `Basic HTML
  9. ----------------------------------------------------------------------------------------------------*/
  10.  
  11. body {
  12. font: 13px/1.5 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
  13. }
  14.  
  15. hr {
  16. border: 0 #ccc solid;
  17. border-top-width: 1px;
  18. clear: both;
  19. height: 0;
  20. }
  21.  
  22. /* `Headings
  23. ----------------------------------------------------------------------------------------------------*/
  24.  
  25. h1 {
  26. font-size: 25px;
  27. }
  28.  
  29. h2 {
  30. font-size: 23px;
  31. }
  32.  
  33. h3 {
  34. font-size: 21px;
  35. }
  36.  
  37. h4 {
  38. font-size: 19px;
  39. }
  40.  
  41. h5 {
  42. font-size: 17px;
  43. }
  44.  
  45. h6 {
  46. font-size: 15px;
  47. }
  48.  
  49. /* `Spacing
  50. ----------------------------------------------------------------------------------------------------*/
  51.  
  52. ol {
  53. list-style: decimal;
  54. }
  55.  
  56. ul {
  57. list-style: disc;
  58. }
  59.  
  60. li {
  61. margin-left: 30px;
  62. }
  63.  
  64. p,
  65. dl,
  66. hr,
  67. h1,
  68. h2,
  69. h3,
  70. h4,
  71. h5,
  72. h6,
  73. ol,
  74. ul,
  75. pre,
  76. table,
  77. address,
  78. fieldset,
  79. figure {
  80. margin-bottom: 20px;
  81. }

Report this snippet  

You need to login to post a comment.