Skip to content

Instantly share code, notes, and snippets.

@angeliquejw
Last active December 18, 2015 04:59
Show Gist options
  • Save angeliquejw/5729509 to your computer and use it in GitHub Desktop.
Save angeliquejw/5729509 to your computer and use it in GitHub Desktop.
Based on the reset included with Elliot Jay Stocks Starkers theme, in turn adapted from Normalize, HTML5 Boilerplate and HTML5 Doctor Reset.
/**
* Adapted from:
* Normalize.css by Nicolas Gallagher and Jonathan Neal:https://github.com/necolas/normalize.css/
* HTML5 boilerplate:http://html5boilerplate.com/
* HTML5 Doctor Reset by Eric Meyer and Richard Clark:html5doctor.com/html-5-reset-stylesheet/
* Modified by Elliot Jay Stocks
*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
background:transparent;
border:0;
font-size:100%;
margin:0;
outline:0;
padding:0;
vertical-align:baseline; }
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section { display:block; }
audio,canvas,video { display:inline; zoom:1; }
audio:not([controls]) { display:none; }
[hidden] { display:none; }
html, body { height:100%; }
html {
-ms-text-size-adjust:100%;
-webkit-text-size-adjust:100%;
font-size:100%;
overflow-y:scroll; }
body { margin:0; }
h1,h2,h3,h4,h5,h6 { font-weight:400; }
a:focus { outline:thin dotted; }
li { list-style:none; }
abbr[title] { border-bottom:none; }
b,strong { font-weight:700; }
i,em,dfn { font-style:italic; }
hr {
border:0;
border-top:1px solid #ccc;
display:block;
height:1px;
margin:1em 0;
padding:0; }
ins, mark { color:#000; }
ins { background:#ff9; text-decoration:none; }
mark { background:#ff0; font-style:italic; font-weight:700; }
pre,code,kbd,samp { _font-family:'courier new', monospace; font-family:monospace, monospace; }
pre { white-space:pre-wrap; word-wrap:break-word; }
q { quotes:none; }
q:before,q:after { content:none; }
small { font-size:85%; }
sub,sup {
font-size:75%;
line-height:0;
position:relative;
vertical-align:baseline; }
sup { top:-.5em; }
sub { bottom:-.25em; }
img { -ms-interpolation-mode:bicubic; border:0; vertical-align:middle; }
label { cursor:pointer; }
input,select,textarea { font-size:100%; margin:0; vertical-align:middle; }
button,input { line-height:normal; overflow:visible; }
button,input[type=button],input[type=reset],input[type=submit] { -webkit-appearance:button; cursor:pointer; }
input[type=checkbox],input[type=radio] { box-sizing:border-box; }
input[type=search] {
-moz-box-sizing:content-box;
-webkit-appearance:textfield;
-webkit-box-sizing:content-box;
box-sizing:content-box; }
input[type=search]::-webkit-search-decoration { -webkit-appearance:none; }
button::-moz-focus-inner,input::-moz-focus-inner { border:0; padding:0; }
textarea { overflow:auto; resize:vertical; vertical-align:top; }
table { border-collapse:collapse; border-spacing:0; }
td { vertical-align:top; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment