commit:     6bf151048ac4c508a2b8f516d2e11c5f97a546db
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Tue Aug 11 07:38:10 2015 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 07:38:10 2015 +0000
URL:        https://gitweb.gentoo.org/sites/www.git/commit/?id=6bf15104

Fix broken news markup, rework spacing between news items

 _includes/frontpage/news | 2 +-
 _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 {

Reply via email to