Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
improved mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 2, 2015
1 parent 3851935 commit 6ab6ad5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions assets/scss/components/_media-queries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@
}
}

#posts-list > li {
> time {
padding: 0 0 0 4rem;
}
}

main {
left: 0;
transition: all $aside-animation-time;
Expand Down Expand Up @@ -200,12 +194,18 @@
margin: 1rem 0;
}

#posts-list > li {
margin-bottom: 2.5rem;
#posts-list{
margin: 3rem 0;
text-align: center;
> li {
margin-bottom: 2rem;

> time {
padding: 0 0 25px 25px;
letter-spacing: 1px;
> time {
display: block;
float: none;
letter-spacing: 1px;
padding: 0;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<ol id="posts-list">
{{#foreach posts}}
<li>
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<a href="{{url}}" title="link to {{{title}}}">{{title}}</a>
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<span class="post tags">{{tags separator=" "}}</span>
</li>
{{/foreach}}
Expand Down

0 comments on commit 6ab6ad5

Please sign in to comment.