WordPress.org

Make WordPress Themes

Changes from sundance/1.0 at r34459 to sundance/1.1 at r34459


Ignore:
Location:
sundance
Files:
3 added
1 deleted
23 edited

Legend:

Unmodified
Added
Removed
  • sundance/1.1/content-single.php

    r34459 r34459  
    99 
    1010    <header class="entry-header"> 
    11         <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( esc_attr( sprintf( __( 'View all posts by %s', 'sundance' ), get_the_author_meta( 'display_name' ) ) ) ); ?>"> 
     11        <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'View all posts by %s', 'sundance' ), get_the_author() ) ); ?>"> 
    1212            <?php echo get_avatar( get_the_author_meta( 'user_email' ), 45 ); ?> 
    1313        </a> 
  • sundance/1.1/content.php

    r34459 r34459  
    99 
    1010    <header class="entry-header"> 
    11         <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( esc_attr( sprintf( __( 'View all posts by %s', 'sundance' ), get_the_author_meta( 'display_name' ) ) ) ); ?>"> 
     11        <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'View all posts by %s', 'sundance' ), get_the_author() ) ); ?>"> 
    1212            <?php echo get_avatar( get_the_author_meta( 'user_email' ), 45 ); ?> 
    1313        </a> 
    1414 
    15         <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'sundance' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 
     15        <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'sundance' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 
    1616 
    1717        <?php if ( 'post' == get_post_type() ) : ?> 
  • sundance/1.1/featured.php

    r34459 r34459  
    1818 
    1919    // Proceed only if sticky posts exist. 
    20     $sticky = get_option( 'sticky_posts' ); 
    21     if ( ! empty( $sticky ) ) : 
    22  
    23         // Ready to record featured post IDs for later exclusion 
    24         global $featured_post_id; 
    25         $featured_post_id = array(); 
     20    if ( sundance_featuring_posts() ) : 
    2621 
    2722        // The Featured Posts query - The need to be sticky post and video post format 
    2823        $featured_args = array( 
    29             'post__in' => $sticky, 
    30             'post_status' => 'publish', 
    31             'tax_query' => array( 
    32                 array( 
    33                     'taxonomy' => 'post_format', 
    34                     'field' => 'slug', 
    35                     'terms' => array( 'post-format-video' ) 
    36                 ), 
    37             ), 
    38             'posts_per_page' => 10, 
    39             'no_found_rows' => true, 
     24            'post__in'            => sundance_featuring_posts(), 
     25            'posts_per_page'      => 10, 
     26            'no_found_rows'       => true, 
     27            'ignore_sticky_posts' => 1 
    4028        ); 
    4129        $featured = new WP_Query( $featured_args ); 
    4230 
    4331        // Proceed only if published posts exist 
    44         if ( $featured->have_posts() ) : 
    45 ?> 
     32        if ( $featured->have_posts() ) : ?> 
    4633 
    4734        <div class="featured-posts-super-wrapper loading"> 
     
    5138                        <ul class="slides"> 
    5239                        <?php while ( $featured->have_posts() ) : $featured->the_post(); ?> 
    53                             <?php 
    54                                 // Record our featured post IDs so we can exclude them from the regular loop later 
    55                                 $featured_post_id[] = $post->ID; 
    56                             ?> 
    5740                            <li class="featured"> 
    5841                                <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
     
    6245                                    <div class="featured-content-info"> 
    6346                                        <header class="entry-header"> 
    64                                             <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'sundance' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 
     47                                            <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'sundance' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 
    6548                                        </header><!-- .entry-header --> 
    6649                                        <div class="featured-summary"> 
  • sundance/1.1/functions.php

    r34459 r34459  
    88 
    99/** 
    10  * Set the content width based on the theme's design and stylesheet. 
     10 * Set up the content width value based on the theme's design and stylesheet. 
     11 */ 
     12if ( ! isset( $content_width ) ) 
     13    $content_width = 652; /* Default content width */ 
     14 
     15/** 
     16 * Load Jetpack compatibility file. 
     17 */ 
     18require( get_template_directory() . '/inc/jetpack.compat.php' ); 
     19 
     20/** 
     21 * Adjust the content width based on the presence of active widgets and page templates. 
    1122 * 
    1223 * @since Sundance 1.0 
    1324 */ 
    14 // Set the content width based on the theme's design and stylesheet. 
    1525function sundance_set_content_width() { 
    1626    $options = sundance_get_theme_options(); 
     
    2636        ) 
    2737        $content_width = 874; 
    28     else 
    29         $content_width = 652; 
    3038} 
    3139add_action( 'template_redirect', 'sundance_set_content_width' ); 
     
    5765     */ 
    5866    require( get_template_directory() . '/inc/theme-options/theme-options.php' ); 
     67 
     68    /** 
     69     * WordPress.com-specific functions and definitions 
     70     */ 
     71    require( get_template_directory() . '/inc/wpcom.php' ); 
    5972 
    6073    /** 
     
    6679    load_theme_textdomain( 'sundance', get_template_directory() . '/languages' ); 
    6780 
    68     $locale = get_locale(); 
    69     $locale_file = get_template_directory() . "/languages/$locale.php"; 
    70     if ( is_readable( $locale_file ) ) 
    71         require_once( $locale_file ); 
    72  
    7381    /** 
    7482     * Add default posts and comments RSS feed links to head 
     
    92100     */ 
    93101    add_theme_support( 'post-formats', array( 'video' ) ); 
     102 
     103    add_theme_support( 'print-style' ); 
     104 
     105    // Add support for custom backgrounds. 
     106    $bg_args = array( 
     107        'default-color' => 'edeaf1', 
     108        'default-image' => get_template_directory_uri() . '/images/bg.jpg' 
     109    ); 
     110    $bg_args = apply_filters( 'sundance_custom_background_args', $bg_args ); 
     111 
     112    // 3.4 check 
     113    if ( wp_get_theme() ) { 
     114        add_theme_support( 'custom-background', $bg_args ); 
     115    } else { 
     116        define( 'BACKGROUND_COLOR', $bg_args['default-color'] ); 
     117        define( 'BACKGROUND_IMAGE', $bg_args['default-image'] ); 
     118        add_custom_background(); 
     119        add_action( 'wp_head', 'sundance_custom_background' ); 
     120    } 
    94121 
    95122} 
     
    127154    wp_enqueue_style( 'style', get_stylesheet_uri() ); 
    128155 
    129     wp_enqueue_style( 'sundance-droid-serif', 'http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' ); 
    130  
    131     wp_enqueue_script( 'jquery' ); 
    132  
    133156    if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
    134157        wp_enqueue_script( 'comment-reply' ); 
     
    142165    wp_enqueue_script( 'sundance-fit-vids', get_template_directory_uri() . '/js/jquery.fitvids.js', 'jquery', '20120213', true ); 
    143166 
    144     wp_enqueue_script( 'sundance-flex-slider', get_template_directory_uri() . '/js/jquery.flexslider-min.js', 'jquery', '20120213', true ); 
     167    wp_enqueue_script( 'sundance-flex-slider', get_template_directory_uri() . '/js/jquery.flexslider.js', 'jquery', '20120903', true ); 
    145168 
    146169    wp_enqueue_script( 'sundance-theme', get_template_directory_uri() . '/js/theme.js', 'jquery', '20120213', true ); 
     
    149172add_action( 'wp_enqueue_scripts', 'sundance_scripts' ); 
    150173 
    151 // Background style for front-end. 
     174/** 
     175 * Register Google Fonts style. 
     176 */ 
     177function sundance_register_fonts() { 
     178    $protocol = is_ssl() ? 'https' : 'http'; 
     179    wp_register_style( 
     180        'sundance-droid-serif', 
     181        "$protocol://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic", 
     182        array(), 
     183        '20120821' 
     184    ); 
     185} 
     186add_action( 'init', 'sundance_register_fonts' ); 
     187 
     188/** 
     189 * Enqueue Google Fonts style. 
     190 */ 
     191function sundance_fonts() { 
     192    wp_enqueue_style( 'sundance-droid-serif'); 
     193} 
     194add_action( 'wp_enqueue_scripts', 'sundance_fonts' ); 
     195 
     196/** 
     197 * Enqueue Google fonts style to admin screen for custom header display. 
     198 */ 
     199function sundance_admin_fonts( $hook_suffix ) { 
     200    if ( 'appearance_page_custom-header' != $hook_suffix ) 
     201        return; 
     202 
     203    wp_enqueue_style( 'sundance-droid-serif'); 
     204} 
     205add_action( 'admin_enqueue_scripts', 'sundance_admin_fonts' ); 
     206 
     207// COMPAT: Pre-3.4 Background style for front-end. 
    152208function sundance_custom_background() { 
    153209    if ( '' != get_background_color() && '' == get_background_image() ) : ?> 
     
    167223    <?php endif; 
    168224} 
    169 add_action( 'wp_head', 'sundance_custom_background' ); 
     225 
     226/** 
     227 * Filter the home page posts, and remove any featured post ID's from it. Hooked 
     228 * onto the 'pre_get_posts' action, this changes the parameters of the query 
     229 * before it gets any posts. 
     230 * 
     231 * @global array $featured_post_id 
     232 * @param WP_Query $query 
     233 * @return WP_Query Possibly modified WP_query 
     234 */ 
     235function sundance_home_posts( $query = false ) { 
     236 
     237    // Bail if not home, not a query, not main query, or no featured posts 
     238    if ( ! is_home() || ! is_a( $query, 'WP_Query' ) || ! $query->is_main_query() || ! sundance_featuring_posts() ) 
     239        return $query; 
     240 
     241    // Exclude featured posts from the main query 
     242    $query->query_vars['post__not_in'] = sundance_featuring_posts(); 
     243 
     244    return $query; 
     245} 
     246add_action( 'pre_get_posts', 'sundance_home_posts' ); 
     247 
     248/** 
     249 * Test to see if any posts meet our conditions for featuring posts. 
     250 * Current conditions are: 
     251 * 
     252 * - sticky posts 
     253 * - with featured thumbnails 
     254 * 
     255 * We store the results of the loop in a transient, to prevent running this 
     256 * extra query on every page load. The results are an array of post ID's that 
     257 * match the result above. This gives us a quick way to loop through featured 
     258 * posts again later without needing to query additional times later. 
     259 */ 
     260function sundance_featuring_posts() { 
     261    if ( false === ( $featured_post_ids = get_transient( 'featured_post_ids' ) ) ) { 
     262 
     263        // Proceed only if sticky posts exist. 
     264        if ( get_option( 'sticky_posts' ) ) { 
     265 
     266            // The Featured Posts query - The need to be sticky post and video post format 
     267            $featured_args = array( 
     268                'post__in'       => get_option( 'sticky_posts' ), 
     269                'post_status'    => 'publish', 
     270                'tax_query'      => array( array( 
     271                    'taxonomy'   => 'post_format', 
     272                    'field'      => 'slug', 
     273                    'terms'      => array( 'post-format-video' ) 
     274                ) ), 
     275                'posts_per_page' => 10, 
     276                'no_found_rows'  => true 
     277            ); 
     278 
     279            $featured = new WP_Query( $featured_args ); 
     280 
     281            // Proceed only if published posts with thumbnails exist 
     282            if ( $featured->have_posts() ) { 
     283                while ( $featured->have_posts() ) { 
     284                    $featured->the_post(); 
     285                    $featured_post_ids[] = $featured->post->ID; 
     286                } 
     287 
     288                set_transient( 'featured_post_ids', $featured_post_ids ); 
     289            } 
     290        } 
     291    } 
     292 
     293    return $featured_post_ids; 
     294} 
     295/** 
     296 * Flush out the transients used in sundance_featured_posts() 
     297 */ 
     298function sundance_featured_post_checker_flusher() { 
     299    delete_transient( 'featured_post_ids' ); 
     300} 
     301add_action( 'save_post', 'sundance_featured_post_checker_flusher' ); 
  • sundance/1.1/inc/custom-header.php

    r34459 r34459  
    8787    #headimg h1, 
    8888    #desc { 
    89         font-family: Georgia, serif; 
     89        font-family: 'Droid Serif', serif; 
    9090    } 
    9191    #headimg h1 { 
  • sundance/1.1/inc/theme-options/theme-options.php

    r34459 r34459  
    182182    <div class="wrap"> 
    183183        <?php screen_icon(); ?> 
    184         <h2><?php printf( __( '%s Theme Options', 'sundance' ), get_current_theme() ); ?></h2> 
     184        <?php $theme_name = function_exists( 'wp_get_theme' ) ? wp_get_theme() : get_current_theme(); ?> 
     185        <h2><?php printf( __( '%s Theme Options', 'sundance' ), $theme_name ); ?></h2> 
    185186        <?php settings_errors(); ?> 
    186187 
  • sundance/1.1/inc/tweaks.php

    r34459 r34459  
    2727function sundance_body_classes( $classes ) { 
    2828    $options = sundance_get_theme_options(); 
     29    $background_image = get_background_image(); 
    2930    // Adds a class of group-blog to blogs with more than 1 published author 
    3031    if ( is_multi_author() ) { 
     
    4142            $classes[] = 'no-sidebar'; 
    4243    } 
     44 
     45    // Add a class if background image is empty 
     46    if ( empty( $background_image ) ) 
     47        $classes[] = 'custom-background-image-empty'; 
    4348 
    4449    return $classes; 
  • sundance/1.1/index.php

    r34459 r34459  
    2020            <?php if ( have_posts() ) : ?> 
    2121 
    22                 <?php 
    23                     // Exclude the featured posts from the loop 
    24                     global $featured_post_id; 
    25                     query_posts( array( 
    26                         'order' => 'DESC', 
    27                         'paged' => $paged, 
    28                         'post__not_in' => $featured_post_id 
    29                     ) ); 
    30                 ?> 
    3122                <?php while ( have_posts() ) : the_post(); ?> 
    3223 
  • sundance/1.1/js/jquery.fitvids.js

    r34459 r34459  
    11/*global jQuery */ 
    2 /*!  
     2/*! 
    33* FitVids 1.0 
    44* 
     
    1616      customSelector: null 
    1717    } 
    18      
     18 
    1919    var div = document.createElement('div'), 
    2020        ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0]; 
    21          
     21 
    2222    div.className = 'fit-vids-style'; 
    2323    div.innerHTML = '&shy;<style>         \ 
     
    3838      }                                   \ 
    3939    </style>'; 
    40                        
     40 
    4141    ref.parentNode.insertBefore(div,ref); 
    42      
    43     if ( options ) {  
     42 
     43    if ( options ) { 
    4444      $.extend( settings, options ); 
    4545    } 
    46      
     46 
    4747    return this.each(function(){ 
    4848      var selectors = [ 
    49         "iframe[src^='http://player.vimeo.com']",  
    50         "iframe[src^='http://www.youtube.com']",  
    51         "iframe[src^='http://www.kickstarter.com']",  
    52         "object",  
     49        "iframe[src^='http://player.vimeo.com']", 
     50        "iframe[src^='http://www.youtube.com']", 
     51        "iframe[src^='http://www.kickstarter.com']", 
     52        "object", 
    5353        "embed" 
    5454      ]; 
    55        
     55 
    5656      if (settings.customSelector) { 
    5757        selectors.push(settings.customSelector); 
    5858      } 
    59        
     59 
    6060      var $allVideos = $(this).find(selectors.join(',')); 
    6161 
    6262      $allVideos.each(function(){ 
    6363        var $this = $(this); 
    64         if (this.tagName.toLowerCase() == 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }  
     64        if (this.tagName.toLowerCase() == 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; } 
    6565        var height = this.tagName.toLowerCase() == 'object' ? $this.attr('height') : $this.height(), 
    6666            aspectRatio = height / $this.width(); 
     
    7373      }); 
    7474    }); 
    75    
     75 
    7676  } 
    7777})( jQuery ); 
  • sundance/1.1/js/theme.js

    r34459 r34459  
    11( function( $ ) { 
    2     $( document ).ready( function() { 
     2    $( window ).load( function() { 
     3        $( '.entry-content' ).fitVids(); 
     4 
     5        $( '.featured-content' ).fitVids(); 
     6 
    37        $( '.featured' ).css( { 
    48            display: 'none' 
     
    1317        },400 ); 
    1418 
    15         $( '.entry-content' ).fitVids(); 
    16  
    17         $( '.featured-content' ).fitVids(); 
    18  
    19     } ); 
    20  
    21     $( window ).load( function() { 
    22  
    2319        $( '.featured-posts' ).flexslider( { 
    2420            animation: 'fade', 
  • sundance/1.1/languages/sundance.pot

    r34459 r34459  
    33msgid "" 
    44msgstr "" 
    5 "Project-Id-Version: Sundance 1.0\n" 
     5"Project-Id-Version: Sundance 1.1\n" 
    66"Report-Msgid-Bugs-To: http://wordpress.org/tags/sundance\n" 
    7 "POT-Creation-Date: 2012-03-08 12:47:59+00:00\n" 
     7"POT-Creation-Date: 2012-11-05 19:31:24+00:00\n" 
    88"MIME-Version: 1.0\n" 
    99"Content-Type: text/plain; charset=UTF-8\n" 
     
    6060msgstr "" 
    6161 
    62 #: archive.php:91 index.php:49 search.php:33 
     62#: archive.php:91 index.php:40 search.php:33 
    6363msgid "Nothing Found" 
    6464msgstr "" 
    6565 
    66 #: archive.php:95 index.php:53 
     66#: archive.php:95 index.php:44 
    6767msgid "" 
    6868"It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps " 
     
    141141msgstr "" 
    142142 
    143 #: content.php:15 featured.php:64 
     143#: content.php:15 featured.php:47 
    144144msgid "Permalink to %s" 
    145145msgstr "" 
     
    181181msgstr "" 
    182182 
    183 #: functions.php:87 
     183#: functions.php:90 
    184184msgid "Primary Menu" 
    185185msgstr "" 
    186186 
    187 #: functions.php:116 
     187#: functions.php:138 
    188188msgid "Sidebar" 
    189189msgstr "" 
     
    203203#: image.php:24 
    204204msgid "" 
    205 "Published <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1" 
    206 "$s\" pubdate>%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-" 
     205"Published <span class=\"entry-date\"><time class=\"entry-date\" datetime=" 
     206"\"%1$s\" pubdate>%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-" 
    207207"size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s" 
    208208"\" rel=\"gallery\">%7$s</a>" 
     
    418418msgid "" 
    419419"gray, light, one-column, two-columns, right-sidebar, fixed-width, responsive-" 
    420 "width, custom-background, custom-header, custom-menu, full-width-template, " 
    421 "post-formats, post-slider, rtl-language-support, sticky-post, theme-options, " 
    422 "translation-ready, blog, journal, news, video, bright, clean, minimal, simple" 
     420"width, custom-background, custom-colors, custom-header, custom-menu, full-" 
     421"width-template, post-formats, post-slider, rtl-language-support, sticky-" 
     422"post, theme-options, translation-ready, blog, journal, news, video, bright, " 
     423"clean, minimal, simple" 
    423424msgstr "" 
    424425 
  • sundance/1.1/readme.txt

    r34459 r34459  
    1 = SUNDNACE = 
     1= SUNDANCE = 
    22 
    33* by Automattic, http://automattic.com 
     
    2727 
    2828== CUSTOM APPEARANCE == 
     29 
    2930Customize Sundance theme even more with the custom background feature, a custom header image, a custom menu, and a full-width template. 
     31 
     32== GRAVATAR == 
     33 
     34If your blog is a mulit-authors blog, the authors' Gravatars will be displayed on side of each post. 
     35 
     36== CHANGELOG == 
     37 
     38= 1.1 Nov 5 2012 = 
     39* Better transient functionality for sundance_featured_posts() 
     40* Add styling for HTML5 email inputs 
     41* Make sure attribute escaping occurs after printing 
     42* PNG and JPG image compression 
     43* Remove loading of $locale.php 
     44* Fix Google Fonts to use is_ssl() correctly 
     45* Fix missing echo statements in attributes 
     46* Add Jetpack compatibility file 
     47* Update screenshot for HiDPI support 
  • sundance/1.1/style.css

    r34459 r34459  
    55Author URI: http://automattic.com/ 
    66Description: A free video theme brought to you by the folks at Automattic. Despite its minimalist design, Sundance was crafted with clean, elegant typography and close attention to detail. The home page offers a featured video carousel. It supports the video post format, widgets, custom background, custom header, custom menus, and a custom link feature for your social media pages. 
    7 Version: 1.0 
     7Version: 1.1 
    88License: GNU General Public License 
    99License URI: license.txt 
    10 Tags: gray, light, one-column, two-columns, right-sidebar, fixed-width, custom-background, custom-header, custom-menu, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready 
     10Tags: gray, light, one-column, two-columns, right-sidebar, fixed-width, custom-background, custom-colors, custom-header, custom-menu, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready 
    1111 
    1212This theme, like WordPress, is licensed under the GPL. 
     
    179179    line-height: 1.5714285714; 
    180180} 
    181 body { 
     181/* Add a wrapper when background image is set to maintain the readability */ 
     182body.custom-background #page { 
    182183    background: url(images/bg.jpg) repeat 0 0; 
     184} 
     185/* Remove the wrapper when background is a solid color and background image is empty */ 
     186body.custom-background.custom-background-image-empty #page { 
     187    background: none; 
    183188} 
    184189/* Headings */ 
     
    409414} 
    410415input[type=text], 
     416input[type=email], 
    411417input[type=password], 
    412418textarea { 
     
    417423input[type=text]:focus, 
    418424input[type=password]:focus, 
     425input[type=email]:focus, 
    419426textarea:focus { 
    420427    color: #111; 
    421428} 
    422429input[type=text], 
    423 input[type=password] { 
     430input[type=password], 
     431input[type=email] { 
    424432    padding: 5px; 
    425433} 
     
    602610} 
    603611.featured-posts .featured { 
    604     float: left; 
    605612    width: 100%; 
    606613} 
     
    665672    opacity: 0.8; 
    666673} 
    667 .flex-direction-nav li .next { 
     674.flex-direction-nav li .flex-next { 
    668675    background-position: 0 -28px; 
    669676} 
     
    703710    background-position: 0 -12px; 
    704711} 
    705 .flex-control-nav li a.active { 
     712.flex-control-nav li a.flex-active { 
    706713    background-position: 0 -24px; 
    707714    cursor: default; 
     
    13751382        top: 0; 
    13761383    } 
    1377     .flex-direction-nav li .prev { 
     1384    .flex-direction-nav li .flex-prev { 
    13781385        margin: 0 0 0 -6px; 
    13791386    } 
    1380     .flex-direction-nav li .next{ 
     1387    .flex-direction-nav li .flex-next{ 
    13811388        left: auto; 
    13821389        margin: 0 -6px 0 0; 
     
    15481555    margin-left: 0; 
    15491556} 
     1557 
     1558 
     1559/* =WP.com 
     1560-------------------------------------------------------------- */ 
     1561 
     1562.featured-content div.sharedaddy, 
     1563.featured-content .pd-rating { 
     1564    display: none; 
     1565} 
     1566#content div.sharedaddy { 
     1567    margin: 0 0 1.5714285714em 0; 
     1568} 
     1569#content div.sharedaddy div.sd-block { 
     1570    border-top: 1px dotted #b3b3b3; 
     1571} 
     1572.syntaxhighlighter { 
     1573    overflow: auto; 
     1574} 
     1575#content .reblog-post { 
     1576    border-color: #267172; 
     1577} 
     1578#wpstats { 
     1579    display: block; 
     1580    margin: 10px auto; 
     1581    position: relative; 
     1582    z-index: 999; 
     1583} 
     1584 
     1585/* =Jetpack: Infinite Scroll 
     1586-------------------------------------------------------------- */ 
     1587.infinite-scroll #content { 
     1588    margin-bottom: 50px; 
     1589} 
     1590.infinite-scroll #content .infinite-wrap { 
     1591    border-top: none; 
     1592} 
     1593.infinite-scroll .infinite-loader, 
     1594.infinite-scroll #infinite-handle span { 
     1595    margin-left: 14.28571428%; 
     1596} 
     1597/** 
     1598* Elements to hide: 
     1599* (footer widgets, post navigation, regular footer) 
     1600*/ 
     1601.infinite-scroll #nav-below, 
     1602.infinite-scroll #nav-above, 
     1603.infinite-scroll.neverending #colophon { 
     1604    display: none; 
     1605} 
     1606/** 
     1607* Hooks to infinity-end body class to restore footer 
     1608*/ 
     1609.infinity-end.neverending #colophon { 
     1610    display: block; 
     1611} 
Note: See TracChangeset for help on using the changeset viewer.