[gnomeweb-wp] changes in CSS, news page added and .gitignore created to avoid publishing wp-config.php to reposito



commit cbff64d6dba6eb14e3444283d638ad4c5ba851ca
Author: Vinicius Depizzol <vdepizzol gmail com>
Date:   Sun Aug 22 17:11:53 2010 -0300

    changes in CSS, news page added and .gitignore created to avoid publishing wp-config.php to repositories

 .gitignore                               |    1 +
 wp-content/themes/gnome-grass/footer.php |    4 +-
 wp-content/themes/gnome-grass/single.php |   44 ++++++++++++++++++++++++++++++
 wp-content/themes/gnome-grass/style.css  |   32 +++++++++++++++++++--
 wp-content/themes/gnome-grass/text.css   |    8 +++---
 5 files changed, 80 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2e4b29f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+wp-config.php
diff --git a/wp-content/themes/gnome-grass/footer.php b/wp-content/themes/gnome-grass/footer.php
index 145bebd..9c9cee8 100644
--- a/wp-content/themes/gnome-grass/footer.php
+++ b/wp-content/themes/gnome-grass/footer.php
@@ -57,8 +57,8 @@
             </div>
             
             <div id="footnotes" class="grid_9">
-                Copyright © 2005â??2010 <strong class="gnome_logo"><?php _e( 'The GNOME Project', 'grass' ); ?></strong><br />
-                <small><?php _e( 'Optimised for standards', 'grass' ); ?>. <?php _e( 'Hosted by', 'grass' ); ?> <a href="#">Red Hat</a>.</small>
+                <?php _e( 'Copyright', 'grass' ); ?> © 2005â??2010 <strong class="gnome_logo"><?php _e( 'The GNOME Project', 'grass' ); ?></strong><br />
+                <small><?php _e( 'Optimised for standards', 'grass' ); ?>. <?php _e( 'Hosted by', 'grass' ); ?> <a href="http://redhat.com";>Red Hat</a>.</small>
             </div>
             
             <div class="clear"></div>
diff --git a/wp-content/themes/gnome-grass/single.php b/wp-content/themes/gnome-grass/single.php
new file mode 100644
index 0000000..0067373
--- /dev/null
+++ b/wp-content/themes/gnome-grass/single.php
@@ -0,0 +1,44 @@
+<?php
+/**
+ * @package GNOME Website
+ * @subpackage Grass Theme
+ */
+
+require_once("header.php"); ?>
+
+    <!-- container -->
+    <div id="container" class="two_columns">
+        <div class="container_12">
+        
+            <div class="page_title">
+                <h1><a href="#">News</a></h1>
+            </div>
+            
+            <div class="content">
+            <?php while ( have_posts() ) : the_post(); ?>
+                <div class="news_title">
+                    <p class="date"><?php the_date(); ?></p>
+                    <h1><?php the_title(); ?></h1>
+                </div>
+                <?php the_content(); ?>
+            <?php endwhile; // End the loop. Whew. ?>
+                <br />
+                <div class="clear"></div>
+            </div>
+            
+            <div class="sidebar">
+                
+                    <p>For more GNOME news, check out the <a href="#">Planet GNOME</a>.</p>
+                    
+                    <p>There's also a </p>
+                      
+            </div>
+            <?php require_once("footer_art.php"); ?>
+        </div>
+    </div>
+    
+    <div class="clearfix"></div>
+    
+    <?php require_once("footer.php"); ?>
+</body>
+</html>
diff --git a/wp-content/themes/gnome-grass/style.css b/wp-content/themes/gnome-grass/style.css
index 8b30c3d..b954063 100644
--- a/wp-content/themes/gnome-grass/style.css
+++ b/wp-content/themes/gnome-grass/style.css
@@ -119,14 +119,15 @@ a:visited {
     -webkit-border-radius: 4px;
     border-radius: 4px;
     outline: 0;
-    -webkit-transition: background 200ms linear;
+    -webkit-transition: background 100ms linear;
     text-shadow: 0 1px 0 #000;
 }
 #top_bar a:hover {
     background: #64696d;
+    background: rgba(100%, 100%, 100%, 0.2);
 }
 #top_bar a:focus {
-    background: #2e3436 url("images/top_bar-bg.png") bottom repeat-x;
+    background: rgba(100%, 100%, 100%, 0.15);
 }
 #top_bar a:active, #top_bar li.current-menu-item a, #top_bar li.current-page-ancestor a {
     background: #1c2021 url("images/top_bar-item-bg.png") top repeat-x;
@@ -186,6 +187,13 @@ a:visited {
     color: #6cc23d;
     text-shadow: 0 1px 0 #fff;
 }
+.page_title h1 a {
+    text-decoration: none;
+    color: inherit;
+}
+.page_title h1 a:hover {
+    text-decoration: underline;
+}
 
 /* -> subpages list */
 
@@ -225,7 +233,25 @@ a:visited {
 }
 
 
+/* News Title */
+/* ========================================================================== */
+
+.news_title h1 {
+    margin-top: 0;
+    color: #333;
+    font-style: italic;
+    font-weight: bold;
+}
+.news_title .date {
+    font-family: 'Droid Serif', 'DejaVu Serif', Cambria, Georgia, serif;
+    margin: 0;
+    color: #3465a4;
+}
+
+
+
 /* Presentation banner */
+/* ========================================================================== */
 
 #home_banner {
     width: 940px;
@@ -521,7 +547,7 @@ dl.icon_list dt img {
 }
 .news_list .news .date {
     text-align: right;
-    font-family: 'Droid Serif', Georgia, serif;
+    font-family: 'Droid Serif', 'DejaVu Serif', Cambria, Georgia, serif;
     color: #888a85;
     margin-top: 0.1em;
 }
diff --git a/wp-content/themes/gnome-grass/text.css b/wp-content/themes/gnome-grass/text.css
index 1ad3832..9476891 100644
--- a/wp-content/themes/gnome-grass/text.css
+++ b/wp-content/themes/gnome-grass/text.css
@@ -3,7 +3,7 @@
 
 
 body {
-    font-family: 'Droid Sans', 'DejaVu Sans', Verdana, sans-serif;
+    font-family: 'Droid Sans', 'DejaVu Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
     font-size: 14px;
     line-height: 1.7em;
     color: #2e3436;
@@ -15,7 +15,7 @@ hr {
     height: 0;
 }
 h1, h2, h3, h4, h5, h6, dt {
-    font-family: 'Droid Serif', Georgia, serif;
+    font-family: 'Droid Serif', 'DejaVu Serif', Cambria, Georgia, serif;
     color: #3465a4;
     font-weight: 500;
     line-height: normal;
@@ -72,7 +72,7 @@ p, dd, .action_box, ul, ol {
 
 .main_feature {
     font-size: 18pt;
-    font-family: 'Droid Serif', Georgia, serif;
+    font-family: 'Droid Serif', 'DejaVu Serif', Cambria, Georgia, serif;
     line-height: 130%;  
 }
 
@@ -82,6 +82,6 @@ p, dd, .action_box, ul, ol {
 }
 
 #footer {
-    font-size: 12px;
+    font-size: 11px;
     line-height: 1.5em;
 }



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