public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] sites/www:master commit in: _includes/frontpage/, _sass/
@ 2015-08-11  7:39 Alex Legler
  0 siblings, 0 replies; only message in thread
From: Alex Legler @ 2015-08-11  7:39 UTC (permalink / raw
  To: gentoo-commits

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 {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-11  7:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11  7:39 [gentoo-commits] sites/www:master commit in: _includes/frontpage/, _sass/ Alex Legler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox