Fix border issues for hr and remuve redundant border rules

This commit is contained in:
Nicolas Cusan
2020-10-15 18:12:51 +02:00
parent f852e995ad
commit e9f8128f85

View File

@@ -1,4 +1,4 @@
/*! destyle.css v2.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */ /*! destyle.css v2.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */ /* Reset box-model and set borders */
/* ============================================ */ /* ============================================ */
@@ -108,7 +108,6 @@ hr {
box-sizing: content-box; /* 1 */ box-sizing: content-box; /* 1 */
height: 0; /* 1 */ height: 0; /* 1 */
overflow: visible; /* 2 */ overflow: visible; /* 2 */
border: 0;
border-top-width: 1px; border-top-width: 1px;
margin: 0; margin: 0;
clear: both; clear: both;
@@ -148,7 +147,6 @@ a {
*/ */
abbr[title] { abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */ text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */ text-decoration: underline dotted; /* 2 */
} }
@@ -207,7 +205,7 @@ sup {
/* ============================================ */ /* ============================================ */
/** /**
* Remove the border on images inside links in IE 10. * Prevent vertical alignment issues.
*/ */
img, img,
@@ -234,7 +232,6 @@ textarea {
vertical-align: middle; vertical-align: middle;
color: inherit; color: inherit;
font: inherit; font: inherit;
border: 0;
background: transparent; background: transparent;
padding: 0; padding: 0;
margin: 0; margin: 0;
@@ -345,7 +342,6 @@ option {
fieldset { fieldset {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0;
min-width: 0; min-width: 0;
} }