Skip to content
Browse files

Standardize order of properties inside rules

  • Loading branch information...
1 parent 6c1317f commit 291a2732073564747e80a6834f37b6706b9fdd4e Chad Mazzola committed Sep 14, 2010
Showing with 25 additions and 6 deletions.
  1. +25 −6 public/stylesheets/type.css
View
31 public/stylesheets/type.css
@@ -7,84 +7,103 @@ h1 {
line-height: 1;
margin-bottom: 0.25em;
}
+
h2 {
font-size: 1.6em;
- margin-bottom: 0.25em;
line-height: 1.1;
+ margin-bottom: 0.25em;
}
+
h3 {
font-size: 1.3em;
line-height: 1;
margin-bottom: 0.25em;
}
+
h4 {
font-size: 1.1em;
line-height: 1.25;
margin-bottom: 0.25em;
}
+
h5 {
font-size: 1em;
margin-bottom: 0.25em;
}
+
h6 {
font-size: 1em;
margin-bottom: 0.25em;
}
/* Text elements */
p { margin-bottom: 0.5em; }
+
p.last { margin-bottom: 0; }
+
p img {
float: left;
margin: 1.5em 1.5em 1.5em 0;
padding: 0;
}
+
p img.top { margin-top: 0; } /* Use this if the image is at the top of the <p>. */
+
img { margin: 0 0 1.5em; }
abbr, acronym {
border-bottom: 1px dotted #666;
cursor: help;
}
+
address {
- margin-top: 1.5em;
font-style: italic;
+ margin-top: 1.5em;
}
+
del { color:#666; }
a, a:link {
color: #1a4882;
text-decoration: underline;
}
+
a:visited { color: #1a4882; }
a:hover { color: #052246; }
a:active, a:focus { color: #1a4882; }
blockquote {
- margin: 1.5em 0;
+ border-left: 4px solid #d1d1d1;
color: #666;
font-style: italic;
+ margin: 1.5em 0;
padding-left: 1em;
- border-left: 4px solid #d1d1d1;
}
+
strong { font-weight: bold; }
+
em, dfn { font-style: italic; }
+
dfn { font-weight: bold; }
+
pre, code {
margin: 1.5em 0;
white-space: pre;
}
+
pre, code, tt {
font: 1em 'andale mono', 'monotype.com', 'lucida console', monospace;
line-height: 1.5;
}
+
pre.code {
- background: #000;
+ background: #000;
color: #fff;
padding: 20px;
}
+
tt {
display: block;
- margin: 1.5em 0;
line-height: 1.5;
+ margin: 1.5em 0;
}

0 comments on commit 291a273

Please sign in to comment.
Something went wrong with that request. Please try again.