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