Skip to content

Commit dfcae19

Browse files
committed
Copy changes from normalize.css to opinionated.css
1 parent 15044dc commit dfcae19

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

opinionated.css

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ ul ul {
6262

6363
/**
6464
* 1. Add the correct box sizing in Firefox.
65-
* 2. Show the overflow in Edge 18- and IE.
65+
* 2. Correct the inheritance of border color in Firefox.
66+
* 3. Show the overflow in Edge 18- and IE.
6667
*/
6768

6869
hr {
6970
box-sizing: content-box; /* 1 */
71+
color: inherit; /* 2 */
7072
height: 0; /* 1 */
71-
overflow: visible; /* 2 */
73+
overflow: visible; /* 3 */
7274
}
7375

7476
/**
@@ -175,6 +177,19 @@ svg:not(:root) {
175177
overflow: hidden;
176178
}
177179

180+
/* Tabular data
181+
* ========================================================================== */
182+
183+
/**
184+
* 1. Correct table border color inheritance in all Chrome and Safari.
185+
* 2. Remove text indentation from table contents in Chrome and Safari.
186+
*/
187+
188+
table {
189+
border-color: inherit; /* 1 */
190+
text-indent: 0; /* 2 */
191+
}
192+
178193
/* Forms
179194
* ========================================================================== */
180195

@@ -257,7 +272,6 @@ select {
257272
}
258273

259274
/**
260-
* 1. Change the font styles in all browsers (opinionated).
261275
* 2. Remove the margin in Firefox and Safari.
262276
* 3. Remove the default vertical scrollbar in IE.
263277
*/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"test": "stylelint normalize.css opinionated.css"
2323
},
2424
"devDependencies": {
25-
"stylelint": "^10.1.0",
26-
"stylelint-config-standard": "^18.3.0"
25+
"stylelint": "^13.6.1",
26+
"stylelint-config-standard": "^20.0.0"
2727
},
2828
"stylelint": {
2929
"extends": "stylelint-config-standard",

0 commit comments

Comments
 (0)