diff options
author | Jonathan Neal <jonathantneal@hotmail.com> | 2020-08-19 20:54:36 -0400 |
---|---|---|
committer | Jonathan Neal <jonathantneal@hotmail.com> | 2020-08-19 20:54:36 -0400 |
commit | dfcae192597d8923bd5aa9d0d43772e5017cfa3f (patch) | |
tree | 094871e91645235cd77e31f7e6d0d029493aae1c | |
parent | 15044dccf84cfc13e48bf962bb33fcd187884cde (diff) | |
download | normalize.css-dfcae192597d8923bd5aa9d0d43772e5017cfa3f.tar.gz normalize.css-dfcae192597d8923bd5aa9d0d43772e5017cfa3f.zip |
Copy changes from normalize.css to opinionated.css
-rw-r--r-- | opinionated.css | 20 | ||||
-rw-r--r-- | package.json | 4 |
2 files changed, 19 insertions, 5 deletions
diff --git a/opinionated.css b/opinionated.css index 70af7dc..bfeee42 100644 --- a/opinionated.css +++ b/opinionated.css @@ -62,13 +62,15 @@ ul ul { /** * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge 18- and IE. + * 2. Correct the inheritance of border color in Firefox. + * 3. Show the overflow in Edge 18- and IE. */ hr { box-sizing: content-box; /* 1 */ + color: inherit; /* 2 */ height: 0; /* 1 */ - overflow: visible; /* 2 */ + overflow: visible; /* 3 */ } /** @@ -175,6 +177,19 @@ svg:not(:root) { overflow: hidden; } +/* Tabular data + * ========================================================================== */ + +/** + * 1. Correct table border color inheritance in all Chrome and Safari. + * 2. Remove text indentation from table contents in Chrome and Safari. + */ + +table { + border-color: inherit; /* 1 */ + text-indent: 0; /* 2 */ +} + /* Forms * ========================================================================== */ @@ -257,7 +272,6 @@ select { } /** - * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. * 3. Remove the default vertical scrollbar in IE. */ diff --git a/package.json b/package.json index af86db8..f355e56 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "test": "stylelint normalize.css opinionated.css" }, "devDependencies": { - "stylelint": "^10.1.0", - "stylelint-config-standard": "^18.3.0" + "stylelint": "^13.6.1", + "stylelint-config-standard": "^20.0.0" }, "stylelint": { "extends": "stylelint-config-standard", |