[guadec-web] fixing containers for individual talks



commit 3ac024e6c918b52e037ae60355d7c221ca84c09e
Author: Fabiana Simões <fabianapsimoes gmail com>
Date:   Wed Jul 3 21:07:00 2013 +0200

    fixing containers for individual talks

 wordcamp-base/page-schedule.php      |    5 ++++-
 wordcamp-base/single-wcb_session.php |   12 ++++++------
 wordcamp-base/style.css              |    9 +++++----
 3 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/wordcamp-base/page-schedule.php b/wordcamp-base/page-schedule.php
index 787ffbf..8b7198e 100644
--- a/wordcamp-base/page-schedule.php
+++ b/wordcamp-base/page-schedule.php
@@ -8,9 +8,12 @@ get_header(); ?>
 <div id="container">
        <div id="content" role="main">
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+           <div class="entry-content">
             <?php the_content(); ?>
+        </div>
         <?php endwhile; endif; ?>
-       
+           
+          
            <div class="schedule-nav">          
            <a href="#day1">Day 1</a> | <a href="#day2">Day 2</a> | <a href="#day3">Day 3</a> | <a 
href="#day4">Day 4</a>
         </div>
diff --git a/wordcamp-base/single-wcb_session.php b/wordcamp-base/single-wcb_session.php
index 8a32013..76e8fe5 100644
--- a/wordcamp-base/single-wcb_session.php
+++ b/wordcamp-base/single-wcb_session.php
@@ -11,9 +11,9 @@ get_header(); ?>
 
                <div id="container">
                        <div id="content" role="main">
-                       
-                       <img alt="Photo of a talk at GUADEC 2010, with speaker talking and several attendees 
with laptops" src="https://www.guadec.org/wp-content/themes/wordcamp-base/images/pages/talks.jpg"; />
-            <span class="image-credits">By Mario Sánchez Prada [<a 
href="http://creativecommons.org/licenses/by-sa/2.0";>CC-BY-SA-2.0</a>], <a 
href="https://www.flickr.com/photos/mariosp/4840482146/in/photostream/";>via Flickr</a></span>
+                       <div class="entry-content">
+                           <img alt="Photo of a talk at GUADEC 2010, with speaker talking and several 
attendees with laptops" src="https://www.guadec.org/wp-content/themes/wordcamp-base/images/pages/talks.jpg"; />
+                <span class="image-credits">By Mario Sánchez Prada [<a 
href="http://creativecommons.org/licenses/by-sa/2.0";>CC-BY-SA-2.0</a>], <a 
href="https://www.flickr.com/photos/mariosp/4840482146/in/photostream/";>via Flickr</a></span>
 
 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
 
@@ -29,14 +29,14 @@ get_header(); ?>
                                                <?php wcb_entry_meta(); ?>
                                        </div>
 
-                                       <div class="entry-content">
+                                       <div class="talk-description">
                                                <?php the_content(); ?>
                                                <?php wp_link_pages( array( 'before' => '<div 
class="page-link">' . __( 'Pages:', 'wordcampbase' ), 'after' => '</div>' ) ); ?>
-                                       </div><!-- .entry-content -->
+                                       </div><!-- .talk-description -->
                                </div><!-- #post-## -->
 
 <?php endwhile; // end of the loop. ?>
-
+            </div>
                        </div><!-- #content -->
                </div><!-- #container -->
 
diff --git a/wordcamp-base/style.css b/wordcamp-base/style.css
index bd4776e..098180c 100644
--- a/wordcamp-base/style.css
+++ b/wordcamp-base/style.css
@@ -57,10 +57,7 @@ a img {
        border: none;
 }
 
-br {
-    height: 10px;
-    margin-bottom: 20px;
-}
+
 
 /* =Layout
 -------------------------------------------------------------- */
@@ -1737,3 +1734,7 @@ h1, h2, h3, h4, h5, h6, #site-title, #site-description, #access .menu, #access d
     color: #6b8e9f; 
     font-weight: bold;
 }
+
+.talk-description br {
+    margin-bottom: 10px;
+}


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