[gimp-web/gimp-web-static] Styling news item pages a bit to match the rest of the site
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/gimp-web-static] Styling news item pages a bit to match the rest of the site
- Date: Thu, 19 Nov 2015 15:56:55 +0000 (UTC)
commit 9a78ca110a62e3926d6f6dbd0024c824632619c9
Author: Pat David <patdavid gmail com>
Date: Thu Nov 19 09:56:48 2015 -0600
Styling news item pages a bit to match the rest of the site
content/news/draft-index.md | 2 +-
themes/newgimp/static/css/article.css | 16 ++++++++++++++++
themes/newgimp/static/css/news-index.css | 1 +
themes/newgimp/templates/article.html | 2 +-
4 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/content/news/draft-index.md b/content/news/draft-index.md
index e876ea4..f90ed13 100644
--- a/content/news/draft-index.md
+++ b/content/news/draft-index.md
@@ -8,4 +8,4 @@ template: draft-index
This is a test index.html for the drafts folder.
This file is only a placeholder, so we can have an index of current draft articles being written.
-Files with the metadata attribute set to draft (`Status: draft`) should show here.
+Files with the metadata attribute *Status* set to *draft* (`Status: draft`) should show here.
diff --git a/themes/newgimp/static/css/article.css b/themes/newgimp/static/css/article.css
index 570bf2d..809b7be 100644
--- a/themes/newgimp/static/css/article.css
+++ b/themes/newgimp/static/css/article.css
@@ -7,6 +7,7 @@
max-width: 34rem;
margin-top: 1rem;
color: #777;
+ color: #555;
}
.entry-content ul {
@@ -14,3 +15,18 @@
margin: 1rem auto;
display: block;
}
+
+.post-info {
+ border-bottom: 1px dotted;
+ display: inline-block;
+ font-size: 0.85rem;
+ color: #888;
+}
+
+abbr[title] {
+ border: none;
+}
+
+.vcard.author {
+ display: inline;
+}
diff --git a/themes/newgimp/static/css/news-index.css b/themes/newgimp/static/css/news-index.css
index 95e718a..2b6c906 100644
--- a/themes/newgimp/static/css/news-index.css
+++ b/themes/newgimp/static/css/news-index.css
@@ -4,6 +4,7 @@
.entry-content p {
max-width: 34rem;
+ color: #555;
}
.entry-content ul {
diff --git a/themes/newgimp/templates/article.html b/themes/newgimp/templates/article.html
index 3f139f0..973fc12 100644
--- a/themes/newgimp/templates/article.html
+++ b/themes/newgimp/templates/article.html
@@ -45,7 +45,7 @@
{% endif %}
{% if article.authors %}
<address class="vcard author">
- By {% for author in article.authors %}
+ by {% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]