index.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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. body {
  219. margin: 50px;
  220. }
  221. .examoles {
  222. display: flex;
  223. width: 100%;
  224. column-gap: 60px;
  225. }
  226. .table {
  227. width: 400px;
  228. height: 400px;
  229. text-align: center;
  230. table-layout: fixed;
  231. border-collapse: separate;
  232. border-spacing: 2px;
  233. }
  234. .table td {
  235. border: 1px solid #c0bcbc;
  236. transition: background-color .225s ease;
  237. }
  238. .table tr {
  239. transition: background-color .225s ease;
  240. }
  241. .calc-form,
  242. .calc-form-live {
  243. display: grid;
  244. row-gap: 16px;
  245. max-width: 400px;
  246. width: 100%;
  247. align-self: start;
  248. }
  249. .form__row {
  250. display: flex;
  251. flex-direction: column;
  252. }
  253. .form__label {
  254. 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";
  255. font-size: 16px;
  256. font-weight: 600;
  257. padding-top: 12px;
  258. padding-bottom: 12px;
  259. }
  260. .form__input {
  261. display: block;
  262. width: 100%;
  263. height: 50px;
  264. padding: 6px 12px;
  265. font-size: 16px;
  266. font-weight: 400;
  267. line-height: 1.5;
  268. color: #212529;
  269. background-color: #fff;
  270. background-clip: padding-box;
  271. border: 1px solid #ced4da;
  272. appearance: none;
  273. border-radius: 6px;
  274. transition: border-color .15s ease-in-out,
  275. box-shadow .15s ease-in-out;
  276. }
  277. .form__input:focus {
  278. color: #212529;
  279. background-color: #fff;
  280. border-color: #86b7fe;
  281. outline: 0;
  282. box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
  283. }
  284. .form__button {
  285. justify-self: start;
  286. height: 50px;
  287. min-width: 200px;
  288. display: inline-flex;
  289. align-items: center;
  290. justify-content: center;
  291. padding: 0 12px;
  292. 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";
  293. font-size: 16px;
  294. font-weight: 400;
  295. color: rgb(255, 255, 255);
  296. text-align: center;
  297. text-decoration: none;
  298. vertical-align: middle;
  299. cursor: pointer;
  300. user-select: none;
  301. border: 1px solid #0d6efd;;
  302. border-radius: 6px;
  303. background-color: #0d6efd;
  304. transition: color .15s ease-in-out,
  305. background-color .15s ease-in-out,
  306. border-color .15s ease-in-out,
  307. box-shadow .15s ease-in-out;
  308. }
  309. .form__button:hover {
  310. background-color: #0d53b0;
  311. }
  312. .form__button:focus {
  313. color: #fff;
  314. background-color: #0b5ed7;
  315. border-color: #0a58ca;
  316. outline: 0;
  317. box-shadow: 0 0 0 0.25rem rgba(49,132,253,.5);
  318. }
  319. .alert {
  320. display: none;
  321. --bs-alert-bg: transparent;
  322. --bs-alert-padding-x: 1rem;
  323. --bs-alert-padding-y: 1rem;
  324. --bs-alert-margin-bottom: 1rem;
  325. --bs-alert-color: inherit;
  326. --bs-alert-border-color: transparent;
  327. --bs-alert-border: 1px solid var(--bs-alert-border-color);
  328. --bs-alert-border-radius: 0.375rem;
  329. position: relative;
  330. padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
  331. margin-bottom: var(--bs-alert-margin-bottom);
  332. color: var(--bs-alert-color);
  333. background-color: var(--bs-alert-bg);
  334. border: var(--bs-alert-border);
  335. border-radius: var(--bs-alert-border-radius);
  336. }
  337. .alert-danger {
  338. --bs-alert-color: #842029;
  339. --bs-alert-bg: #f8d7da;
  340. --bs-alert-border-color: #f5c2c7;
  341. }
  342. .alert-success {
  343. --bs-alert-color: #0f5132;
  344. --bs-alert-bg: #d1e7dd;
  345. --bs-alert-border-color: #badbcc;
  346. }