From dfcae192597d8923bd5aa9d0d43772e5017cfa3f Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Wed, 19 Aug 2020 20:54:36 -0400 Subject: Copy changes from normalize.css to opinionated.css --- opinionated.css | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'opinionated.css') 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. */ -- cgit v1.2.3