reset.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. * {
  2. box-sizing: border-box !important;
  3. max-width: 100%;
  4. }
  5. body,
  6. html {
  7. -webkit-font-smoothing: antialiased;
  8. -moz-osx-font-smoothing: grayscale;
  9. background-color: var(--background-hard);
  10. background-attachment: fixed;
  11. font-family: 'Open Sans',sans-serif;
  12. font-size: var(--default);
  13. display: flex;
  14. flex-direction: column;
  15. }
  16. body,
  17. input,
  18. select,
  19. textarea {
  20. color: var(--foreground);
  21. }
  22. :link,
  23. :visited {
  24. text-decoration: none;
  25. color: currentColor;
  26. }
  27. hr {
  28. all: unset;
  29. display: block;
  30. height: 1px;
  31. background-color: var(--border) !important;
  32. }
  33. ol,
  34. ul {
  35. list-style: none;
  36. }
  37. blockquote,
  38. body,
  39. fieldset,
  40. form,
  41. html,
  42. input,
  43. pre,
  44. textarea {
  45. margin: 0;
  46. padding: 0;
  47. border: 0;
  48. }
  49. fieldset {
  50. all: unset;
  51. }
  52. :link img,
  53. :visited img,
  54. a img {
  55. border: 0;
  56. }
  57. address {
  58. font-style: normal;
  59. }
  60. :focus {
  61. outline: 0;
  62. }
  63. ::-moz-focus-inner {
  64. border: 0;
  65. }
  66. details summary {
  67. cursor: pointer !important;
  68. }
  69. details summary > * {
  70. margin: unset;
  71. padding: unset;
  72. }
  73. details > summary {
  74. list-style: none;
  75. }
  76. details > summary::-webkit-details-marker {
  77. display: none;
  78. }
  79. @supports not(-ms-ime-align:auto) {
  80. details summary {
  81. cursor: pointer;
  82. }
  83. }
  84. [hidden] {
  85. display: none;
  86. }
  87. h1,
  88. h2,
  89. h3,
  90. h4,
  91. h5,
  92. h6 {
  93. all: unset;
  94. display: block;
  95. font-family: 'Poppins',sans-serif;
  96. }
  97. h1 {
  98. font-size: var(--medium);
  99. font-weight: 700;
  100. margin-bottom: 16.2px;
  101. }
  102. h2 {
  103. font-size: var(--small);
  104. font-weight: 600;
  105. margin-bottom: 13px;
  106. }
  107. h3 {
  108. font-size: var(--default);
  109. font-weight: 600;
  110. margin-bottom: 10px;
  111. }
  112. h4,
  113. h5 {
  114. font-size: var(--default);
  115. font-weight: 400;
  116. margin-bottom: 6.1px;
  117. }
  118. p {
  119. font-family: 'Open Sans',sans-serif;
  120. font-size: var(--default);
  121. font-weight: 400;
  122. margin: unset;
  123. }
  124. p:first-line {
  125. padding-left: var(--default);
  126. }
  127. p:first-line {
  128. margin-top: 0;
  129. margin-bottom: 10px;
  130. }
  131. p:not(:first-line) {
  132. margin-top: 10px;
  133. margin-bottom: 10px;
  134. }
  135. input[type=password],
  136. input[type=text],
  137. textarea {
  138. font-family: 'Open Sans',sans-serif;
  139. font-weight: 400;
  140. padding: 4px 6px;
  141. }
  142. ul {
  143. text-decoration: none;
  144. margin: 0;
  145. padding: 0;
  146. list-style: none;
  147. }
  148. li {
  149. margin: 0;
  150. padding: 0;
  151. }
  152. a:focus,
  153. a:hover {
  154. text-decoration: underline;
  155. }
  156. *:focus-visible {
  157. box-shadow: var(--shadow-inset-accent);
  158. }