Mercurial > hg-website
comparison static/css/styles.css @ 319:bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Thu, 12 Nov 2009 21:29:39 -0500 |
parents | 8ebf006007f8 |
children | bdd5e288c7e0 |
comparison
equal
deleted
inserted
replaced
318:246341163502 | 319:bb9f90fa265d |
---|---|
22 body { font: .975em/1.4285em "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif; color: #111; background-color: #fff; width: 900px; margin: 0 auto; position: relative; } | 22 body { font: .975em/1.4285em "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif; color: #111; background-color: #fff; width: 900px; margin: 0 auto; position: relative; } |
23 | 23 |
24 /* | 24 /* |
25 * Headings | 25 * Headings |
26 */ | 26 */ |
27 h1, h2, h3 { font-size: 1em; font-family: Optimer, Helvetica, Arial, sans-serif; margin: 0 0 .5em 0; font-weight: normal; } | 27 h1, h2, h3 { font-size: 1em; font-family: Palatino, "Palatino Linotype", Times, serif; margin: 0 0 .5em 0; font-weight: normal; } |
28 h4, h5, h6 { font-size: 1em; margin: 0 0 .5em 0; } | 28 h4, h5, h6 { font-size: 1em; margin: 0 0 .5em 0; } |
29 h1 { font-size: 2em; } | 29 h1 { font-size: 2em; } |
30 h2 { font-size: 1.6em; } | 30 h2 { font-size: 1.6em; } |
31 h3 { font-size: 1.3em; } | 31 h3 { font-size: 1.3em; } |
32 | 32 |
121 | 121 |
122 /* | 122 /* |
123 * Homepage | 123 * Homepage |
124 */ | 124 */ |
125 #home #logo { margin-bottom: 0 !important; } | 125 #home #logo { margin-bottom: 0 !important; } |
126 #home dl { margin: 0 30px; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .80em; line-height: 1.4em; } | 126 #frontpage dl { margin: 0 30px; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .80em; line-height: 1.4em; } |
127 #home h1 { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; } | 127 #frontpage h1 { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; } |
128 #home h2, #home h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; } | 128 #frontpage h2, #frontpage h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; } |
129 #home h4 { font-weight: normal; margin: 0; } | 129 #frontpage h4 { font-weight: normal; margin: 0; } |
130 #home h4 a { text-decoration: none; } | 130 #frontpage h4 a { text-decoration: none; } |
131 #home h4 a:hover, #home h4 a:focus { text-decoration: underline; } | 131 #frontpage h4 a:hover, #home h4 a:focus { text-decoration: underline; } |
132 #home ol { margin: 0; } | 132 #frontpage ol { margin: 0; } |
133 #home ol li { list-style: none; background: url(../images/bullet-big-1.png) no-repeat 0 0; padding-left: 60px; min-height: 43px; _height: 43px; margin-bottom: 1.7em } | 133 #frontpage ol li { list-style: none; background: url(../images/bullet-big-1.png) no-repeat 0 0; padding-left: 60px; min-height: 43px; _height: 43px; margin-bottom: 1.7em } |
134 #home ol .i-2 { background-image: url(../images/bullet-big-2.png); } | 134 #frontpage ol .i-2 { background-image: url(../images/bullet-big-2.png); } |
135 #home ol .i-3 { background-image: url(../images/bullet-big-3.png); } | 135 #frontpage ol .i-3 { background-image: url(../images/bullet-big-3.png); } |
136 #home ol a { text-decoration: none; } | 136 #frontpage ol a { text-decoration: none; } |
137 #home ol a:hover { text-decoration: underline; } | 137 #frontpage ol a:hover { text-decoration: underline; } |
138 | 138 |
139 /* | 139 /* |
140 * Footer | 140 * Footer |
141 */ | 141 */ |
142 #footer { font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .6428em; display: inline-block; overflow: hidden; text-align: right; padding: 10px 25px; } | 142 #footer { font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .6428em; display: inline-block; overflow: hidden; text-align: right; padding: 10px 25px; } |