Skip to content

Instantly share code, notes, and snippets.

@belchior
Last active October 25, 2015 23:25
Show Gist options
  • Save belchior/d714941812b6f1d33b2f to your computer and use it in GitHub Desktop.
Save belchior/d714941812b6f1d33b2f to your computer and use it in GitHub Desktop.
html, body, div, span, object, iframe,
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 {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
background: transparent;
}
body {
font-family: arial;
font-size: 100%;
line-height: 140%;
}
menu,nav,label {
display: block;
}
ul {
padding: 0 0 0 1em;
}
nav ul {
padding: 0;
list-style: none;
}
abbr[title], dfn[title] {
border-bottom: 1px dotted;
cursor: help;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #cccccc;
margin: 1em 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
h1 {
line-height: 1.5em;
font-size: 2em;
}
h2 {
line-height: 1.125em;
font-size: 1.5em;
}
h3 {
line-height: 1.25em;
font-size: 1em;
}
a {
display: inline-block;
margin: 0;
padding: 0;
color: #000000;
font-size: 100%;
vertical-align: baseline;
text-decoration: none;
}
a:hover {
color: #202020;
}
a:active {
color: #000000;
}
a:visited {
color: #000000;
}
a img {
vertical-align: middle;
}
input:focus, select:focus, textarea:focus, button:focus, a:focus, [role="button"]:focus {
outline: none;
box-shadow: inset 0 0 0 1px;
transition: box-shadow 0.3s linear;
}
input, select, textarea, button {
box-sizing: border-box;
vertical-align: middle;
margin-bottom: 10px;
border: 1px solid #cccccc;
padding-top: 6px;
padding-bottom: 6px;
font-size: 1em;
line-height: 1.3em
}
input, select, textarea {
padding-left: 6px;
padding-right: 6px;
}
input[type=text],
input[type=email],
input[type=password],
input[type=url],
textarea {
width: 100%;
}
input[type=radio],
input[type=checkbox] {
margin: 8px 2px 9px 2px;
width: 15px;
height: 15px;
}
textarea {
min-height: 80px;
}
button {
margin: 0;
border: 0;
padding: 0;
background-color: #dddddd;
}
button:focus {
outline: none;
}
button:hover {
background-color: #cccccc;
}
button:active {
background-color: #bbbbbb;
}
table {
width: 100%;
}
pre {
overflow: auto;
white-space: pre-wrap;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment