[static-web] wiki: Add CSS classes for the App's template header



commit 9f84b55266e9eb5ce14c9b0d0244e7b790f885f3
Author: Tom Tryfonidis <tomtryf gnome org>
Date:   Fri Nov 25 18:12:28 2016 +0200

    wiki: Add CSS classes for the App's template header

 wiki.gnome.org/gnome/css/layout.css |   38 +++++++++++++++++++++++++++++++++++
 wiki.gnome.org/gnome/css/style.css  |    5 ++-
 2 files changed, 41 insertions(+), 2 deletions(-)
---
diff --git a/wiki.gnome.org/gnome/css/layout.css b/wiki.gnome.org/gnome/css/layout.css
index fccb2e2..330e0be 100644
--- a/wiki.gnome.org/gnome/css/layout.css
+++ b/wiki.gnome.org/gnome/css/layout.css
@@ -78,6 +78,7 @@ div.editor div#content {
        float: right;
 }
 
+.text-center,
 .center {
        text-align: center;
 }
@@ -324,8 +325,37 @@ div.table-of-contents ol ol {
        border-bottom: none !important;
 }
 
+.navigation-bar li a:hover {
+       color: #1c4171 !important;
+}
+
 /* Used in Apps Template */
 
+.app-header {
+       padding-bottom: 40px;
+}
+
+.app-header img {
+       margin-left: 240px;
+       margin-right: 70px;
+       width: 128px;
+       height: 128px;
+}
+
+.app-header h1 {
+       font-size: 34pt;
+       font-weight: normal;
+       margin: 0px;
+       letter-spacing: 8.5px;
+       padding-top: 8px;
+}
+
+.app-header h2 {
+       font-size: 17pt;
+       font-weight: normal;
+       margin: 0px;
+}
+
 .content-style h1 {
        font-size: 20px;
        font-weight: bold;
@@ -367,7 +397,15 @@ div.table-of-contents ol ol {
                float: none;
        }
 
+       .app-header h1,
+       .app-header h2,
        .content-style {
                text-align: center;
        }
+
+    .app-header img {
+               display: block;
+               margin-left: auto;
+               margin-right: auto;
+       }
 }
diff --git a/wiki.gnome.org/gnome/css/style.css b/wiki.gnome.org/gnome/css/style.css
index 9be3fc7..d3acd59 100644
--- a/wiki.gnome.org/gnome/css/style.css
+++ b/wiki.gnome.org/gnome/css/style.css
@@ -112,9 +112,10 @@ a:active {
 
 .btn a {
        display: inline-block;
-       padding: 8px 40px;
+       padding: 12px 40px;
        margin-bottom: 0;
-       font-weight: normal;
+    font-size: 18px;
+       font-weight: bold;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;


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