Reimagined reset

This commit is contained in:
Mike Francis 2015-04-09 16:32:19 +01:00
parent 833f007e77
commit 1e6090464c
1 changed files with 9 additions and 30 deletions

View File

@ -2,33 +2,19 @@
background-color: transparent; background-color: transparent;
border: 0; border: 0;
box-sizing: border-box; box-sizing: border-box;
-webkit-font-smoothing: antialiased; font: inherit;
margin: 0; margin: 0;
padding: 0; padding: 0;
text-rendering: optimizeLegibility;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
} }
html { html {
background-color: white; background-color: white;
font-size: 100%; font-size: 100%;
min-height: 100%; -webkit-font-smoothing: antialiased;
text-size-adjust: 100%; -moz-osx-font-smoothing: grayscale;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility;
} }
input, input,
@ -37,14 +23,13 @@ textarea,
button { button {
color: inherit; color: inherit;
display: inline-block; display: inline-block;
font: inherit; &[disabled] {
cursor: not-allowed;
}
} }
button { button {
cursor: pointer; cursor: pointer;
&[disabled] {
cursor: not-allowed;
}
} }
table { table {
@ -54,10 +39,4 @@ table {
td { td {
text-align: left; text-align: left;
} }
}
b,
strong,
th {
font-weight: bold;
} }