reset.css 2.4 KB

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