Skip to content

Commit cb3c4c8

Browse files
committed
add safari
1 parent a9bda57 commit cb3c4c8

File tree

7 files changed

+33
-18
lines changed

7 files changed

+33
-18
lines changed

css/marx.css

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
::after {
1111
background-repeat: no-repeat;
1212
/* 1 */
13-
box-sizing: inherit;
13+
-webkit-box-sizing: inherit;
14+
box-sizing: inherit;
1415
/* 2 */ }
1516

1617
/**
@@ -30,7 +31,8 @@
3031
* 3. Prevent font size adjustments after orientation changes in IE and iOS.
3132
*/
3233
html {
33-
box-sizing: border-box;
34+
-webkit-box-sizing: border-box;
35+
box-sizing: border-box;
3436
/* 1 */
3537
cursor: default;
3638
/* 2 */
@@ -89,7 +91,8 @@ figure {
8991
* 2. Show the overflow in Edge and IE.
9092
*/
9193
hr {
92-
box-sizing: content-box;
94+
-webkit-box-sizing: content-box;
95+
box-sizing: content-box;
9396
/* 1 */
9497
height: 0;
9598
/* 1 */
@@ -351,7 +354,8 @@ button:-moz-focusring,
351354
* `fieldset` elements in all browsers.
352355
*/
353356
legend {
354-
box-sizing: border-box;
357+
-webkit-box-sizing: border-box;
358+
box-sizing: border-box;
355359
/* 1 */
356360
color: inherit;
357361
/* 2 */
@@ -390,7 +394,8 @@ textarea {
390394
*/
391395
[type="checkbox"],
392396
[type="radio"] {
393-
box-sizing: border-box;
397+
-webkit-box-sizing: border-box;
398+
box-sizing: border-box;
394399
/* 1 */
395400
padding: 0;
396401
/* 2 */ }
@@ -861,7 +866,8 @@ input[type=button]:active,
861866
button:active {
862867
background: #0c7cd5;
863868
border-color: rgba(0, 0, 0, 0.54);
864-
box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
869+
-webkit-box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
870+
box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
865871
outline-offset: -2px; }
866872

867873
input[type=submit]:focus,
@@ -870,7 +876,8 @@ input[type=button]:focus,
870876
button:focus {
871877
background: #0c7cd5;
872878
border-color: rgba(0, 0, 0, 0.54);
873-
box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
879+
-webkit-box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
880+
box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
874881
outline: 0; }
875882

876883
input[type=submit]:disabled,

css/marx.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/marx.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/marx.styl.css

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
::before,
44
::after {
55
background-repeat: no-repeat; /* 1 */
6-
box-sizing: inherit; /* 2 */
6+
-webkit-box-sizing: inherit;
7+
box-sizing: inherit; /* 2 */
78
}
89
::before,
910
::after {
1011
text-decoration: inherit; /* 1 */
1112
vertical-align: inherit; /* 2 */
1213
}
1314
html {
14-
box-sizing: border-box; /* 1 */
15+
-webkit-box-sizing: border-box;
16+
box-sizing: border-box; /* 1 */
1517
cursor: default; /* 2 */
1618
-ms-text-size-adjust: 100%; /* 3 */
1719
-webkit-text-size-adjust: 100%; /* 3 */
@@ -41,7 +43,8 @@ figure {
4143
margin: 1em 40px;
4244
}
4345
hr {
44-
box-sizing: content-box; /* 1 */
46+
-webkit-box-sizing: content-box;
47+
box-sizing: content-box; /* 1 */
4548
height: 0; /* 1 */
4649
overflow: visible; /* 2 */
4750
}
@@ -184,7 +187,8 @@ button:-moz-focusring,
184187
outline: 1px dotted ButtonText;
185188
}
186189
legend {
187-
box-sizing: border-box; /* 1 */
190+
-webkit-box-sizing: border-box;
191+
box-sizing: border-box; /* 1 */
188192
color: inherit; /* 2 */
189193
display: table; /* 1 */
190194
max-width: 100%; /* 1 */
@@ -201,7 +205,8 @@ textarea {
201205
}
202206
[type="checkbox"],
203207
[type="radio"] {
204-
box-sizing: border-box; /* 1 */
208+
-webkit-box-sizing: border-box;
209+
box-sizing: border-box; /* 1 */
205210
padding: 0; /* 2 */
206211
}
207212
[type="number"]::-webkit-inner-spin-button,
@@ -615,7 +620,8 @@ input[type=button]:active,
615620
button:active {
616621
background: #0c7cd5;
617622
border-color: rgba(0,0,0,0.54);
618-
box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.2);
623+
-webkit-box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.2);
624+
box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.2);
619625
outline-offset: -2px;
620626
}
621627
input[type=submit]:focus,
@@ -624,7 +630,8 @@ input[type=button]:focus,
624630
button:focus {
625631
background: #0c7cd5;
626632
border-color: rgba(0,0,0,0.54);
627-
box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.2);
633+
-webkit-box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.2);
634+
box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.2);
628635
outline: 0;
629636
}
630637
input[type=submit]:disabled,

css/marx.styl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/marx.styl.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"> 0.5%",
77
"firefox >= 48",
88
"chrome >= 49",
9+
"safari >= 5",
910
"edge >= 14",
1011
"ie >= 11",
1112
"ios >= 7",

0 commit comments

Comments
 (0)