Mercurial > hg-website
changeset 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 | 246341163502 |
children | bdd5e288c7e0 |
files | .hgsubstate static/css/styles.css templates/frontpage.html |
diffstat | 3 files changed, 16 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Thu Nov 12 21:29:11 2009 -0500 +++ b/.hgsubstate Thu Nov 12 21:29:39 2009 -0500 @@ -1,2 +1,2 @@ -8f975dea983806e4c22ce44daf0d64b27487b1c4 content +258ff0a472a21d98360d4568001bc636bc959b7b content cd32fa177205bc2e7325393257c5ce861399c12a rendered
--- a/static/css/styles.css Thu Nov 12 21:29:11 2009 -0500 +++ b/static/css/styles.css Thu Nov 12 21:29:39 2009 -0500 @@ -24,7 +24,7 @@ /* * Headings */ -h1, h2, h3 { font-size: 1em; font-family: Optimer, Helvetica, Arial, sans-serif; margin: 0 0 .5em 0; font-weight: normal; } +h1, h2, h3 { font-size: 1em; font-family: Palatino, "Palatino Linotype", Times, serif; margin: 0 0 .5em 0; font-weight: normal; } h4, h5, h6 { font-size: 1em; margin: 0 0 .5em 0; } h1 { font-size: 2em; } h2 { font-size: 1.6em; } @@ -123,18 +123,18 @@ * Homepage */ #home #logo { margin-bottom: 0 !important; } -#home dl { margin: 0 30px; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .80em; line-height: 1.4em; } -#home h1 { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; } -#home h2, #home h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; } -#home h4 { font-weight: normal; margin: 0; } -#home h4 a { text-decoration: none; } -#home h4 a:hover, #home h4 a:focus { text-decoration: underline; } -#home ol { margin: 0; } -#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 } -#home ol .i-2 { background-image: url(../images/bullet-big-2.png); } -#home ol .i-3 { background-image: url(../images/bullet-big-3.png); } -#home ol a { text-decoration: none; } -#home ol a:hover { text-decoration: underline; } +#frontpage dl { margin: 0 30px; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .80em; line-height: 1.4em; } +#frontpage h1 { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; } +#frontpage h2, #frontpage h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; } +#frontpage h4 { font-weight: normal; margin: 0; } +#frontpage h4 a { text-decoration: none; } +#frontpage h4 a:hover, #home h4 a:focus { text-decoration: underline; } +#frontpage ol { margin: 0; } +#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 } +#frontpage ol .i-2 { background-image: url(../images/bullet-big-2.png); } +#frontpage ol .i-3 { background-image: url(../images/bullet-big-3.png); } +#frontpage ol a { text-decoration: none; } +#frontpage ol a:hover { text-decoration: underline; } /* * Footer