Skip to content

Commit

Permalink
Merge pull request #1286 from cobyism/news-responsivityness
Browse files Browse the repository at this point in the history
News responsivityness
  • Loading branch information
parkr committed Jul 8, 2013
2 parents ff48b88 + a6c0fa9 commit dca7158
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion site/_includes/news_item.html
@@ -1,5 +1,5 @@
<article>
<h2 class="center-on-mobiles">
<h2>
<a href="{{ post.url }}">
{{ post.title }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion site/_layouts/news_item.html
Expand Up @@ -3,7 +3,7 @@
---

<article>
<h2 class="center-on-mobiles">
<h2>
{{ page.title }}
<a href="{{ page.url }}" class="permalink" title="Permalink"></a>
</h2>
Expand Down
12 changes: 9 additions & 3 deletions site/css/style.css
Expand Up @@ -104,7 +104,7 @@ nav li {
text-transform: uppercase;
font-size: 14px;
font-weight: 800;
padding: 5px 0;
padding: 5px;
border-radius: 5px;
}

Expand All @@ -126,7 +126,7 @@ nav li {
text-align: right;
}
}
@media (max-width: 720px){
@media (max-width: 830px){
.main-nav .show-on-mobiles {
display: inline;
}
Expand Down Expand Up @@ -371,6 +371,12 @@ article {
font-size: 16px;
}

@media (max-width: 480px){
article ul {
padding-left: 20px;
}
}

@media (max-width: 568px){
article {
margin: 0;
Expand Down Expand Up @@ -552,7 +558,7 @@ article h2:first-child {

@media (max-width: 568px){
.post-category {
margin-right: -30px;
padding-left: 30px;
}
}

Expand Down

0 comments on commit dca7158

Please sign in to comment.