index.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. html {
  2. box-sizing: border-box;
  3. }
  4. *,
  5. *:before,
  6. *:after {
  7. box-sizing: inherit;
  8. }
  9. html {
  10. -webkit-text-size-adjust: 100%;
  11. }
  12. body {
  13. -webkit-overflow-scrolling: touch;
  14. }
  15. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  16. margin: 0;
  17. padding: 0;
  18. border: 0 none;
  19. }
  20. article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
  21. display: block;
  22. }
  23. audio,
  24. canvas,
  25. progress,
  26. video {
  27. display: inline-block;
  28. }
  29. audio:not([controls]) {
  30. display: none;
  31. height: 0;
  32. }
  33. a {
  34. background-color: transparent;
  35. }
  36. abbr[title] {
  37. border-bottom: none;
  38. text-decoration: underline;
  39. text-decoration: underline dotted;
  40. }
  41. b,
  42. strong {
  43. font-weight: bolder;
  44. }
  45. dfn {
  46. font-style: italic;
  47. }
  48. mark {
  49. background-color: #ffff00;
  50. color: #000000;
  51. }
  52. svg:not(:root) {
  53. overflow: hidden;
  54. }
  55. code,
  56. kbd,
  57. pre,
  58. samp {
  59. font-family: monospace, monospace;
  60. font-size: 1em;
  61. }
  62. hr {
  63. box-sizing: content-box;
  64. height: 0;
  65. overflow: visible;
  66. }
  67. button,
  68. input,
  69. select,
  70. textarea {
  71. font: inherit;
  72. margin: 0;
  73. }
  74. button,
  75. input {
  76. overflow: visible;
  77. }
  78. button,
  79. select {
  80. text-transform: none;
  81. }
  82. button,
  83. [type="button"],
  84. [type="reset"],
  85. [type="submit"] {
  86. -webkit-appearance: button;
  87. }
  88. input,
  89. textarea,
  90. button,
  91. select,
  92. a {
  93. -webkit-tap-highlight-color: rgba(0,0,0,0);
  94. }
  95. address {
  96. font-style: normal;
  97. }
  98. a:focus:not(:focus-visible),
  99. select:focus:not(:focus-visible),
  100. input:focus:not(:focus-visible),
  101. textarea:focus:not(:focus-visible) {
  102. outline: 0
  103. }
  104. button::-moz-focus-inner,
  105. [type="button"]::-moz-focus-inner,
  106. [type="reset"]::-moz-focus-inner,
  107. [type="submit"]::-moz-focus-inner {
  108. border-style: none;
  109. padding: 0;
  110. }
  111. button,
  112. input[type="reset"],
  113. input[type="button"],
  114. input[type="submit"] {
  115. cursor: pointer;
  116. }
  117. button[disabled],
  118. input[disabled] {
  119. cursor: default;
  120. }
  121. button {
  122. appearance: none;
  123. background: transparent;
  124. padding: 0;
  125. border: 0;
  126. border-radius: 0;
  127. line-height: 1;
  128. }
  129. button:focus:not(:focus-visible) {
  130. outline: 0
  131. }
  132. a,
  133. a:hover {
  134. text-decoration: none;
  135. }
  136. [href="javascript:void();"],
  137. [href="javascript:"] {
  138. cursor: default;
  139. }
  140. ul,
  141. ol {
  142. list-style: none;
  143. }
  144. blockquote,
  145. q {
  146. quotes: none;
  147. }
  148. blockquote:before,
  149. blockquote:after,
  150. q:before,
  151. q:after {
  152. content: none;
  153. }
  154. table {
  155. border-collapse: collapse;
  156. border-spacing: 0;
  157. }
  158. input[type="text"],
  159. input[type="password"],
  160. input[type="date"],
  161. input[type="datetime"],
  162. input[type="datetime-local"],
  163. input[type="email"],
  164. input[type="month"],
  165. input[type="number"],
  166. input[type="search"],
  167. input[type="tel"],
  168. input[type="time"],
  169. input[type="url"],
  170. input[type="week"],
  171. textarea {
  172. box-sizing: border-box;
  173. }
  174. [type="checkbox"],
  175. [type="radio"] {
  176. box-sizing: border-box;
  177. margin: 0;
  178. padding: 0;
  179. }
  180. input[type="search"] {
  181. -webkit-appearance: textfield;
  182. outline-offset: -2px;
  183. }
  184. input[type="search"]::-webkit-search-decoration,
  185. input[type="search"]::-webkit-search-cancel-button {
  186. -webkit-appearance: none;
  187. }
  188. input[type="number"]::-webkit-inner-spin-button,
  189. input[type="number"]::-webkit-outer-spin-button {
  190. height: auto;
  191. -webkit-appearance: none;
  192. }
  193. ::-webkit-file-upload-button {
  194. -webkit-appearance: button;
  195. font: inherit;
  196. }
  197. input[type="number"] {
  198. -moz-appearance: textfield;
  199. }
  200. select {
  201. width: 100%;
  202. height: 20px;
  203. border: 0 none;
  204. background: none;
  205. }
  206. textarea {
  207. resize: none;
  208. border: 0 none;
  209. overflow: auto;
  210. }
  211. ::placeholder {
  212. color: #777777;
  213. line-height: normal;
  214. }
  215. [hidden] {
  216. display: none;
  217. }
  218. .form {
  219. display: grid;
  220. row-gap: 16px;
  221. margin: 60px;
  222. max-width: 400px;
  223. }
  224. .form__row {
  225. display: flex;
  226. flex-direction: column;
  227. }
  228. .form__label {
  229. font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  230. font-size: 16px;
  231. font-weight: 600;
  232. padding-top: 12px;
  233. padding-bottom: 12px;
  234. }
  235. .form__input {
  236. display: block;
  237. width: 100%;
  238. height: 50px;
  239. padding: 6px 12px;
  240. font-size: 16px;
  241. font-weight: 400;
  242. line-height: 1.5;
  243. color: #212529;
  244. background-color: #fff;
  245. background-clip: padding-box;
  246. border: 1px solid #ced4da;
  247. appearance: none;
  248. border-radius: 6px;
  249. transition: border-color .15s ease-in-out,
  250. box-shadow .15s ease-in-out;
  251. }
  252. .form__input:focus {
  253. color: #212529;
  254. background-color: #fff;
  255. border-color: #86b7fe;
  256. outline: 0;
  257. box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
  258. }
  259. .form__button {
  260. justify-self: start;
  261. height: 50px;
  262. min-width: 200px;
  263. display: inline-flex;
  264. align-items: center;
  265. justify-content: center;
  266. padding: 0 12px;
  267. font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  268. font-size: 16px;
  269. font-weight: 400;
  270. color: rgb(255, 255, 255);
  271. text-align: center;
  272. text-decoration: none;
  273. vertical-align: middle;
  274. cursor: pointer;
  275. user-select: none;
  276. border: 1px solid #0d6efd;;
  277. border-radius: 6px;
  278. background-color: #0d6efd;
  279. transition: color .15s ease-in-out,
  280. background-color .15s ease-in-out,
  281. border-color .15s ease-in-out,
  282. box-shadow .15s ease-in-out;
  283. }
  284. .form__button:focus {
  285. color: #fff;
  286. background-color: #0b5ed7;
  287. border-color: #0a58ca;
  288. outline: 0;
  289. box-shadow: 0 0 0 0.25rem rgba(49,132,253,.5);
  290. }
  291. .alert {
  292. display: none;
  293. --bs-alert-bg: transparent;
  294. --bs-alert-padding-x: 1rem;
  295. --bs-alert-padding-y: 1rem;
  296. --bs-alert-margin-bottom: 1rem;
  297. --bs-alert-color: inherit;
  298. --bs-alert-border-color: transparent;
  299. --bs-alert-border: 1px solid var(--bs-alert-border-color);
  300. --bs-alert-border-radius: 0.375rem;
  301. position: relative;
  302. padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
  303. margin-bottom: var(--bs-alert-margin-bottom);
  304. color: var(--bs-alert-color);
  305. background-color: var(--bs-alert-bg);
  306. border: var(--bs-alert-border);
  307. border-radius: var(--bs-alert-border-radius);
  308. }
  309. .alert-danger {
  310. --bs-alert-color: #842029;
  311. --bs-alert-bg: #f8d7da;
  312. --bs-alert-border-color: #f5c2c7;
  313. }
  314. .alert-success {
  315. --bs-alert-color: #0f5132;
  316. --bs-alert-bg: #d1e7dd;
  317. --bs-alert-border-color: #badbcc;
  318. }