[gimp-web/gimp-web-static] Bringing article styles more inline with rest of the site
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/gimp-web-static] Bringing article styles more inline with rest of the site
- Date: Fri, 13 Nov 2015 19:02:07 +0000 (UTC)
commit e7241ce3fe4c7b302de2afb39963eb22132ade75
Author: Pat David <patdavid gmail com>
Date: Fri Nov 13 13:01:56 2015 -0600
Bringing article styles more inline with rest of the site
themes/newgimp/static/css/gimp.css | 12 ++++++++++++
themes/newgimp/static/css/news-index.css | 9 +++++++++
themes/newgimp/templates/home.html | 2 +-
themes/newgimp/templates/index.html | 12 +++++++++++-
4 files changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/themes/newgimp/static/css/gimp.css b/themes/newgimp/static/css/gimp.css
index 229e568..56259b4 100644
--- a/themes/newgimp/static/css/gimp.css
+++ b/themes/newgimp/static/css/gimp.css
@@ -304,6 +304,11 @@ footer {
box-shadow: inset 0 7px 15px -5px black;
}
+footer .column {
+ padding: 0;
+ text-align: center;
+}
+
footer .nav-bottom li {
margin-bottom: 0;
}
@@ -320,6 +325,7 @@ footer .nav-bottom a {
.nav-bottom {
list-style-type: none;
+ padding-left: 0;
}
.row.bottom {
@@ -349,6 +355,10 @@ footer .nav-bottom a {
@media ( max-width: 40rem ){
+ footer .column.third {
+ margin-bottom: 0
+ }
+
ul.nav-bottom {
text-align: center;
padding-left: 0;
@@ -358,9 +368,11 @@ footer .nav-bottom a {
border-top: dotted 1px #333;
}
+ /*
ul.nav-bottom li:first-of-type {
border-top: none;
}
+ */
ul.nav-bottom a {
display: block;
diff --git a/themes/newgimp/static/css/news-index.css b/themes/newgimp/static/css/news-index.css
index ae69678..95e718a 100644
--- a/themes/newgimp/static/css/news-index.css
+++ b/themes/newgimp/static/css/news-index.css
@@ -27,6 +27,10 @@
margin: 0 auto;
}
+#articles {
+ padding-top: 0;
+}
+
#articles .column.full {
text-align: left;
}
@@ -39,3 +43,8 @@
.post-info {
margin-bottom: 1rem;
}
+
+abbr[title] {
+ border: none;
+ color: #888;
+}
diff --git a/themes/newgimp/templates/home.html b/themes/newgimp/templates/home.html
index cf4c521..34aee5a 100644
--- a/themes/newgimp/templates/home.html
+++ b/themes/newgimp/templates/home.html
@@ -72,7 +72,7 @@
</div>
<div class='column half news' >
- <h2 id='recent-news'>Recent News</h2>
+ <h2 id='recent-news'><a href='/news/'>Recent News</a></h2>
{% for n in range(4) %}
<div class="news-item">
<a href="{{ articles[n].url }}" class="news-headline">{{ articles[n].title }}</a>
diff --git a/themes/newgimp/templates/index.html b/themes/newgimp/templates/index.html
index 3c560ba..4caeed7 100644
--- a/themes/newgimp/templates/index.html
+++ b/themes/newgimp/templates/index.html
@@ -107,9 +107,19 @@
</section>
#}
+
+ <div class="container title">
+ <div class="row clearfix">
+ <div class="column full">
+ <h1>Recent News</h1>
+
+ </div>
+ </div>
+ </div>
+
<section id="articles">
{% block content_title %}
- <h2>Recent News</h2>
+ {# <h2>Recent News</h2> #}
{% endblock %}
<div class="container">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]