reset padding for th and td

This commit is contained in:
Nicolas Cusan
2020-05-29 16:57:36 +02:00
parent 3a8dc3cc80
commit 21afeeab97

View File

@@ -1,4 +1,4 @@
/*! destyle.css v1.0.11 | MIT License | https://github.com/nicolas-cusan/destyle.css */ /*! destyle.css v1.0.12 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model /* Reset box-model
========================================================================== */ ========================================================================== */
@@ -250,13 +250,13 @@ textarea {
text-align: inherit; text-align: inherit;
} }
[type='checkbox'] { [type="checkbox"] {
/* 1 */ /* 1 */
-webkit-appearance: checkbox; -webkit-appearance: checkbox;
appearance: checkbox; appearance: checkbox;
} }
[type='radio'] { [type="radio"] {
/* 1 */ /* 1 */
-webkit-appearance: radio; -webkit-appearance: radio;
appearance: radio; appearance: radio;
@@ -289,18 +289,18 @@ select {
*/ */
button, button,
[type='button'], [type="button"],
[type='reset'], [type="reset"],
[type='submit'] { [type="submit"] {
cursor: pointer; cursor: pointer;
-webkit-appearance: none; -webkit-appearance: none;
appearance: none; appearance: none;
} }
button[disabled], button[disabled],
[type='button'][disabled], [type="button"][disabled],
[type='reset'][disabled], [type="reset"][disabled],
[type='submit'][disabled] { [type="submit"][disabled] {
cursor: default; cursor: default;
} }
@@ -309,9 +309,9 @@ button[disabled],
*/ */
button::-moz-focus-inner, button::-moz-focus-inner,
[type='button']::-moz-focus-inner, [type="button"]::-moz-focus-inner,
[type='reset']::-moz-focus-inner, [type="reset"]::-moz-focus-inner,
[type='submit']::-moz-focus-inner { [type="submit"]::-moz-focus-inner {
border-style: none; border-style: none;
padding: 0; padding: 0;
} }
@@ -321,9 +321,9 @@ button::-moz-focus-inner,
*/ */
button:-moz-focusring, button:-moz-focusring,
[type='button']:-moz-focusring, [type="button"]:-moz-focusring,
[type='reset']:-moz-focusring, [type="reset"]:-moz-focusring,
[type='submit']:-moz-focusring { [type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText; outline: 1px dotted ButtonText;
} }
@@ -373,8 +373,8 @@ textarea {
* 1. Remove the padding in IE 10. * 1. Remove the padding in IE 10.
*/ */
[type='checkbox'], [type="checkbox"],
[type='radio'] { [type="radio"] {
padding: 0; /* 1 */ padding: 0; /* 1 */
} }
@@ -382,8 +382,8 @@ textarea {
* Correct the cursor style of increment and decrement buttons in Chrome. * Correct the cursor style of increment and decrement buttons in Chrome.
*/ */
[type='number']::-webkit-inner-spin-button, [type="number"]::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button { [type="number"]::-webkit-outer-spin-button {
height: auto; height: auto;
} }
@@ -391,7 +391,7 @@ textarea {
* 1. Correct the outline style in Safari. * 1. Correct the outline style in Safari.
*/ */
[type='search'] { [type="search"] {
outline-offset: -2px; /* 1 */ outline-offset: -2px; /* 1 */
} }
@@ -399,7 +399,7 @@ textarea {
* Remove the inner padding in Chrome and Safari on macOS. * Remove the inner padding in Chrome and Safari on macOS.
*/ */
[type='search']::-webkit-search-decoration { [type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none;
} }
@@ -455,6 +455,7 @@ caption {
td, td,
th { th {
vertical-align: top; vertical-align: top;
padding: 0;
} }
th { th {