diff options
author | Alex Legler <alex@a3li.li> | 2015-08-11 09:38:10 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-08-11 09:38:10 +0200 |
commit | 6bf151048ac4c508a2b8f516d2e11c5f97a546db (patch) | |
tree | e3ec71082c074436ed0273f67f49c5ed2eb4461d | |
parent | Fix news item display on small screens (diff) | |
download | www-6bf151048ac4c508a2b8f516d2e11c5f97a546db.tar.gz www-6bf151048ac4c508a2b8f516d2e11c5f97a546db.tar.bz2 www-6bf151048ac4c508a2b8f516d2e11c5f97a546db.zip |
Fix broken news markup, rework spacing between news items
-rw-r--r-- | _includes/frontpage/news | 2 | ||||
-rw-r--r-- | _sass/news.scss | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/_includes/frontpage/news b/_includes/frontpage/news index f37099f..a8d4861 100644 --- a/_includes/frontpage/news +++ b/_includes/frontpage/news @@ -1,5 +1,5 @@ -{% for post in site.posts | limit: 3 %} <section id="news"> + {% for post in site.posts | limit: 3 %} <article class="newsitem"> <h2 class="stick-top newsitem-bullet"> <span class="fa fa-fw fa-chevron-circle-right" title="News item"></span> diff --git a/_sass/news.scss b/_sass/news.scss index 41578cf..e994b80 100644 --- a/_sass/news.scss +++ b/_sass/news.scss @@ -1,10 +1,5 @@ -section#news { - padding-top: 1em; -} - article.newsitem { - margin-top: 1em; - max-height: 200px; + margin-top: 2em; } .newsitem-headline { |