Skip to content

Commit

Permalink
Fixed some typos and updated layout a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
a5huynh committed Dec 25, 2011
1 parent 09c6eae commit acf305d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 7 deletions.
10 changes: 6 additions & 4 deletions _layouts/default.html
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="/static/css/blog.css" type="text/css" media="screen">
<link rel="stylesheet" href="/static/css/syntax.css" type="text/css" media="screen">
</head>
<body>
<body onload='image_captions();'>
<div class='container_12'>
<div class='header'>
<div id='big-name' class='grid_7'>
Expand Down Expand Up @@ -46,11 +46,13 @@
<div>
Here be thoughts.
</div>
<div class='post-list-header'><h1>Bloggy Posts</h1></div>
<div class='post-list-header'><h1>Thoughts</h1></div>
{% for post in site.posts limit:10 %}
<div class='post-item'>
<div class='post-title'><a href="{{ post.url }}">{{ post.title }}</a></div>
<div class='caption'>{{ post.date | date_to_string }}</div>
<a href='{{ post.url }}'>
<div class='post-title'>{{ post.title }}</div>
<div class='caption'>{{ post.date | date_to_string }}</div>
</a>
</div>
{% endfor %}
</div>
Expand Down
Expand Up @@ -30,4 +30,4 @@ I just start with some dollar signs, some notation, and **boom!** $r_{s} = \frac
def hello:
print 'Hello!'
{% endhighlight %}
Just thing of all those fancy posts I'll get to write with some code. Oooh boy.
Just think of all those fancy posts with code I'll get to write someday. Oooh boy my giblets are tingling already.
38 changes: 36 additions & 2 deletions static/css/blog.css
@@ -1,7 +1,29 @@
blockquote {
color:#666;
font-size:14px;
margin:0;
padding:0;
}

blockquote > p {
margin:0;
padding:0;
padding-left:16px;
border-left:2px solid orange;
}

.article > p {
padding-bottom: 8px;
}

.article a {
color:orange;
}

.article a:hover {
text-decoration:underline;
}

.post-list-header {
margin-bottom:16px;
padding-left:16px;
Expand All @@ -15,20 +37,31 @@
border-left:4px solid white;
}

.post-item a {
color:#333;
font-family:"Droid Serif",Georgia,"Times New Roman",serif;
}

.post-item:hover {
border-left:4px solid gray;
}

.post-item > .post-title {
font-size:16px;
.post-item .post-title {
font-size:16px !important;
}

.article {
padding:0 !important;
}

.article > .captioned_img {
text-align:center;
margin:16px;
}

.caption {
font-size:12px;
color:#1691d8;
}

h2:before {
Expand All @@ -44,6 +77,7 @@ h1 {
font-size:30px;
}
h1, h2 {
font-family:"Droid Serif",Georgia,"Times New Roman",serif;
font-weight: lighter;
color: orange;
margin-bottom:4px;
Expand Down

0 comments on commit acf305d

Please sign in to comment.