[gnome-web-www] news style fixes
- From: Andreas Nilsson <andreasn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www] news style fixes
- Date: Wed, 27 Mar 2013 18:11:56 +0000 (UTC)
commit 1162b4946755e760f99c22e00cbe68232b759ef8
Author: Andreas Nilsson <anilsson redhat com>
Date: Wed Mar 27 15:11:50 2013 -0300
news style fixes
theme/page-home.php | 17 ++++++++++++-----
theme/style.css | 4 ++--
2 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/theme/page-home.php b/theme/page-home.php
index 69c055a..56a4751 100644
--- a/theme/page-home.php
+++ b/theme/page-home.php
@@ -48,8 +48,11 @@ The GNOME Project is a diverse international community which involves hundreds o
<hr class="top_shadow"/>
- <h2>Latest news</h2>
+<!-- news -->
+
+ <h2>Latest news</h2>
+ <div class="news-list">
<?php
query_posts (array('post_type' => 'post', 'posts_per_page' => 3));
@@ -57,15 +60,19 @@ The GNOME Project is a diverse international community which involves hundreds o
while ( have_posts() ) : the_post();
?>
- <div class="grid_4">
- <strong><?php the_title(); ?></strong>
- <?php echo strip_tags(get_the_excerpt()); ?>
- </div>
+ <div class="grid_4">
+ <strong><?php the_title(); ?></strong>
+ <?php echo strip_tags(get_the_excerpt()); ?>
+ </div>
<?php
endwhile;
?>
+ </div>
+<!-- news -->
+
+
<!-- END container -->
<?php require_once("footer_art.php"); ?>
diff --git a/theme/style.css b/theme/style.css
index 4d6a347..157ab96 100644
--- a/theme/style.css
+++ b/theme/style.css
@@ -697,8 +697,8 @@ dl.icon_list dt img {
*
*/
-.news_list {
-
+.news_list strong {
+ display: block;
}
.news_list .news {
margin-bottom: 20px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]