Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

_reset.scss 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /**
  2. * Reset
  3. *
  4. */
  5. *,
  6. *:before,
  7. *:after {
  8. box-sizing: border-box;
  9. }
  10. *,
  11. body,
  12. button,
  13. input,
  14. textarea,
  15. select {
  16. text-rendering: optimizeLegibility;
  17. -moz-osx-font-smoothing: grayscale;
  18. }
  19. body,
  20. div,
  21. dl,
  22. dt,
  23. dd,
  24. ul,
  25. ol,
  26. li,
  27. h1,
  28. h2,
  29. h3,
  30. h4,
  31. h5,
  32. h6,
  33. pre,
  34. form,
  35. fieldset,
  36. button,
  37. input,
  38. textarea,
  39. p,
  40. blockquote,
  41. th,
  42. td {
  43. margin: 0;
  44. padding: 0;
  45. }
  46. table {
  47. border-collapse: collapse;
  48. border-spacing: 0;
  49. }
  50. fieldset,
  51. img {
  52. border: 0;
  53. }
  54. address,
  55. caption,
  56. cite,
  57. code,
  58. dfn,
  59. em,
  60. th,
  61. var {
  62. font-style: normal;
  63. font-weight: normal;
  64. }
  65. strong {
  66. font-weight: 800;
  67. }
  68. ol,
  69. ul {
  70. list-style: none;
  71. }
  72. caption,
  73. th {
  74. text-align: left;
  75. }
  76. q:before,
  77. q:after {
  78. content: '';
  79. }
  80. abbr,
  81. acronym {
  82. border: 0;
  83. }
  84. svg {
  85. flex-shrink: 0;
  86. }
  87. textarea,
  88. input:matches([type='email'], [type='number'], [type='password'], [type='search'], [type='tel'], [type='text'], [type='url']) {
  89. -webkit-appearance: none;
  90. &::-webkit-autofill,
  91. &::-webkit-contacts-auto-fill-button,
  92. &::-webkit-credentials-auto-fill-button {
  93. visibility: hidden;
  94. user-select: none;
  95. display: none !important;
  96. position: absolute;
  97. }
  98. }
  99. input[type='number']::-webkit-inner-spin-button,
  100. input[type='number']::-webkit-outer-spin-button {
  101. -webkit-appearance: none;
  102. margin: 0;
  103. &::-webkit-autofill,
  104. &::-webkit-contacts-auto-fill-button,
  105. &::-webkit-credentials-auto-fill-button {
  106. visibility: hidden;
  107. user-select: none;
  108. display: none !important;
  109. position: absolute;
  110. }
  111. }