532be74eed8f

A few changes in the CSS styles for the site.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 16 Jan 2009 00:37:54 -0500
parents 5dec1cfcdb6b
children ed09fa884762
branches/tags (none)
files site-media/style/blog.css site-media/style/projects.css templates/projects/base.html templates/projects/project.html

Changes

--- a/site-media/style/blog.css	Fri Jan 16 00:22:26 2009 -0500
+++ b/site-media/style/blog.css	Fri Jan 16 00:37:54 2009 -0500
@@ -45,10 +45,6 @@
     margin-bottom: 1.5em;
 }
 
-div#blog-entry-comments h2{
-    font-weight: normal;
-}
-
 div#blog-entry-new-comment {
     margin-top: 1.5em;
 }
@@ -57,8 +53,9 @@
     margin-left: 2em;
 }
 
-div.blog-entry-comment-body code {
+div.blog-entry-comment-body code, .wmd-preview code, div.blog-entry-comment-body blockquote, .wmd-preview blockquote {
     font-size: 1.0em;
+    padding-bottom: 0em;
 }
 
 div.wmd-preview {
@@ -70,6 +67,10 @@
 }
 
 div.blog-entry-comment-body h2, .wmd-preview h2 {
+    font-size: 1.3em;
+}
+
+div.blog-entry-comment-body h3, .wmd-preview h3, div.blog-entry-comment-body h4, .wmd-preview h4, div.blog-entry-comment-body h5, .wmd-preview h5 {
     font-size: 1.2em;
 }
 
--- a/site-media/style/projects.css	Fri Jan 16 00:22:26 2009 -0500
+++ b/site-media/style/projects.css	Fri Jan 16 00:37:54 2009 -0500
@@ -45,6 +45,11 @@
     margin-left: 2em;
 }
 
+div.projects-project-comment-body code, .wmd-preview code, div.projects-project-comment-body blockquote, .wmd-preview blockquote {
+    font-size: 1.0em;
+    padding-bottom: 0em;
+}
+
 div.wmd-preview {
     margin-left: 2em;
 }
@@ -54,6 +59,10 @@
 }
 
 div.projects-project-comment-body h2, .wmd-preview h2 {
+    font-size: 1.3em;
+}
+
+div.projects-project-comment-body h3, .wmd-preview h3, div.projects-project-comment-body h4, .wmd-preview h4, div.projects-project-comment-body h5, .wmd-preview h5 {
     font-size: 1.2em;
 }
 
--- a/templates/projects/base.html	Fri Jan 16 00:22:26 2009 -0500
+++ b/templates/projects/base.html	Fri Jan 16 00:37:54 2009 -0500
@@ -5,6 +5,8 @@
 {% block style %}
 	<link rel="stylesheet" href="/site-media/style/projects.css" 
 		  type="text/css"/>
+	<link rel="stylesheet" href="/site-media/style/code.css" 
+		  type="text/css"/>
 {% endblock %}
 
 {% block header %}/ projects{% endblock %}
\ No newline at end of file
--- a/templates/projects/project.html	Fri Jan 16 00:22:26 2009 -0500
+++ b/templates/projects/project.html	Fri Jan 16 00:37:54 2009 -0500
@@ -27,7 +27,7 @@
 			</p>
 		</div>
 		<div id="projects-project-body" class="content">
-			{{ project.body|markdown:"safe" }}
+			{{ project.body|markdown:"codehilite" }}
 		</div>
 	</div>
 	<hr />