reset.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. /**
  3. * CSS reset
  4. *
  5. * @package Elgg.Core
  6. * @subpackage UI
  7. */
  8. ?>
  9. /* <style> /**/
  10. /* ***************************************
  11. RESET CSS
  12. *************************************** */
  13. html, body, div, span, applet, object, iframe,
  14. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  15. a, abbr, acronym, address, big, cite, code,
  16. del, dfn, em, font, img, ins, kbd, q, s, samp,
  17. small, strike, strong, sub, sup, tt, var,
  18. dl, dt, dd, ol, ul, li,
  19. fieldset, form, label, legend,
  20. table, caption, tbody, tfoot, thead, tr, th, td {
  21. margin: 0;
  22. padding: 0;
  23. border: 0;
  24. font-weight: inherit;
  25. font-style: inherit;
  26. font-size: 100%;
  27. font-family: inherit;
  28. vertical-align: baseline;
  29. }
  30. body {
  31. background-color: white;
  32. }
  33. <?php // force vertical scroll bar ?>
  34. html, body {
  35. height: 100%;
  36. margin-bottom: 1px;
  37. }
  38. img {
  39. border-width:0;
  40. border-color:transparent;
  41. }
  42. /* keep focus styles for a11y
  43. :focus {
  44. outline: 0 none;
  45. }*/
  46. ol, ul {
  47. list-style: none;
  48. }
  49. em, i {
  50. font-style:italic;
  51. }
  52. ins {
  53. text-decoration:none;
  54. }
  55. strike, del {
  56. text-decoration:line-through;
  57. }
  58. strong, b {
  59. font-weight:bold;
  60. }
  61. table {
  62. border-collapse: collapse;
  63. border-spacing: 0;
  64. }
  65. caption, th, td {
  66. text-align: left;
  67. font-weight: normal;
  68. vertical-align: top;
  69. }
  70. blockquote:before, blockquote:after,
  71. q:before, q:after {
  72. content: "";
  73. }
  74. blockquote, q {
  75. quotes: "" "";
  76. }
  77. a {
  78. text-decoration: none;
  79. }
  80. button::-moz-focus-inner,
  81. input::-moz-focus-inner {
  82. border: 0;
  83. padding: 0;
  84. }