null.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /* Reset and base styles */
  2. * {
  3. padding: 0px;
  4. margin: 0px;
  5. border: none;
  6. }
  7. *,
  8. *::before,
  9. *::after {
  10. box-sizing: border-box;
  11. }
  12. /* Links */
  13. a, a:link, a:visited {
  14. text-decoration: none;
  15. }
  16. a:hover {
  17. text-decoration: none;
  18. }
  19. /* Common */
  20. aside, nav, footer, header, section, main {
  21. display: block;
  22. }
  23. h1, h2, h3, h4, h5, h6, p {
  24. font-size: inherit;
  25. font-weight: inherit;
  26. }
  27. ul, ul li {
  28. list-style: none;
  29. }
  30. img {
  31. vertical-align: top;
  32. }
  33. img, svg {
  34. max-width: 100%;
  35. height: auto;
  36. }
  37. address {
  38. font-style: normal;
  39. }
  40. /* Form */
  41. input, textarea, button, select {
  42. font-family: inherit;
  43. font-size: inherit;
  44. color: inherit;
  45. background-color: transparent;
  46. }
  47. input::-ms-clear {
  48. display: none;
  49. }
  50. button, input[type="submit"] {
  51. display: inline-block;
  52. box-shadow: none;
  53. background-color: transparent;
  54. background: none;
  55. cursor: pointer;
  56. }
  57. input:focus, input:active,
  58. button:focus, button:active {
  59. outline: none;
  60. }
  61. button::-moz-focus-inner {
  62. padding: 0;
  63. border: 0;
  64. }
  65. label {
  66. cursor: pointer;
  67. }
  68. a {
  69. color: black;
  70. }
  71. html, body, div, span, applet, object, iframe,
  72. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  73. a, abbr, acronym, address, big, cite, code,
  74. del, dfn, em, img, ins, kbd, q, s, samp,
  75. small, strike, strong, sub, sup, tt, var,
  76. b, u, i, center,
  77. dl, dt, dd, ol, ul, li,
  78. fieldset, form, label, legend,
  79. table, caption, tbody, tfoot, thead, tr, th, td,
  80. article, aside, canvas, details, embed,
  81. figure, figcaption, footer, header, hgroup,
  82. menu, nav, output, ruby, section, summary,
  83. time, mark, audio, video {
  84. margin: 0;
  85. padding: 0;
  86. border: 0;
  87. font-size: 100%;
  88. font: inherit;
  89. vertical-align: baseline;
  90. }
  91. article, aside, details, figcaption, figure,
  92. footer, header, hgroup, menu, nav, section {
  93. display: block;
  94. }
  95. button {
  96. border: 0;
  97. outline: none;
  98. }
  99. html {
  100. height: 100%;
  101. }
  102. body {
  103. line-height: 1;
  104. }
  105. ol, ul {
  106. list-style: none;
  107. }
  108. blockquote, q {
  109. quotes: none;
  110. }
  111. blockquote:before, blockquote:after,
  112. q:before, q:after {
  113. content: '';
  114. content: none;
  115. }
  116. table {
  117. border-collapse: collapse;
  118. border-spacing: 0;
  119. }
  120. input{
  121. padding: 0;
  122. margin: 0;
  123. border: none;
  124. background: none;
  125. }