# HG changeset patch # User Steve Losh # Date 1258079379 18000 # Node ID bb9f90fa265d01530ab503830ec495d0ed32b403 # Parent 246341163502586c36db8283a1a44f130b276940 Fix the CSS frontpage styles to apply to the frontpage only. diff -r 246341163502 -r bb9f90fa265d .hgsubstate --- 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 diff -r 246341163502 -r bb9f90fa265d static/css/styles.css --- 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 diff -r 246341163502 -r bb9f90fa265d templates/frontpage.html --- a/templates/frontpage.html Thu Nov 12 21:29:11 2009 -0500 +++ b/templates/frontpage.html Thu Nov 12 21:29:39 2009 -0500 @@ -1,6 +1,7 @@ {% extends "base.html" %} {% block main %} +
@@ -61,4 +62,5 @@
+
{% endblock %}