normalize.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. /*
  2. * Copyright (C) 2024 Puter Technologies Inc.
  3. *
  4. * This file is part of Puter's Terminal.
  5. *
  6. * Puter's Terminal is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU Affero General Public License as published
  8. * by the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU Affero General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Affero General Public License
  17. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  18. */
  19. /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
  20. /* Document
  21. ========================================================================== */
  22. /**
  23. * 1. Correct the line height in all browsers.
  24. * 2. Prevent adjustments of font size after orientation changes in iOS.
  25. */
  26. html {
  27. line-height: 1.15; /* 1 */
  28. -webkit-text-size-adjust: 100%; /* 2 */
  29. }
  30. /* Sections
  31. ========================================================================== */
  32. /**
  33. * Remove the margin in all browsers.
  34. */
  35. body {
  36. margin: 0;
  37. }
  38. /**
  39. * Render the `main` element consistently in IE.
  40. */
  41. main {
  42. display: block;
  43. }
  44. /**
  45. * Correct the font size and margin on `h1` elements within `section` and
  46. * `article` contexts in Chrome, Firefox, and Safari.
  47. */
  48. h1 {
  49. font-size: 2em;
  50. margin: 0.67em 0;
  51. }
  52. /* Grouping content
  53. ========================================================================== */
  54. /**
  55. * 1. Add the correct box sizing in Firefox.
  56. * 2. Show the overflow in Edge and IE.
  57. */
  58. hr {
  59. box-sizing: content-box; /* 1 */
  60. height: 0; /* 1 */
  61. overflow: visible; /* 2 */
  62. }
  63. /**
  64. * 1. Correct the inheritance and scaling of font size in all browsers.
  65. * 2. Correct the odd `em` font sizing in all browsers.
  66. */
  67. pre {
  68. font-family: monospace, monospace; /* 1 */
  69. font-size: 1em; /* 2 */
  70. }
  71. /* Text-level semantics
  72. ========================================================================== */
  73. /**
  74. * Remove the gray background on active links in IE 10.
  75. */
  76. a {
  77. background-color: transparent;
  78. }
  79. /**
  80. * 1. Remove the bottom border in Chrome 57-
  81. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  82. */
  83. abbr[title] {
  84. border-bottom: none; /* 1 */
  85. text-decoration: underline; /* 2 */
  86. text-decoration: underline dotted; /* 2 */
  87. }
  88. /**
  89. * Add the correct font weight in Chrome, Edge, and Safari.
  90. */
  91. b,
  92. strong {
  93. font-weight: bolder;
  94. }
  95. /**
  96. * 1. Correct the inheritance and scaling of font size in all browsers.
  97. * 2. Correct the odd `em` font sizing in all browsers.
  98. */
  99. code,
  100. kbd,
  101. samp {
  102. font-family: monospace, monospace; /* 1 */
  103. font-size: 1em; /* 2 */
  104. }
  105. /**
  106. * Add the correct font size in all browsers.
  107. */
  108. small {
  109. font-size: 80%;
  110. }
  111. /**
  112. * Prevent `sub` and `sup` elements from affecting the line height in
  113. * all browsers.
  114. */
  115. sub,
  116. sup {
  117. font-size: 75%;
  118. line-height: 0;
  119. position: relative;
  120. vertical-align: baseline;
  121. }
  122. sub {
  123. bottom: -0.25em;
  124. }
  125. sup {
  126. top: -0.5em;
  127. }
  128. /* Embedded content
  129. ========================================================================== */
  130. /**
  131. * Remove the border on images inside links in IE 10.
  132. */
  133. img {
  134. border-style: none;
  135. }
  136. /* Forms
  137. ========================================================================== */
  138. /**
  139. * 1. Change the font styles in all browsers.
  140. * 2. Remove the margin in Firefox and Safari.
  141. */
  142. button,
  143. input,
  144. optgroup,
  145. select,
  146. textarea {
  147. font-family: inherit; /* 1 */
  148. font-size: 100%; /* 1 */
  149. line-height: 1.15; /* 1 */
  150. margin: 0; /* 2 */
  151. }
  152. /**
  153. * Show the overflow in IE.
  154. * 1. Show the overflow in Edge.
  155. */
  156. button,
  157. input { /* 1 */
  158. overflow: visible;
  159. }
  160. /**
  161. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  162. * 1. Remove the inheritance of text transform in Firefox.
  163. */
  164. button,
  165. select { /* 1 */
  166. text-transform: none;
  167. }
  168. /**
  169. * Correct the inability to style clickable types in iOS and Safari.
  170. */
  171. button,
  172. [type="button"],
  173. [type="reset"],
  174. [type="submit"] {
  175. -webkit-appearance: button;
  176. }
  177. /**
  178. * Remove the inner border and padding in Firefox.
  179. */
  180. button::-moz-focus-inner,
  181. [type="button"]::-moz-focus-inner,
  182. [type="reset"]::-moz-focus-inner,
  183. [type="submit"]::-moz-focus-inner {
  184. border-style: none;
  185. padding: 0;
  186. }
  187. /**
  188. * Restore the focus styles unset by the previous rule.
  189. */
  190. button:-moz-focusring,
  191. [type="button"]:-moz-focusring,
  192. [type="reset"]:-moz-focusring,
  193. [type="submit"]:-moz-focusring {
  194. outline: 1px dotted ButtonText;
  195. }
  196. /**
  197. * Correct the padding in Firefox.
  198. */
  199. fieldset {
  200. padding: 0.35em 0.75em 0.625em;
  201. }
  202. /**
  203. * 1. Correct the text wrapping in Edge and IE.
  204. * 2. Correct the color inheritance from `fieldset` elements in IE.
  205. * 3. Remove the padding so developers are not caught out when they zero out
  206. * `fieldset` elements in all browsers.
  207. */
  208. legend {
  209. box-sizing: border-box; /* 1 */
  210. color: inherit; /* 2 */
  211. display: table; /* 1 */
  212. max-width: 100%; /* 1 */
  213. padding: 0; /* 3 */
  214. white-space: normal; /* 1 */
  215. }
  216. /**
  217. * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  218. */
  219. progress {
  220. vertical-align: baseline;
  221. }
  222. /**
  223. * Remove the default vertical scrollbar in IE 10+.
  224. */
  225. textarea {
  226. overflow: auto;
  227. }
  228. /**
  229. * 1. Add the correct box sizing in IE 10.
  230. * 2. Remove the padding in IE 10.
  231. */
  232. [type="checkbox"],
  233. [type="radio"] {
  234. box-sizing: border-box; /* 1 */
  235. padding: 0; /* 2 */
  236. }
  237. /**
  238. * Correct the cursor style of increment and decrement buttons in Chrome.
  239. */
  240. [type="number"]::-webkit-inner-spin-button,
  241. [type="number"]::-webkit-outer-spin-button {
  242. height: auto;
  243. }
  244. /**
  245. * 1. Correct the odd appearance in Chrome and Safari.
  246. * 2. Correct the outline style in Safari.
  247. */
  248. [type="search"] {
  249. -webkit-appearance: textfield; /* 1 */
  250. outline-offset: -2px; /* 2 */
  251. }
  252. /**
  253. * Remove the inner padding in Chrome and Safari on macOS.
  254. */
  255. [type="search"]::-webkit-search-decoration {
  256. -webkit-appearance: none;
  257. }
  258. /**
  259. * 1. Correct the inability to style clickable types in iOS and Safari.
  260. * 2. Change font properties to `inherit` in Safari.
  261. */
  262. ::-webkit-file-upload-button {
  263. -webkit-appearance: button; /* 1 */
  264. font: inherit; /* 2 */
  265. }
  266. /* Interactive
  267. ========================================================================== */
  268. /*
  269. * Add the correct display in Edge, IE 10+, and Firefox.
  270. */
  271. details {
  272. display: block;
  273. }
  274. /*
  275. * Add the correct display in all browsers.
  276. */
  277. summary {
  278. display: list-item;
  279. }
  280. /* Misc
  281. ========================================================================== */
  282. /**
  283. * Add the correct display in IE 10+.
  284. */
  285. template {
  286. display: none;
  287. }
  288. /**
  289. * Add the correct display in IE 10.
  290. */
  291. [hidden] {
  292. display: none;
  293. }