Permalink
Browse files

recent comments, improved sidebar design

  • Loading branch information...
1 parent c36b0fa commit d890d5a2f51d10ad95c19ffec0a8d67cbeccc221 @rsim committed Aug 9, 2010
Showing with 32 additions and 26 deletions.
  1. +2 −0 _includes/sidebar.html
  2. +30 −26 css/screen.css
@@ -29,3 +29,5 @@
{% endfor %}
</ul>
+<h2>Discussions</h2>
+<script type="text/javascript" src="http://disqus.com/forums/rayapps-blog/combination_widget.js?num_items=5&hide_mods=0&color=grey&default_tab=recent&excerpt_length=200"></script><a href="http://disqus.com/">Powered by Disqus</a>
View
@@ -47,35 +47,32 @@ table {
}
h1, h2, h3, h4, h5, h6 {
- font-size: 100%;
+ line-height: 1.5em;
}
h1 {
- font-size: 1.9em;
+ font-size: 30px;
font-weight: bold;
margin-bottom: 1em;
}
h2 {
- font-size: 1.6em;
+ font-size: 22px;
font-weight: bold;
- line-height: 1.5em;
margin-top: 1em;
margin-bottom: 0.33em;
}
h3 {
- font-size: 1.3em;
+ font-size: 18px;
font-weight: bold;
- line-height: 1.5em;
margin-top: 1em;
margin-bottom: 0.33em;
}
h4 {
- font-size: 1.0em;
+ font-size: 14px;
font-weight: bold;
- line-height: 1.5em;
margin-top: 1em;
margin-bottom: 0.33em;
border-bottom: 1px solid #CCC;
@@ -117,29 +114,18 @@ h4 {
#sidebar {
float: right;
- font-size: 90%;
position: absolute;
- right: 2em;
+ right: 1.5em;
top: 160px;
- width: 15em;
+ width: 14em;
}
-#sidebar ul {
- list-style-type: disc;
- margin-left: 1em;
- padding-left: 5px;
-}
-
-#sidebar li {
- line-height: 1.3em;
-}
-
-#sidebar span.date {
- color: #000;
+#sidebar * {
+ font-size: 12px;
}
#sidebar h2 {
- font-size: 1em;
+ font-size: 14px;
font-weight: bold;
}
@@ -151,6 +137,20 @@ h4 {
border-style: none;
}
+#sidebar ul {
+ list-style-type: disc;
+ margin-left: 1em;
+ padding-left: 5px;
+}
+
+#sidebar li {
+ line-height: 1.3em;
+}
+
+#sidebar span.date {
+ color: #666;
+}
+
/* Post */
div.post {
@@ -257,7 +257,7 @@ ul.posts li {
}
ul.posts span.date {
- color: #AAA;
+ color: #666;
font-family: Monaco, 'Lucida Console', monospace;
font-size: 80%;
}
@@ -274,4 +274,8 @@ ul.posts span.date {
line-height: 1.5em;
margin-top: 1em;
margin-bottom: 0.33em;
-}
+}
+
+#sidebar #dsq-combo-widget #dsq-combo-content h3 {
+ font-size: 14px;
+}

0 comments on commit d890d5a

Please sign in to comment.