Tweak design a bit more

This commit is contained in:
Ariejan de Vroom 2013-08-16 06:27:57 +02:00
parent 1f911774a0
commit 47619f9a80
3 changed files with 46 additions and 16 deletions

View File

@ -59,7 +59,7 @@ h1, h2, h3, h4, h5, h6
#main #main
#adpacks #adpacks
text-align: right width: 130px
font-size: 0.8em font-size: 0.8em
.bsa_it_i .bsa_it_i
@ -72,7 +72,6 @@ h1, h2, h3, h4, h5, h6
.bsa_it_d .bsa_it_d
display: inline-block display: inline-block
clear: right clear: right
text-align: right
width: 130px width: 130px
margin-bottom: 10px margin-bottom: 10px
@ -107,7 +106,6 @@ h1, h2, h3, h4, h5, h6
margin-bottom: 10px margin-bottom: 10px
margin-left: 72px margin-left: 72px
font-size: 1.2em font-size: 1.2em
display: inline-block
span.meta span.meta
margin-left: -72px margin-left: -72px
@ -130,6 +128,26 @@ h1, h2, h3, h4, h5, h6
margin-top: 20px margin-top: 20px
margin-bottom: 0 margin-bottom: 0
#recent-posts
h4.title
clear: left
margin-top: 0
margin-bottom: 10px
margin-left: 64px
font-size: 1em
span.meta
margin-left: -64px
color: $text-color
font-size: 0.8em
padding-top: 0.2em
display: inline-block
float: left
#comments
margin-top: 20px
.page .page
h1.title h1.title
margin-top: 20px margin-top: 20px
@ -143,6 +161,8 @@ h1, h2, h3, h4, h5, h6
float: right float: right
#footer #footer
margin-top: 20px
ul.tla ul.tla
padding-left: 0 padding-left: 0
font-size: 0.8em font-size: 0.8em

View File

@ -12,19 +12,7 @@ title: blog
%p.summary= article[:summary] %p.summary= article[:summary]
.row .row
.col-sm-6 .col-sm-6.col-sm-push-6
%h3 Older posts
#older-posts
- sorted_articles[3..-1].each do |article|
.post
%h2.title
%a{href: article.path, title: article[:title]}
%span.meta= get_short_date(article)
= article[:title]
.col-sm-6
#about #about
%h3 About me %h3 About me
:markdown :markdown
@ -49,3 +37,16 @@ title: blog
[5]: http://www.linkedin.com/in/ariejan [5]: http://www.linkedin.com/in/ariejan
[6]: https://github.com/ariejan [6]: https://github.com/ariejan
[8]: mailto:ariejan@ariejan.net [8]: mailto:ariejan@ariejan.net
.col-sm-6.col-sm-pull-6
%h3 Older posts
#older-posts
- sorted_articles[3..-1].each do |article|
.post
%h2.title
%a{href: article.path, title: article[:title]}
%span.meta= get_short_date(article)
= article[:title]

View File

@ -10,6 +10,15 @@
.body .body
= yield = yield
#recent-posts
%h3 Recent posts on <strong>ariejan.net</strong>
- sorted_articles[0..4].each do |article|
%h4.title
%a{href: article.path, title: article[:title]}
%span.meta= get_short_date(article)
= article[:title]
#comments #comments
#disqus_thread #disqus_thread