* [gentoo-commits] sites/www:master commit in: /, _sass/
@ 2016-01-03 15:40 Alex Legler
0 siblings, 0 replies; only message in thread
From: Alex Legler @ 2016-01-03 15:40 UTC (permalink / raw
To: gentoo-commits
commit: 2969f690fd2eca8ef07cf083f19a10ba2f424378
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Jan 3 15:26:01 2016 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Jan 3 15:26:01 2016 +0000
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=2969f690
Add link to full news item list beneath the 3 featured items
_sass/news.scss | 16 ++++++++++++++++
index.html | 7 +++++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/_sass/news.scss b/_sass/news.scss
index 3a464eb..b6a16e8 100644
--- a/_sass/news.scss
+++ b/_sass/news.scss
@@ -29,3 +29,19 @@ article.newsitem {
float: right;
margin-left: 2em;
}
+
+.news-more {
+ text-align: right;
+ margin: 0;
+ margin-top: 18px;
+ padding: 0;
+ font-size: 90%;
+
+ a:link, a:active, a:visited, a:hover {
+ color: #aaa;
+ }
+
+ hr {
+ margin-top: 2px;
+ }
+}
diff --git a/index.html b/index.html
index 1c283ef..635890a 100644
--- a/index.html
+++ b/index.html
@@ -24,7 +24,10 @@ meta: '<link rel="alternate" type="application/atom+xml" title="Gentoo Linux New
{% include frontpage/news %}
-<hr>
+<div class="news-more">
+ <a href="/news" class="btn btn-xs">All news items <span class="fa fa-fw fa-chevron-right"></span></a>
+ <hr>
+</div>
<div class="row">
<div class="col-xs-12 col-md-6">
@@ -52,4 +55,4 @@ meta: '<link rel="alternate" type="application/atom+xml" title="Gentoo Linux New
<div class="row sponsor">
{% render_ads %}
-</div>
\ No newline at end of file
+</div>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-03 15:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-03 15:40 [gentoo-commits] sites/www:master commit in: /, _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