[gimp-web/testing] content, themes: make the release note a proper button.



commit 9678384409799c964f8c29adb3ce5656391a75c6
Author: Jehan <jehan girinstud io>
Date:   Fri Apr 27 11:49:25 2018 +0200

    content, themes: make the release note a proper button.
    
    Using the design from the release note button on main page.

 .../news/2018-04-26_GIMP_2.10.0_Released/index.md  |    5 +++--
 .../release-notes/{gimp-2.10.md => gimp-2.10.0.md} |    0
 themes/newgimp/static/css/article.css              |   10 ++++++++++
 3 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/content/news/2018-04-26_GIMP_2.10.0_Released/index.md 
b/content/news/2018-04-26_GIMP_2.10.0_Released/index.md
index eabeef7..966301b 100644
--- a/content/news/2018-04-26_GIMP_2.10.0_Released/index.md
+++ b/content/news/2018-04-26_GIMP_2.10.0_Released/index.md
@@ -45,9 +45,10 @@ notable changes:
   Preferences).
 * And more, better, more, and even more awesome!
 
-<a href="https://www.gimp.org/release-notes/gimp-2.10.html";
+<a class="NewsButton"
+   href="https://www.gimp.org/release-notes/gimp-2.10.html";
    title="GIMP 2.10.0 Release Notes" >
-    <span id="ReleaseButton">READ COMPLETE RELEASE NOTES</span>
+    » READ COMPLETE RELEASE NOTES «
 </a>
 
 # Enjoy GIMP! #
diff --git a/content/release-notes/gimp-2.10.md b/content/release-notes/gimp-2.10.0.md
similarity index 100%
rename from content/release-notes/gimp-2.10.md
rename to content/release-notes/gimp-2.10.0.md
diff --git a/themes/newgimp/static/css/article.css b/themes/newgimp/static/css/article.css
index 74f7a71..0519dc2 100644
--- a/themes/newgimp/static/css/article.css
+++ b/themes/newgimp/static/css/article.css
@@ -99,3 +99,13 @@ figure figcaption {
 .graybackground {
     background-color: #2e3436;
 }
+
+.NewsButton {
+    font-family: Ostrich Sans Rounded, sans;
+    font-size: 1.5rem;
+    display: block;
+    text-align: center;
+    color: white;
+    background-color: #2c3e50;
+    border-radius: 3px;
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]