1 |
commit: 2969f690fd2eca8ef07cf083f19a10ba2f424378 |
2 |
Author: Alex Legler <alex <AT> a3li <DOT> li> |
3 |
AuthorDate: Sun Jan 3 15:26:01 2016 +0000 |
4 |
Commit: Alex Legler <a3li <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 3 15:26:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=2969f690 |
7 |
|
8 |
Add link to full news item list beneath the 3 featured items |
9 |
|
10 |
_sass/news.scss | 16 ++++++++++++++++ |
11 |
index.html | 7 +++++-- |
12 |
2 files changed, 21 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/_sass/news.scss b/_sass/news.scss |
15 |
index 3a464eb..b6a16e8 100644 |
16 |
--- a/_sass/news.scss |
17 |
+++ b/_sass/news.scss |
18 |
@@ -29,3 +29,19 @@ article.newsitem { |
19 |
float: right; |
20 |
margin-left: 2em; |
21 |
} |
22 |
+ |
23 |
+.news-more { |
24 |
+ text-align: right; |
25 |
+ margin: 0; |
26 |
+ margin-top: 18px; |
27 |
+ padding: 0; |
28 |
+ font-size: 90%; |
29 |
+ |
30 |
+ a:link, a:active, a:visited, a:hover { |
31 |
+ color: #aaa; |
32 |
+ } |
33 |
+ |
34 |
+ hr { |
35 |
+ margin-top: 2px; |
36 |
+ } |
37 |
+} |
38 |
|
39 |
diff --git a/index.html b/index.html |
40 |
index 1c283ef..635890a 100644 |
41 |
--- a/index.html |
42 |
+++ b/index.html |
43 |
@@ -24,7 +24,10 @@ meta: '<link rel="alternate" type="application/atom+xml" title="Gentoo Linux New |
44 |
|
45 |
{% include frontpage/news %} |
46 |
|
47 |
-<hr> |
48 |
+<div class="news-more"> |
49 |
+ <a href="/news" class="btn btn-xs">All news items <span class="fa fa-fw fa-chevron-right"></span></a> |
50 |
+ <hr> |
51 |
+</div> |
52 |
|
53 |
<div class="row"> |
54 |
<div class="col-xs-12 col-md-6"> |
55 |
@@ -52,4 +55,4 @@ meta: '<link rel="alternate" type="application/atom+xml" title="Gentoo Linux New |
56 |
|
57 |
<div class="row sponsor"> |
58 |
{% render_ads %} |
59 |
-</div> |
60 |
\ No newline at end of file |
61 |
+</div> |