mirror of
https://github.com/nicolas-cusan/destyle.css.git
synced 2025-08-31 08:45:35 +02:00
Fix border issues for hr and remuve redundant border rules
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user