Posted By

komposition on 03/24/08


Tagged

css textmate


Versions (?)

reset brouser default css (2008-10-25 moded)


 / Published in: Other
 

/******************** Yui font css ********************/ body {font:13px/1.231 arial,helvetica,clean,sans-serif;font-size:small;font:x-small;} table {font-size:inherit;font:100%;} /** * Bump up IE to get to 13px equivalent/ pre,code,kbd,samp,tt {font-family:monospace;font-size:108%;line-height:100%;}

/******************** reset browsers default css ********************/

/******************** 1. Universal selecter ********************/ *{ margin:0; padding:0; zoom:1; }

/******************** html, body ********************/ html{ height:100%; } html>/**/body{ overflow:-moz-scrollbars-vertical; } html:first-child body{ min-height:100%; padding-bottom:1px; }

/******************** table ********************/ table{ border-collapse:collapse; border:none; border-spacing:0; } th,td{ vertical-align:top; /* border:solid 1px #000;*/ font-weight:normal; text-align:left; } caption{ text-align:left; }

/******************** list ********************/ ul,ol,dl{ list-style:none; } li{ display:list-item; zoom:normal; }

/******************** img, object ********************/ img,a img{ vertical-align:bottom; border:none; background:transparent; } object,embed{ vertical-align:top; }

/******************** form ********************/ fieldset{ border:none; } input,textarea{ font-size:100%; }

/******************** text style ********************/ em,address,dfn{ font-style:normal; } ul ul,ul dl,dl ul,table p,table ul,table table{ font-size:100%; }

/******************** hr, other ********************/ hr{ height:0px; margin:7px 0; border:none; border-top:1px solid #000; } * html hr{/* for -IE6 / margin:0; } *:first-child+html hr{/ for IE7 */ margin:0; }

/******************** float fix ********************/ .clearfix:after{ content:"."; display:block; height:0; clear:both; visibility:hidden; }

.clearfix{ overflow:hidden; }

/* Hides from IE-mac */ * html .clearfix{ height:0.1%; overflow:visible; } /* End hide from IE-mac */

/******************** hide outline ********************/ a, a img{ outline: 0; } /******************** end of reset css ********************/

  1. /********************
  2. Yui font css
  3. ********************/
  4. body{
  5. font:13px/1.231 arial,helvetica,clean,sans-serif;
  6. *font-size:small;/* for IE */
  7. *font:x-small;/* for IE in quirks mode */
  8. }
  9.  
  10. select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif;}
  11.  
  12. table{font-size:inherit;font:100%;}
  13.  
  14. pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
  15.  
  16. /********************
  17. reset browsers default css
  18. ********************/
  19.  
  20. /********************
  21. Universal selecter
  22. ********************/
  23. * {
  24. margin: 0;
  25. padding: 0;
  26. }
  27.  
  28. /********************
  29. html, body
  30. ********************/
  31. html {
  32. height:100%;
  33. }
  34. html>/**/body {
  35. overflow:-moz-scrollbars-vertical;
  36. }
  37. html:first-child body {
  38. min-height:100%;
  39. padding-bottom:1px;
  40. }
  41.  
  42. /********************
  43. table
  44. ********************/
  45. table {
  46. border-collapse:collapse;
  47. border:none;
  48. border-spacing:0;
  49. }
  50. th,td {
  51. vertical-align:top;
  52. font-weight:normal;
  53. text-align:left;
  54. }
  55. caption {
  56. text-align:left;
  57. }
  58.  
  59. /********************
  60. list
  61. ********************/
  62. ul,ol,dl {
  63. list-style:none;
  64. }
  65. li {
  66. display:list-item;
  67. }
  68.  
  69. /********************
  70. img, object
  71. ********************/
  72. img,a img {
  73. vertical-align:bottom;
  74. border:none;
  75. background:transparent;
  76. }
  77. object,embed {
  78. vertical-align:top;
  79. }
  80.  
  81. /********************
  82. form
  83. ********************/
  84. fieldset {
  85. border:none;
  86. }
  87.  
  88. /********************
  89. text style
  90. ********************/
  91. em,address,dfn {
  92. font-style:normal;
  93. }
  94. ul ul,ul dl,dl ul,table p,table ul,table table {
  95. font-size:100%;
  96. }
  97.  
  98. /********************
  99. hr, other
  100. ********************/
  101. hr {
  102. height:0px;
  103. margin:7px 0;
  104. border:none;
  105. border-top:1px solid #000;
  106. }
  107. * html hr {/* for -IE6 */
  108. margin:0;
  109. }
  110. *:first-child+html hr {/* for IE7 */
  111. margin:0;
  112. }
  113.  
  114. /********************
  115. float fix
  116. ********************/
  117. .clearfix:after { /*--for modorn brouser--*/
  118. content: ".";
  119. display: block;
  120. clear: both;
  121. height: 0;
  122. }
  123.  
  124. .clearfix{ /*--IE 5.5-7--*/
  125. zoom:1;
  126. }
  127.  
  128. /********************
  129. hide outline
  130. ********************/
  131. a, a img {
  132. outline: 0;
  133. overflow:hidden;
  134. }
  135.  
  136. /********************
  137. end of reset css
  138. ********************/

Report this snippet  

You need to login to post a comment.