Last active
August 29, 2015 14:13
-
-
Save foxleigh81/908357b7efaa337cf65a to your computer and use it in GitHub Desktop.
Modified YUI2 Reset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Alex Ward's Custom YUI2 Reset */ | |
* { margin:0;padding:0;box-sizing:border-box;outline: 0; } | |
table { border-collapse:collapse;border-spacing:0; } | |
fieldset,img { border:0; } | |
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal;font-weight:normal;} | |
ol,ul { list-style:none; } | |
caption,th { text-align:left; } | |
h1,h2,h3,h4,h5,h6 { font-size:100%;font-weight:normal;} | |
q:before,q:after { content:'';} | |
a { text-decoration:none; } | |
abbr,acronym { border:0;} | |
input, textarea { -webkit-appearance: none; } | |
header, article, section, nav, figure, aside, hgroup, footer { display:block; } // Only for HTML5 | |
html { font-size: 62.5%; } | |
body, html { height:100%; } | |
html, html a { -webkit-font-smoothing: antialiased !important; } | |
select::-ms-expand { display: none; } // Remove default drop down style in IE | |
/* Any text inside a paragraph should be formatted normally */ | |
span strong, p strong { font-weight: bold; } | |
span em, p em { font-style: italic; } | |
p strong em,p em strong { font-style: italic; font-weight:bold; } | |
a[href^=tel] {color:inherit;text-decoration:none;cursor:default; } // Don't style 'Tel:' links |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment