aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-01-03 16:26:01 +0100
committerAlex Legler <alex@a3li.li>2016-01-03 16:26:01 +0100
commit2969f690fd2eca8ef07cf083f19a10ba2f424378 (patch)
tree684891f77e6be539c7b9be3af11e454cc80a1e50
parentAdd January events news item (diff)
downloadwww-2969f690fd2eca8ef07cf083f19a10ba2f424378.tar.gz
www-2969f690fd2eca8ef07cf083f19a10ba2f424378.tar.bz2
www-2969f690fd2eca8ef07cf083f19a10ba2f424378.zip
Add link to full news item list beneath the 3 featured items
-rw-r--r--_sass/news.scss16
-rw-r--r--index.html7
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>