diff options
| author | franck cuny <franck@lumberjaph.net> | 2011-02-20 13:14:08 +0100 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2011-02-20 13:14:08 +0100 |
| commit | 4d021009dbfabbd46633849ea4da75b8bd66c4ec (patch) | |
| tree | 596136bae7acf66966020e00e39d0a5e5b644e5f | |
| parent | new post, and some fix to the CSS (diff) | |
| download | lumberjaph-4d021009dbfabbd46633849ea4da75b8bd66c4ec.tar.gz | |
update layout again (date on the same line as the title)
| -rw-r--r-- | _layouts/post.html | 3 | ||||
| -rw-r--r-- | index.html | 3 | ||||
| -rw-r--r-- | static/css/screen.css | 6 |
3 files changed, 4 insertions, 8 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 00156c1..af69f21 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,9 +2,8 @@ layout: default --- <div id="post"> - <h2 id="post_title"><a href="{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h2> + <h2 id="post_title"><a href="{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a><span id="date">published <time datetime="{{ page.date }}" pubdate>{{ page.date | date_to_string }}</time></span></h2> <article> - <h4 id="date">published <time datetime="{{ page.date }}" pubdate>{{ page.date | date_to_string }}</time></h4> {{ content }} </article> <hr /> @@ -4,9 +4,8 @@ title: I'm a lumberjaph --- {% assign first_post = site.posts.first %} <div id="post"> - <h2 id="post_title"><a href="{{ first_post.url }}">{{first_post.title }}</a></h2> + <h2 id="post_title"><a href="{{ page.url }}" rel="bookmark" title="{{ first_post.title }}">{{ first_post.title }}</a><span id="date">published <time datetime="{{ first_post.date }}" pubdate>{{ first_post.date | date_to_string }}</time></span></h2> <article> - <h4 id="date">published {{ first_post.date | date_to_string }}</h4> {{ first_post.content }} </article> <a id="more" href="{{ first_post.url }}#disqus">Comments »</a> diff --git a/static/css/screen.css b/static/css/screen.css index 3670d0a..8c5dae8 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -179,12 +179,10 @@ ul.posts span { } #date { - font-size: 70%; + font-size: 50%; text-align: right; - margin-right: 1.7em; - margin-top: .7em; - margin-bottom: 4em; font-weight: normal; + float: right; } #post h2 { |
