123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406 |
- html {
- box-sizing: border-box;
- }
- *,
- *:before,
- *:after {
- box-sizing: inherit;
- }
- html {
- -webkit-text-size-adjust: 100%;
- }
- body {
- -webkit-overflow-scrolling: touch;
- }
- 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 {
- margin: 0;
- padding: 0;
- border: 0 none;
- }
- article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
- display: block;
- }
- audio,
- canvas,
- progress,
- video {
- display: inline-block;
- }
- audio:not([controls]) {
- display: none;
- height: 0;
- }
- a {
- background-color: transparent;
- }
- abbr[title] {
- border-bottom: none;
- text-decoration: underline;
- text-decoration: underline dotted;
- }
- b,
- strong {
- font-weight: bolder;
- }
- dfn {
- font-style: italic;
- }
- mark {
- background-color: #ffff00;
- color: #000000;
- }
- svg:not(:root) {
- overflow: hidden;
- }
- code,
- kbd,
- pre,
- samp {
- font-family: monospace, monospace;
- font-size: 1em;
- }
- hr {
- box-sizing: content-box;
- height: 0;
- overflow: visible;
- }
- button,
- input,
- select,
- textarea {
- font: inherit;
- margin: 0;
- }
- button,
- input {
- overflow: visible;
- }
- button,
- select {
- text-transform: none;
- }
- button,
- [type="button"],
- [type="reset"],
- [type="submit"] {
- -webkit-appearance: button;
- }
- input,
- textarea,
- button,
- select,
- a {
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- }
- address {
- font-style: normal;
- }
- a:focus:not(:focus-visible),
- select:focus:not(:focus-visible),
- input:focus:not(:focus-visible),
- textarea:focus:not(:focus-visible) {
- outline: 0
- }
- button::-moz-focus-inner,
- [type="button"]::-moz-focus-inner,
- [type="reset"]::-moz-focus-inner,
- [type="submit"]::-moz-focus-inner {
- border-style: none;
- padding: 0;
- }
- button,
- input[type="reset"],
- input[type="button"],
- input[type="submit"] {
- cursor: pointer;
- }
- button[disabled],
- input[disabled] {
- cursor: default;
- }
- button {
- appearance: none;
- background: transparent;
- padding: 0;
- border: 0;
- border-radius: 0;
- line-height: 1;
- }
- button:focus:not(:focus-visible) {
- outline: 0
- }
- a,
- a:hover {
- text-decoration: none;
- }
- [href="javascript:void();"],
- [href="javascript:"] {
- cursor: default;
- }
- ul,
- ol {
- list-style: none;
- }
- blockquote,
- q {
- quotes: none;
- }
- blockquote:before,
- blockquote:after,
- q:before,
- q:after {
- content: none;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- input[type="text"],
- input[type="password"],
- input[type="date"],
- input[type="datetime"],
- input[type="datetime-local"],
- input[type="email"],
- input[type="month"],
- input[type="number"],
- input[type="search"],
- input[type="tel"],
- input[type="time"],
- input[type="url"],
- input[type="week"],
- textarea {
- box-sizing: border-box;
- }
- [type="checkbox"],
- [type="radio"] {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
- input[type="search"] {
- -webkit-appearance: textfield;
- outline-offset: -2px;
- }
- input[type="search"]::-webkit-search-decoration,
- input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
- }
- input[type="number"]::-webkit-inner-spin-button,
- input[type="number"]::-webkit-outer-spin-button {
- height: auto;
- -webkit-appearance: none;
- }
- ::-webkit-file-upload-button {
- -webkit-appearance: button;
- font: inherit;
- }
- input[type="number"] {
- -moz-appearance: textfield;
- }
- select {
- width: 100%;
- height: 20px;
- border: 0 none;
- background: none;
- }
- textarea {
- resize: none;
- border: 0 none;
- overflow: auto;
- }
- ::placeholder {
- color: #777777;
- line-height: normal;
- }
- [hidden] {
- display: none;
- }
- body {
- margin: 50px;
- }
- .examoles {
- display: flex;
- width: 100%;
- column-gap: 60px;
- }
- .table {
- width: 400px;
- height: 400px;
- text-align: center;
- table-layout: fixed;
- border-collapse: separate;
- border-spacing: 2px;
- }
- .table td {
- border: 1px solid #c0bcbc;
- transition: background-color .225s ease;
- }
- .table tr {
- transition: background-color .225s ease;
- }
- .calc-form,
- .calc-form-live {
- display: grid;
- row-gap: 16px;
- max-width: 400px;
- width: 100%;
- align-self: start;
- }
- .form__row {
- display: flex;
- flex-direction: column;
- }
- .form__label {
- 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";
- font-size: 16px;
- font-weight: 600;
- padding-top: 12px;
- padding-bottom: 12px;
- }
- .form__input {
- display: block;
- width: 100%;
- height: 50px;
- padding: 6px 12px;
- font-size: 16px;
- font-weight: 400;
- line-height: 1.5;
- color: #212529;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ced4da;
- appearance: none;
- border-radius: 6px;
- transition: border-color .15s ease-in-out,
- box-shadow .15s ease-in-out;
- }
- .form__input:focus {
- color: #212529;
- background-color: #fff;
- border-color: #86b7fe;
- outline: 0;
- box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
- }
- .form__button {
- justify-self: start;
- height: 50px;
- min-width: 200px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 0 12px;
- 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";
- font-size: 16px;
- font-weight: 400;
- color: rgb(255, 255, 255);
- text-align: center;
- text-decoration: none;
- vertical-align: middle;
- cursor: pointer;
- user-select: none;
- border: 1px solid #0d6efd;;
- border-radius: 6px;
- background-color: #0d6efd;
- transition: color .15s ease-in-out,
- background-color .15s ease-in-out,
- border-color .15s ease-in-out,
- box-shadow .15s ease-in-out;
- }
- .form__button:hover {
- background-color: #0d53b0;
- }
- .form__button:focus {
- color: #fff;
- background-color: #0b5ed7;
- border-color: #0a58ca;
- outline: 0;
- box-shadow: 0 0 0 0.25rem rgba(49,132,253,.5);
- }
- .alert {
- display: none;
- --bs-alert-bg: transparent;
- --bs-alert-padding-x: 1rem;
- --bs-alert-padding-y: 1rem;
- --bs-alert-margin-bottom: 1rem;
- --bs-alert-color: inherit;
- --bs-alert-border-color: transparent;
- --bs-alert-border: 1px solid var(--bs-alert-border-color);
- --bs-alert-border-radius: 0.375rem;
- position: relative;
- padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
- margin-bottom: var(--bs-alert-margin-bottom);
- color: var(--bs-alert-color);
- background-color: var(--bs-alert-bg);
- border: var(--bs-alert-border);
- border-radius: var(--bs-alert-border-radius);
- }
- .alert-danger {
- --bs-alert-color: #842029;
- --bs-alert-bg: #f8d7da;
- --bs-alert-border-color: #f5c2c7;
- }
- .alert-success {
- --bs-alert-color: #0f5132;
- --bs-alert-bg: #d1e7dd;
- --bs-alert-border-color: #badbcc;
- }
|