Skip to content

Instantly share code, notes, and snippets.

@chriskottom
Created April 19, 2011 07:32
Show Gist options
  • Save chriskottom/926968 to your computer and use it in GitHub Desktop.
Save chriskottom/926968 to your computer and use it in GitHub Desktop.
A simple CSS stylesheet that I use to create some sane default settings after reset
/* -------- BASE STYLES -------- */
html, body {
height: 100%;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em }
h3 { font-size: 1.17em }
h4 { font-size: 1em }
h5 { font-size: .83em }
h6 { font-size: .67em }
h1, h2, h3 {
margin-bottom: 2em;
}
h4, h5, h6 {
margin-bottom: 0.3em;
}
p {
margin-bottom: 1.4em;
}
ul {
list-style-type: circle;
padding-left: 2em;
}
a {
color: #da4e4e;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.clear {
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment