gtk-web r790 - trunk



Author: mr
Date: Tue Jan 13 10:05:47 2009
New Revision: 790
URL: http://svn.gnome.org/viewvc/gtk-web?rev=790&view=rev

Log:
	* gtk.css:
	* index.php: Don't use columns for events/news, we rarely have
	events and have to keep updating it from gnome.org. Better to pick
	and choose those and to have more space for the blog which changes
	more often and can be bigger.


Modified:
   trunk/ChangeLog
   trunk/gtk.css
   trunk/index.php

Modified: trunk/gtk.css
==============================================================================
--- trunk/gtk.css	(original)
+++ trunk/gtk.css	Tue Jan 13 10:05:47 2009
@@ -199,18 +199,26 @@
 }
 
 #news {
+}
+
+/* Old style for news in columns
+#news {
     float : left;
     width : 48%;
-}
+} */
 
 #news h2, #events h2 {
     margin-top : 0em;
 }
 
 #events {
+}
+
+/* Old style for events in columns
+#events {
     margin-left : 48%;
     padding-left : 2em;
-}
+} */
 
 .news-item {
   margin-bottom: 1.2em;

Modified: trunk/index.php
==============================================================================
--- trunk/index.php	(original)
+++ trunk/index.php	Tue Jan 13 10:05:47 2009
@@ -65,10 +65,22 @@
 	  <a href="features.html">features</a> page. If you want to 
 	  <a href="development.html#Contributing">contribute</a>, you are 
 	  more than welcome.</p>   
-      
-        <div id="columns">
-	  <div id="news">
 
+	<div id="events">
+	  <h2><a name="UpcomingEvents">Upcoming Events</a></h2>
+	  
+          <div class="news-item">
+            <p class="news-title">Gran Canaria Desktop Summit 2009</p>
+            <p class="news-date">July 3-11, 2009</p>
+            <p class="news-desc">The inaugural Desktop Summit, uniting the flagship conferences of the GNOME and KDE communities, GUADEC and Akademy, will be held in Gran Canaria, Canary Islands, Spain the week of July 3-11, 2009.
+	      
+	      The conference will be hosted by Cabildo, the local government of Gran Canaria.
+	      
+	      The GNOME and KDE communities will use this co-located event to intensify momentum and increase collaboration between the projects. It gives a unique opportunity for key figures to collaborate and improve the free and open source desktop for all. Please visit the <a href="http://www.grancanariadesktopsummit.org/index.php/Main_Page";>official website</a> for further information.</p>
+          </div>
+	</div> <!-- events -->
+	
+	<div id="news">
 	  <h2>Recent news</h2>
 
 <?php
@@ -85,42 +97,26 @@
         $desc = $item['content']['encoded'];
 ?>
 
-           <div class="news-item">
-              <p class="news-title"><? echo $title ?></p>
-              <p class="news-date"><? echo $timestamp ?></p>
-              <p class="news-desc"><? echo $desc ?></p>
-	      <? echo $href ?>
-           </div>
+          <div class="news-item">
+             <p class="news-title"><? echo $title ?></p>
+             <p class="news-date"><? echo $timestamp ?></p>
+             <p class="news-desc"><? echo $desc ?></p>
+	     <? echo $href ?>
+          </div>
 
 <?
 }
 ?>
 
-	    <p>For older news, visit our <a href="news-archives.php">archives</a></p>.
+	   <p>For older news, visit our <a href="news-archives.php">archives</a>.</p>
 
-	  </div> <!-- news -->
-	  
-	  <div id="events">
-	    <h2><a name="UpcomingEvents">Upcoming Events</a></h2>
-	    
-            <div class="news-item">
-              <p class="news-title">Gran Canaria Desktop Summit 2009</p>
-              <p class="news-date">July 3-11, 2009</p>
-              <p class="news-desc">The inaugural Desktop Summit, uniting the flagship conferences of the GNOME and KDE communities, GUADEC and Akademy, will be held in Gran Canaria, Canary Islands, Spain the week of July 3-11, 2009.
-
-The conference will be hosted by Cabildo, the local government of Gran Canaria.
-
-The GNOME and KDE communities will use this co-located event to intensify momentum and increase collaboration between the projects. It gives a unique opportunity for key figures to collaborate and improve the free and open source desktop for all. Please visit the <a href="http://www.grancanariadesktopsummit.org/index.php/Main_Page";>official website</a> for further information.</p>
-            </div>
-	    
-	  </div> <!-- events -->
-	</div> <!-- columns -->
-	
-    </div> <!-- content -->
-    
-    <div id="footer">Copyright 2007-2008 The GTK+ Team</div>
+	</div> <!-- news -->
+	  	
+      </div> <!-- content -->
     
-  </div> <!-- container -->
+      <div id="footer">Copyright 2007-2008 The GTK+ Team</div>
+      
+    </div> <!-- container -->
   
   </body>
 </html>



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