~xdavidwu/xdavidwu.link

7fae4800462547393504c07c746e3c00a36a8014 — xdavidwu 3 years ago aee0316
remove ie hacks and compats
2 files changed, 0 insertions(+), 18 deletions(-)

M _sass/minimal-mistakes/_forms.scss
M _sass/minimal-mistakes/_reset.scss
M _sass/minimal-mistakes/_forms.scss => _sass/minimal-mistakes/_forms.scss +0 -13
@@ 17,7 17,6 @@ form {
    display: block;
    width: 100%;
    margin-bottom: 5px * 2;
    *margin-left: -7px;
    padding: 0;
    color: $text-color;
    border: 0;


@@ 45,7 44,6 @@ button,
select,
textarea {
  vertical-align: baseline;
  *vertical-align: middle;
}

input,


@@ 102,11 100,9 @@ input[type="radio"] {
  height: auto;
  padding: 0;
  margin: 3px 0;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
  border-radius: 0;
  border: 0 \9;
  box-shadow: none;
}



@@ 114,8 110,6 @@ input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
  *width: 13px;
  *height: 13px;
}

input[type="image"] {


@@ 138,12 132,6 @@ input[type="submit"] {
  width: auto;
  height: auto;
  cursor: pointer;
  *overflow: visible;
}

select,
input[type="file"] {
  *margin-top: 4px;
}

select {


@@ 218,7 206,6 @@ input:focus,
textarea:focus {
  border-color: $primary-color;
  outline: 0;
  outline: thin dotted \9;
  box-shadow: inset 0 1px 3px rgba($text-color, 0.06),
    0 0 5px rgba($primary-color, 0.7);
}

M _sass/minimal-mistakes/_reset.scss => _sass/minimal-mistakes/_reset.scss +0 -5
@@ 57,8 57,6 @@ audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/* Prevents modern browsers from displaying 'audio' without controls */


@@ 107,7 105,6 @@ sub {
img {
  /* Responsive images (ensure images don't scale beyond their parents) */
  max-width: 100%; /* part 1: Set a maximum relative to the parent*/
  width: auto\9; /* IE7-8 need help adjusting responsive images*/
  height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/

  vertical-align: middle;


@@ 134,7 131,6 @@ textarea {

button,
input {
  *overflow: visible; /* inner spacing ie IE6/7*/
  line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
}



@@ 167,6 163,5 @@ input[type="search"] { /* Appearance in Safari/Chrome*/
}

textarea {
  overflow: auto; /* remove vertical scrollbar in IE6-9*/
  vertical-align: top; /* readability and alignment cross-browser*/
}