[gnomeweb-wp] create new style for press releases



commit 358853688d6e7c2f5f7c43712296e0580f8e8396
Author: Vinicius Depizzol <vdepizzol gmail com>
Date:   Tue Apr 5 21:47:40 2011 -0300

    create new style for press releases

 wp-content/themes/gnome-grass/css/news.css         |   23 ++++++++++++++++++++
 .../{page-releases.php => page-press.php}          |    4 +-
 2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/css/news.css b/wp-content/themes/gnome-grass/css/news.css
index bb1f7cd..058e179 100644
--- a/wp-content/themes/gnome-grass/css/news.css
+++ b/wp-content/themes/gnome-grass/css/news.css
@@ -19,6 +19,29 @@
     line-height: normal;
 }
 
+/* Press Release */
+/* ========================================================================== */
+
+.press_list {
+    display: table;
+}
+.press_list li {
+    padding: 10px 0;
+    display: table-row;
+}
+.press_list li .date {
+    font-family: 'Droid Serif', 'DejaVu Serif', Cambria, Georgia, serif;
+    color: #888a85;
+    padding-top: 0.1em;
+    display: table-cell;
+}
+.press_list li a {
+    font-weight: bold;
+    font-size: 18px;
+    line-height: normal;
+    display: table-cell;
+}
+
 /* Social Network List */
 /* ========================================================================== */
 
diff --git a/wp-content/themes/gnome-grass/page-releases.php b/wp-content/themes/gnome-grass/page-press.php
similarity index 95%
rename from wp-content/themes/gnome-grass/page-releases.php
rename to wp-content/themes/gnome-grass/page-press.php
index 0b34740..be83c36 100644
--- a/wp-content/themes/gnome-grass/page-releases.php
+++ b/wp-content/themes/gnome-grass/page-press.php
@@ -19,7 +19,7 @@ require_once("header.php"); ?>
         <div class="container_12">
         
             <div class="page_title">
-                <h1><?php echo __('Press Releases', 'grass');?></h1>
+                <h1><?php the_title(); ?></h1>
             </div>
             
             <div class="content">
@@ -35,7 +35,7 @@ require_once("header.php"); ?>
                 
                 ?>
                 
-                <ul class="news_list">
+                <ul class="press_list">
                     <?php while ( have_posts() ) : the_post(); ?>
                         <li>
                             <span class="date"><?php the_date(); ?></span>



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