diff --git a/wp-content/themes/twentyfourteen/404.php b/wp-content/themes/twentyfourteen/404.php new file mode 100644 index 0000000000..0de18a3c98 --- /dev/null +++ b/wp-content/themes/twentyfourteen/404.php @@ -0,0 +1,34 @@ + + +
+
+ +
+
+

+
+ +
+

+ + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/archive.php b/wp-content/themes/twentyfourteen/archive.php new file mode 100644 index 0000000000..089c5d78fa --- /dev/null +++ b/wp-content/themes/twentyfourteen/archive.php @@ -0,0 +1,91 @@ + + +
+
+ + + +
' ); + + } elseif ( is_tag() ) { + // show an optional tag description + $tag_description = tag_description(); + if ( ! empty( $tag_description ) ) + echo apply_filters( 'tag_archive_meta', '
' . $tag_description . '
' ); + } + ?> + + + + + + + + + + + + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/comments.php b/wp-content/themes/twentyfourteen/comments.php new file mode 100644 index 0000000000..d47ac25b0c --- /dev/null +++ b/wp-content/themes/twentyfourteen/comments.php @@ -0,0 +1,76 @@ + + + + +
+ + + + +

+ ' . get_the_title() . '' ); + ?> +

+ + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + +
    + 'twentyfourteen_comment' ) ); + ?> +
+ + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + + + + +

+ + + + +
diff --git a/wp-content/themes/twentyfourteen/content-featured-post.php b/wp-content/themes/twentyfourteen/content-featured-post.php new file mode 100644 index 0000000000..63cd36a458 --- /dev/null +++ b/wp-content/themes/twentyfourteen/content-featured-post.php @@ -0,0 +1,45 @@ + + +
> + + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 1 ) ); + + if ( '' != get_the_post_thumbnail() ) : + the_post_thumbnail( 'featured-thumbnail-featured' ); + elseif ( $images ) : + $image = array_shift( $images ); + echo wp_get_attachment_image( $image->ID, 'featured-thumbnail-featured' ); + else : ?> + + + +
+
+ +

+
+ +
+ +
+
+ +
\ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/content-page.php b/wp-content/themes/twentyfourteen/content-page.php new file mode 100644 index 0000000000..d5c7f0bc9e --- /dev/null +++ b/wp-content/themes/twentyfourteen/content-page.php @@ -0,0 +1,27 @@ + + +
> +
+

+
+ +
+ + '', + 'link_before' => '', + 'link_after' => '' + ) ); + ?> + ', '' ); ?> +
+
diff --git a/wp-content/themes/twentyfourteen/content-post-format.php b/wp-content/themes/twentyfourteen/content-post-format.php new file mode 100644 index 0000000000..4f0f462502 --- /dev/null +++ b/wp-content/themes/twentyfourteen/content-post-format.php @@ -0,0 +1,83 @@ + + +
> + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) ); + if ( $images ) : + $image = array_shift( $images ); ?> + + ID, 'featured-thumbnail-large' ); ?> + + +
+ + + + + ', '' ); + ?> + + +
+ +
+ →', 'twentyfourteen' ) ); ?> + '', + 'link_before' => '', + 'link_after' => '' + ) ); + ?> +
+ + + +
\ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/content-recent-formatted-post.php b/wp-content/themes/twentyfourteen/content-recent-formatted-post.php new file mode 100644 index 0000000000..48bb7db9d2 --- /dev/null +++ b/wp-content/themes/twentyfourteen/content-recent-formatted-post.php @@ -0,0 +1,54 @@ + + +
> +
+ $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) ); + if ( $images ) : + $total_images = count( $images ); + if ( empty( $featured_image ) ) { + $image = array_shift( $images ); + $featured_image = wp_get_attachment_image( $image->ID, 'featured-thumbnail-formatted' ); + } + ?> + +

%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyfourteen' ), + 'href="' . get_permalink() . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) + ); ?>

→', 'twentyfourteen' ) ); + endif; + ?> +
+ +
+ +
+
\ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/content-single.php b/wp-content/themes/twentyfourteen/content-single.php new file mode 100644 index 0000000000..6be2984c8f --- /dev/null +++ b/wp-content/themes/twentyfourteen/content-single.php @@ -0,0 +1,83 @@ + + +
> + + + + +
+ + + +

+ + + +
+ +
+ + '', + 'link_before' => '', + 'link_after' => '' + ) ); + ?> +
+ + +
diff --git a/wp-content/themes/twentyfourteen/content.php b/wp-content/themes/twentyfourteen/content.php new file mode 100644 index 0000000000..02e214bfd9 --- /dev/null +++ b/wp-content/themes/twentyfourteen/content.php @@ -0,0 +1,76 @@ + + +
> + + + + +
+ + + + +

+ + +
+ + +
+ +
+ +
+ →', 'twentyfourteen' ) ); ?> + '', + 'link_before' => '', + 'link_after' => '' + ) ); + ?> +
+ + + + + +
\ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/featured-content.php b/wp-content/themes/twentyfourteen/featured-content.php new file mode 100644 index 0000000000..79bb599f40 --- /dev/null +++ b/wp-content/themes/twentyfourteen/featured-content.php @@ -0,0 +1,19 @@ + diff --git a/wp-content/themes/twentyfourteen/fonts/copying.txt b/wp-content/themes/twentyfourteen/fonts/copying.txt new file mode 100644 index 0000000000..3f00a7a63f --- /dev/null +++ b/wp-content/themes/twentyfourteen/fonts/copying.txt @@ -0,0 +1,7 @@ +Genericons is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. + +The fonts are distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.eot b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.eot new file mode 100644 index 0000000000..5144ec58eb Binary files /dev/null and b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.eot differ diff --git a/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.svg b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.svg new file mode 100644 index 0000000000..3e1d112dd8 --- /dev/null +++ b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.ttf b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.ttf new file mode 100644 index 0000000000..57874a45d1 Binary files /dev/null and b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.ttf differ diff --git a/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.woff b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.woff new file mode 100644 index 0000000000..1d3dda08df Binary files /dev/null and b/wp-content/themes/twentyfourteen/fonts/genericons-regular-webfont.woff differ diff --git a/wp-content/themes/twentyfourteen/footer.php b/wp-content/themes/twentyfourteen/footer.php new file mode 100644 index 0000000000..4d7a05b184 --- /dev/null +++ b/wp-content/themes/twentyfourteen/footer.php @@ -0,0 +1,27 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/full-width-page.php b/wp-content/themes/twentyfourteen/full-width-page.php new file mode 100644 index 0000000000..55e64fb1f2 --- /dev/null +++ b/wp-content/themes/twentyfourteen/full-width-page.php @@ -0,0 +1,65 @@ + + + + +
+
+ + + + + +
+ +
+
+ +
+
+ +
+ +
+
+ + + +
+
+ + + + + + + + + +
+
+ + + + + + diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php new file mode 100644 index 0000000000..d7d896ceb8 --- /dev/null +++ b/wp-content/themes/twentyfourteen/functions.php @@ -0,0 +1,446 @@ + __( 'Top primary menu', 'twentyfourteen' ), + 'secondary' => __( 'Secondary menu in left sidebar', 'twentyfourteen' ) + ) ); + + /** + * Enable support for Post Formats + */ + add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link', 'gallery' ) ); + + /** + * This theme allows users to set a custom background. + */ + $args = apply_filters( 'twentyfourteen_custom_background_args', array( 'default-color' => 'f5f5f5' ) ); + + if ( function_exists( 'wp_get_theme' ) ) { + add_theme_support( 'custom-background', $args ); + } else { + // Compat: Versions of WordPress prior to 3.4. + define( 'BACKGROUND_COLOR', $args['default-color'] ); + add_custom_background(); + } +} +endif; // twentyfourteen_setup +add_action( 'after_setup_theme', 'twentyfourteen_setup' ); + +/** + * Getter function for Featured Content Plugin. + * + */ +function twentyfourteen_get_featured_posts() { + return apply_filters( 'twentyfourteen_get_featured_posts', false ); +} + +/** + * A helper conditional function that returns a boolean value + * So that we can use a condition like + * if ( twentyfourteen_has_featured_posts( 1 ) ) + * + */ +function twentyfourteen_has_featured_posts( $minimum = 1 ) { + if ( is_paged() ) + return false; + + $minimum = absint( $minimum ); + $featured_posts = apply_filters( 'twentyfourteen_get_featured_posts', array() ); + + if ( ! is_array( $featured_posts ) ) + return false; + + if ( $minimum > count( $featured_posts ) ) + return false; + + return true; +} + +/** + * Register widgetized area and update sidebar with default widgets + * + */ +function twentyfourteen_widgets_init() { + register_sidebar( array( + 'name' => __( 'Primary Sidebar', 'twentyfourteen' ), + 'id' => 'sidebar-1', + 'description' => __( 'Main sidebar that appears on the left.', 'twentyfourteen' ), + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + register_sidebar( array( + 'name' => __( 'Content Sidebar', 'twentyfourteen' ), + 'id' => 'sidebar-2', + 'description' => __( 'Additional sidebar that appears on the right, on single posts and pages.', 'twentyfourteen' ), + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + register_sidebar( array( + 'name' => __( 'Footer Widget Area One', 'twentyfourteen' ), + 'id' => 'sidebar-3', + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + register_sidebar( array( + 'name' => __( 'Footer Widget Area Two', 'twentyfourteen' ), + 'id' => 'sidebar-4', + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + register_sidebar( array( + 'name' => __( 'Footer Widget Area Three', 'twentyfourteen' ), + 'id' => 'sidebar-5', + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + register_sidebar( array( + 'name' => __( 'Footer Widget Area Four', 'twentyfourteen' ), + 'id' => 'sidebar-6', + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + register_sidebar( array( + 'name' => __( 'Footer Widget Area Five', 'twentyfourteen' ), + 'id' => 'sidebar-7', + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); +} +add_action( 'widgets_init', 'twentyfourteen_widgets_init' ); + +/** + * Register Google fonts for Twenty Fourteen + * + */ +function twentyfourteen_fonts() { + /* translators: If there are characters in your language that are not supported + by Lato, translate this to 'off'. Do not translate into your own language. */ + if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) ) { + + $protocol = is_ssl() ? 'https' : 'http'; + + wp_register_style( 'twentyfourteen-lato', "$protocol://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic", array(), null ); + } +} +add_action( 'init', 'twentyfourteen_fonts' ); + +/** + * Enqueue scripts and styles + * + */ +function twentyfourteen_scripts() { + wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() ); + + wp_enqueue_style( 'twentyfourteen-lato' ); + + if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { + wp_enqueue_script( 'comment-reply' ); + } + + if ( is_singular() && wp_attachment_is_image() ) { + wp_enqueue_script( 'twentyfourteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20130402' ); + } + + wp_enqueue_script( 'twentyfourteen-theme', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130402', true ); +} +add_action( 'wp_enqueue_scripts', 'twentyfourteen_scripts' ); + +/** + * Enqueue Google fonts style to admin screen for custom header display. + * + */ +function twentyfourteen_admin_fonts( $hook_suffix ) { + if ( 'appearance_page_custom-header' != $hook_suffix ) + return; + + wp_enqueue_style( 'twentyfourteen-lato' ); +} +add_action( 'admin_enqueue_scripts', 'twentyfourteen_admin_fonts' ); + +/** + * Implement the Custom Header feature + * + */ +require( get_template_directory() . '/inc/custom-header.php' ); + +/** + * Sets the post excerpt length to 40 words. + * + */ +function twentyfourteen_excerpt_length( $length ) { + return 20; +} +add_filter( 'excerpt_length', 'twentyfourteen_excerpt_length' ); + +/** + * Returns a "Continue Reading" link for excerpts + * + */ +function twentyfourteen_continue_reading_link() { + return ' ' . __( 'Read More ', 'twentyfourteen' ) . ''; +} + +/** + * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyeleven_continue_reading_link(). + */ +function twentyfourteen_auto_excerpt_more( $more ) { + return ' …' . twentyfourteen_continue_reading_link(); +} +add_filter( 'excerpt_more', 'twentyfourteen_auto_excerpt_more' ); + +/** + * Adds a pretty "Continue Reading" link to custom post excerpts. + * + * To override this link in a child theme, remove the filter and add your own + * function tied to the get_the_excerpt filter hook. + * + */ +function twentyfourteen_custom_excerpt_more( $output ) { + if ( has_excerpt() && ! is_attachment() ) { + $output .= twentyfourteen_continue_reading_link(); + } + return $output; +} +add_filter( 'get_the_excerpt', 'twentyfourteen_custom_excerpt_more' ); + +/** + * Count the number of footer sidebars to enable dynamic classes for the footer + * + */ +function twentyfourteen_footer_sidebar_class() { + $count = 0; + + if ( is_active_sidebar( 'sidebar-3' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-4' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-5' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-6' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-7' ) ) + $count++; + + $class = ''; + + switch ( $count ) { + case '1': + $class = 'one'; + break; + case '2': + $class = 'two'; + break; + case '3': + $class = 'three'; + break; + case '4': + $class = 'four'; + break; + case '5': + $class = 'five'; + break; + } + + if ( $class ) + echo 'class="clearfix ' . $class . '"'; +} + +/** + * Gets recent formatted posts that are not featured in FC plugin. + * + */ +function twentyfourteen_get_recent( $post_format ) { + $args = array( + 'order' => 'DESC', + 'ignore_sticky_posts' => 1, + 'posts_per_page' => 2, + 'tax_query' => array( + array( + 'taxonomy' => 'post_format', + 'terms' => array( $post_format ), + 'field' => 'slug', + 'operator' => 'IN', + ), + ), + 'no_found_rows' => true, + ); + + $featured_posts = twentyfourteen_get_featured_posts(); + + if ( is_array( $featured_posts ) && ! empty( $featured_posts ) ) + $args['post__not_in'] = wp_list_pluck( $featured_posts, 'ID' ); + + return new WP_Query( $args ); +} + +/** + * Filter the home page posts, and remove formatted posts visible in the sidebar from it + * + */ +function twentyfourteen_pre_get_posts( $query ) { + // Bail if not home, not a query, not main query. + if ( ! $query->is_main_query() || is_admin() ) + return; + + // Only on the home page + if ( $query->is_home() ) { + $exclude_ids = array(); + + $videos = twentyfourteen_get_recent( 'post-format-video' ); + $images = twentyfourteen_get_recent( 'post-format-image' ); + $galleries = twentyfourteen_get_recent( 'post-format-gallery' ); + $asides = twentyfourteen_get_recent( 'post-format-aside' ); + $links = twentyfourteen_get_recent( 'post-format-link' ); + $quotes = twentyfourteen_get_recent( 'post-format-quote' ); + + foreach ( $videos->posts as $post ) + $exclude_ids[] = $post->ID; + + foreach ( $images->posts as $post ) + $exclude_ids[] = $post->ID; + + foreach ( $galleries->posts as $post ) + $exclude_ids[] = $post->ID; + + foreach ( $asides->posts as $post ) + $exclude_ids[] = $post->ID; + + foreach ( $links->posts as $post ) + $exclude_ids[] = $post->ID; + + foreach ( $quotes->posts as $post ) + $exclude_ids[] = $post->ID; + + $query->set( 'post__not_in', $exclude_ids ); + } +} +add_action( 'pre_get_posts', 'twentyfourteen_pre_get_posts' ); + +/** + * Adds custom classes to the array of body classes. + * + */ +function twentyfourteen_body_classes( $classes ) { + // Adds a class of group-blog to blogs with more than 1 published author + if ( is_multi_author() ) { + $classes[] = 'group-blog'; + } + if ( is_archive() || is_search() || is_home() ) { + $classes[] = 'list-view'; + } + + return $classes; +} +add_filter( 'body_class', 'twentyfourteen_body_classes' ); + +/** + * Filters wp_title to print a neat tag based on what is being viewed. + * + */ +function twentyfourteen_wp_title( $title, $sep ) { + global $page, $paged; + + if ( is_feed() ) + return $title; + + // Add the blog name + $title .= get_bloginfo( 'name' ); + + // Add the blog description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + $title .= " $sep $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + $title .= " $sep " . sprintf( __( 'Page %s', 'twentyfourteen' ), max( $paged, $page ) ); + + return $title; +} +add_filter( 'wp_title', 'twentyfourteen_wp_title', 10, 2 ); \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/header.php b/wp-content/themes/twentyfourteen/header.php new file mode 100644 index 0000000000..1d11f89c50 --- /dev/null +++ b/wp-content/themes/twentyfourteen/header.php @@ -0,0 +1,197 @@ +<?php +/** + * The Header for our theme. + * + * Displays all of the <head> section and everything up till <div id="main"> + * + * @package WordPress + * @subpackage Twenty_Fourteen + */ +?><!DOCTYPE html> +<html <?php language_attributes(); ?> class="no-js"> +<head> +<script> +/** + * Replaces class "no-js" with "js" in the <html>-tag when JavaScript is being used. + * Allows easy styling for browsers [not] supporting/running JavaScript. + */ +document.documentElement.className = document.documentElement.className.replace(/(\s|^)no-js(\s|$)/, '$1js$2'); +</script> +<meta charset="<?php bloginfo( 'charset' ); ?>" /> +<meta name="viewport" content="width=device-width" /> +<title><?php wp_title( '|', true, 'right' ); ?> + + + + + + + +> + +
+ + + + + + + + +
\ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/image.php b/wp-content/themes/twentyfourteen/image.php new file mode 100644 index 0000000000..6cce17832e --- /dev/null +++ b/wp-content/themes/twentyfourteen/image.php @@ -0,0 +1,120 @@ + + +
+
+ + + +
> +
+

+ + +
+ +
+ +
+
+ $post->post_parent, + 'post_status' => 'inherit', + 'post_type' => 'attachment', + 'post_mime_type' => 'image', + 'order' => 'ASC', + 'orderby' => 'menu_order ID' + ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } + ?> + + ID, $attachment_size ); + ?> +
+ + post_excerpt ) ) : ?> +
+ +
+ +
+ + + '', + 'link_before' => '', + 'link_after' => '' + ) ); + ?> +
+ +
+ + Post a comment or leave a trackback: Trackback URL.', 'twentyfourteen' ), get_trackback_url() ); ?> + + Trackback URL.', 'twentyfourteen' ), get_trackback_url() ); ?> + + post a comment.', 'twentyfourteen' ); ?> + + + +
+
+ +
', 'twentyfourteen' ) ); ?> + Next Image
', 'twentyfourteen' ) ); ?> + + + + + + +
+
+ + + + \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/images/pattern-dark.png b/wp-content/themes/twentyfourteen/images/pattern-dark.png new file mode 100644 index 0000000000..1a6efe8287 Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/pattern-dark.png differ diff --git a/wp-content/themes/twentyfourteen/images/pattern.png b/wp-content/themes/twentyfourteen/images/pattern.png new file mode 100644 index 0000000000..d7de376463 Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/pattern.png differ diff --git a/wp-content/themes/twentyfourteen/images/placeholder.png b/wp-content/themes/twentyfourteen/images/placeholder.png new file mode 100644 index 0000000000..37377c352a Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/placeholder.png differ diff --git a/wp-content/themes/twentyfourteen/inc/custom-header.php b/wp-content/themes/twentyfourteen/inc/custom-header.php new file mode 100644 index 0000000000..c911e1385e --- /dev/null +++ b/wp-content/themes/twentyfourteen/inc/custom-header.php @@ -0,0 +1,171 @@ + '', + 'default-text-color' => 'fff', + 'width' => 1260, + 'height' => 240, + 'flex-height' => true, + 'wp-head-callback' => 'twentyfourteen_header_style', + 'admin-head-callback' => 'twentyfourteen_admin_header_style', + 'admin-preview-callback' => 'twentyfourteen_admin_header_image', + ); + + $args = apply_filters( 'twentyfourteen_custom_header_args', $args ); + + if ( function_exists( 'wp_get_theme' ) ) { + add_theme_support( 'custom-header', $args ); + } else { + // Compat: Versions of WordPress prior to 3.4. + define( 'HEADER_TEXTCOLOR', $args['default-text-color'] ); + define( 'HEADER_IMAGE', $args['default-image'] ); + define( 'HEADER_IMAGE_WIDTH', $args['width'] ); + define( 'HEADER_IMAGE_HEIGHT', $args['height'] ); + add_custom_image_header( $args['wp-head-callback'], $args['admin-head-callback'], $args['admin-preview-callback'] ); + } +} +add_action( 'after_setup_theme', 'twentyfourteen_custom_header_setup' ); + +/** + * Shiv for get_custom_header(). + * + * get_custom_header() was introduced to WordPress + * in version 3.4. To provide backward compatibility + * with previous versions, we will define our own version + * of this function. + * + * @todo Remove this function when WordPress 3.6 is released. + * @return stdClass All properties represent attributes of the curent header image. + * + * @package WordPress + * @subpackage Twenty_Fourteen + */ + +if ( ! function_exists( 'get_custom_header' ) ) { + function get_custom_header() { + return (object) array( + 'url' => get_header_image(), + 'thumbnail_url' => get_header_image(), + 'width' => HEADER_IMAGE_WIDTH, + 'height' => HEADER_IMAGE_HEIGHT, + ); + } +} + +if ( ! function_exists( 'twentyfourteen_header_style' ) ) : +/** + * Styles the header image and text displayed on the blog + * + * @see twentyfourteen_custom_header_setup(). + * + */ +function twentyfourteen_header_style() { + + // If no custom options for text are set, let's bail + // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value + if ( HEADER_TEXTCOLOR == get_header_textcolor() ) + return; + // If we get this far, we have custom styles. Let's do this. + ?> + + Header admin panel. + * + * @see twentyfourteen_custom_header_setup(). + * + */ +function twentyfourteen_admin_header_style() { +?> + + Header admin panel. + * + * @see twentyfourteen_custom_header_setup(). + * + */ +function twentyfourteen_admin_header_image() { ?> +
+ + + + +

onclick="return false;" href="">

+
+get_setting( 'blogname' )->transport = 'postMessage'; + $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; + + $wp_customize->add_section( 'twentyfourteen_theme_options', array( + 'title' => __( 'Theme Options', 'twentyfourteen' ), + 'priority' => 35, + ) ); + + $wp_customize->add_setting( 'email_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'email_link', array( + 'label' => __( 'Email Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'email_link', + 'type' => 'text', + 'priority' => 1, + ) ); + + $wp_customize->add_setting( 'twitter_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'twitter_link', array( + 'label' => __( 'Twitter Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'twitter_link', + 'type' => 'text', + 'priority' => 2, + ) ); + + $wp_customize->add_setting( 'facebook_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'facebook_link', array( + 'label' => __( 'Facebook Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'facebook_link', + 'type' => 'text', + 'priority' => 3, + ) ); + + $wp_customize->add_setting( 'pinterest_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'pinterest_link', array( + 'label' => __( 'Pinterest Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'pinterest_link', + 'type' => 'text', + 'priority' => 4, + ) ); + + $wp_customize->add_setting( 'google_plus_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'google_plus_link', array( + 'label' => __( 'Google+ Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'google_plus_link', + 'type' => 'text', + 'priority' => 5, + ) ); + + $wp_customize->add_setting( 'linkedin_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'linkedin_link', array( + 'label' => __( 'LinkedIn Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'linkedin_link', + 'type' => 'text', + 'priority' => 6, + ) ); + + $wp_customize->add_setting( 'flickr_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'flickr_link', array( + 'label' => __( 'Flickr Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'flickr_link', + 'type' => 'text', + 'priority' => 7, + ) ); + + $wp_customize->add_setting( 'github_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'github_link', array( + 'label' => __( 'Github Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'github_link', + 'type' => 'text', + 'priority' => 8, + ) ); + + $wp_customize->add_setting( 'dribbble_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'dribbble_link', array( + 'label' => __( 'Dribbble Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'dribbble_link', + 'type' => 'text', + 'priority' => 9, + ) ); + + $wp_customize->add_setting( 'vimeo_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'vimeo_link', array( + 'label' => __( 'Vimeo Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'vimeo_link', + 'type' => 'text', + 'priority' => 10, + ) ); + + $wp_customize->add_setting( 'youtube_link', array( + 'default' => '', + 'type' => 'theme_mod', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( 'youtube_link', array( + 'label' => __( 'YouTube Link', 'twentyfourteen' ), + 'section' => 'twentyfourteen_theme_options', + 'settings' => 'youtube_link', + 'type' => 'text', + 'priority' => 11, + ) ); +} +add_action( 'customize_register', 'twentyfourteen_customize_register' ); + +/** + * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. + * + */ +function twentyfourteen_customize_preview_js() { + wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20120827', true ); +} +add_action( 'customize_preview_init', 'twentyfourteen_customize_preview_js' ); \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/inc/template-tags.php b/wp-content/themes/twentyfourteen/inc/template-tags.php new file mode 100644 index 0000000000..17b9086615 --- /dev/null +++ b/wp-content/themes/twentyfourteen/inc/template-tags.php @@ -0,0 +1,208 @@ +post_parent ) : get_adjacent_post( false, '', true ); + $next = get_adjacent_post( false, '', false ); + + if ( ! $next && ! $previous ) + return; + } + + // Don't print empty markup in archives if there's only one page. + if ( $wp_query->max_num_pages < 2 && ( is_home() || is_archive() || is_search() ) ) + return; + + $nav_class = 'site-navigation paging-navigation'; + if ( is_single() ) + $nav_class = 'site-navigation post-navigation'; + + ?> + + comment_type ) : + case 'pingback' : + case 'trackback' : + ?> +
  • +

    + +
  • id="li-comment-"> +
    +
    +
    + + %s says:', get_comment_author_link() ) ); ?> +
    +
    + +
    + + comment_approved == '0' ) : ?> +

    + +
    + + +
    + + ' . __( 'Sticky', 'twentyfourteen' ) . ''; + + printf( __( ' ', 'twentyfourteen' ), + esc_url( get_permalink() ), + esc_attr( get_the_time() ), + esc_attr( get_the_date( 'c' ) ), + esc_html( get_the_date() ), + esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), + esc_attr( sprintf( __( 'View all posts by %s', 'twentyfourteen' ), get_the_author() ) ), + get_the_author() + ); +} +endif; + +/** + * Returns true if a blog has more than 1 category + * + */ +function twentyfourteen_categorized_blog() { + if ( false === ( $all_the_cool_cats = get_transient( 'all_the_cool_cats' ) ) ) { + // Create an array of all the categories that are attached to posts + $all_the_cool_cats = get_categories( array( + 'hide_empty' => 1, + ) ); + + // Count the number of categories that are attached to the posts + $all_the_cool_cats = count( $all_the_cool_cats ); + + set_transient( 'all_the_cool_cats', $all_the_cool_cats ); + } + + if ( '1' != $all_the_cool_cats ) { + // This blog has more than 1 category so twentyfourteen_categorized_blog should return true + return true; + } else { + // This blog has only 1 category so twentyfourteen_categorized_blog should return false + return false; + } +} + +/** + * Flush out the transients used in twentyfourteen_categorized_blog + * + */ +function twentyfourteen_category_transient_flusher() { + // Like, beat it. Dig? + delete_transient( 'all_the_cool_cats' ); +} +add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' ); +add_action( 'save_post', 'twentyfourteen_category_transient_flusher' ); + +/** + * Include the Post-Format-specific template for the content. + * This is called in index.php and single.php + */ +function twentyfourteen_get_template_part() { + + $format = get_post_format(); + + switch( $format ) { + case 'aside': + case 'quote': + case 'link': + case 'video': + case 'image': + get_template_part( 'content', 'post-format' ); + break; + default: + get_template_part( 'content', get_post_format() ); + break; + } + +} \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/index.php b/wp-content/themes/twentyfourteen/index.php new file mode 100644 index 0000000000..e89b272f25 --- /dev/null +++ b/wp-content/themes/twentyfourteen/index.php @@ -0,0 +1,84 @@ + + + + +
    +
    + + + + + +
    + +
    +
    + +
    +
    + + + +
    + +
    +
    + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + diff --git a/wp-content/themes/twentyfourteen/js/customizer.js b/wp-content/themes/twentyfourteen/js/customizer.js new file mode 100644 index 0000000000..df2a8f7853 --- /dev/null +++ b/wp-content/themes/twentyfourteen/js/customizer.js @@ -0,0 +1,19 @@ +/** + * Theme Customizer enhancements for a better user experience. + * + * Contains handlers to make Theme Customizer preview reload changes asynchronously. + */ + +( function( $ ) { + // Site title and description. + wp.customize( 'blogname', function( value ) { + value.bind( function( to ) { + $( '.site-title a' ).text( to ); + } ); + } ); + wp.customize( 'blogdescription', function( value ) { + value.bind( function( to ) { + $( '.site-description' ).text( to ); + } ); + } ); +} )( jQuery ); \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/js/html5.js b/wp-content/themes/twentyfourteen/js/html5.js new file mode 100644 index 0000000000..a7889168fb --- /dev/null +++ b/wp-content/themes/twentyfourteen/js/html5.js @@ -0,0 +1,7 @@ +/*! HTML5 Shiv v3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ +/* Source: https://github.com/aFarkas/html5shiv */ +(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); +a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; +c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a"); +var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a, +b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d' ).appendTo( $masthead ); + + // Clone and detach the primary navigation for use later + $primaryNaviClone = $masthead.find( 'nav.primary-navigation' ).detach(); + + // Clone and detach the secondary navigation for use later + $secondaryNaviClone = $secondaryTop.find( 'nav.secondary-navigation' ).detach(); + + // Prepend the primary navigation clone to #mobile-navigations and remove the class and add an id + $primaryNaviClone.prependTo( $mobileNavigations ).removeClass( 'primary-navigation' ).addClass( 'mobile-navigation' ).attr( 'id', 'primary-mobile-navigation' ); + + // Append the secondary navigation clone to #mobile-navigations and remove the class and add an id + $secondaryNaviClone.appendTo( $mobileNavigations ).removeClass( 'secondary-navigation' ).addClass( 'mobile-navigation' ).attr( 'id', 'secondary-mobile-navigation' ); + + // Remove the click event first and bind it after to make sure it's invoked once. + $( 'span#nav-toggle' ).off( 'click', menuToggle ).click( menuToggle ); + }; + + // DOM manupilations for desktop header + function normalHeader() { + // Check if the toggler exists. If it does remove it. + if ( $( 'span#nav-toggle').length ) + $( 'span#nav-toggle' ).remove(); + + // Clone and detach the primary mobile navigation for use later + $primaryNaviClone = $mobileNavigations.find( '#primary-mobile-navigation' ).detach(); + + // Clone and detach the secondary mobile navigation for use later + $secondaryNaviClone = $mobileNavigations.find( '#secondary-mobile-navigation' ).detach(); + + // Append the secondary navigation clone to #mobile-navigations and remove the class and add an id + $primaryNaviClone.appendTo( '.header-main' ).removeClass( 'mobile-navigation' ).removeAttr( 'id' ).addClass( 'primary-navigation' ); + + // Append the secondary navigation clone to #mobile-navigations and remove the class and add an id + $secondaryNaviClone.appendTo( $secondaryTop ).removeClass( 'mobile-navigation' ).removeAttr( 'id' ).addClass( 'secondary-navigation' ); + }; + + // Check viewport width when user resizes the browser window. + $( window ).resize( function() { + if ( false !== timeout ) + clearTimeout( timeout ); + + timeout = setTimeout( function() { + if ( $( window ).width() < 770 ) { + mobileHeader(); + } else { + normalHeader(); + } + }, 100 ); + + } ).resize(); + + // Sticky header. + var $mastheadOffset = -1, + $toolbarOffset = $( 'body' ).is( '.admin-bar' ) ? 32 : 0, + $maindiv = $( 'div#main' ); + + $( window ).on( 'scroll', false, function() { + if ( $mastheadOffset < 0 ) + $mastheadOffset = $masthead.offset().top - $toolbarOffset; + + if ( ( window.scrollY >= $mastheadOffset ) && ( $( window ).width() > 769 ) ) { + $masthead.addClass( 'masthead-fixed' ); + $maindiv.css( { + marginTop: $masthead.height() + } ); + } else { + $masthead.removeClass( 'masthead-fixed' ); + $maindiv.css( { + marginTop: 0 + } ); + } + } ); + + } ); + +} )( jQuery ); \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot b/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot new file mode 100644 index 0000000000..10bf8a9f9c --- /dev/null +++ b/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot @@ -0,0 +1,539 @@ +# Copyright (C) 2013 the WordPress team +# This file is distributed under the GNU General Public License v2 or later. +msgid "" +msgstr "" +"Project-Id-Version: Twenty Fourteen 0.1\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyfourteen\n" +"POT-Creation-Date: 2013-07-28 22:14:19+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" + +#: 404.php:16 +msgid "Oops! That page can’t be found." +msgstr "" + +#: 404.php:20 +msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?" +msgstr "" + +#: archive.php:22 +msgid "Category Archives: %s" +msgstr "" + +#: archive.php:25 +msgid "Tag Archives: %s" +msgstr "" + +#: archive.php:32 +msgid "Author Archives: %s" +msgstr "" + +#: archive.php:40 +msgid "Daily Archives: %s" +msgstr "" + +#: archive.php:43 +msgid "Monthly Archives: %s" +msgstr "" + +#: archive.php:46 +msgid "Yearly Archives: %s" +msgstr "" + +#: archive.php:49 sidebar.php:36 +msgid "Archives" +msgstr "" + +#: comments.php:32 +msgid "One thought on “%2$s”" +msgid_plural "%1$s thoughts on “%2$s”" +msgstr[0] "" +msgstr[1] "" + +#: comments.php:39 comments.php:59 +msgid "Comment navigation" +msgstr "" + +#: comments.php:40 comments.php:60 +msgid "← Older Comments" +msgstr "" + +#: comments.php:41 comments.php:61 +msgid "Newer Comments →" +msgstr "" + +#: comments.php:71 +msgid "Comments are closed." +msgstr "" + +#: content-featured-post.php:9 content-post-format.php:15 +#: content-recent-formatted-post.php:29 content-recent-formatted-post.php:45 +#: content.php:10 +msgid "Permalink to %s" +msgstr "" + +#. translators: used between list items, there is a space after the comma + +#: content-featured-post.php:29 content-post-format.php:25 +#: content-single.php:25 content.php:20 +msgid ", " +msgstr "" + +#: content-page.php:19 content-post-format.php:60 content-single.php:59 +#: content.php:59 image.php:85 +msgid "Pages:" +msgstr "" + +#: content-page.php:25 content-post-format.php:52 content-single.php:51 +#: content.php:46 image.php:29 inc/template-tags.php:90 +#: inc/template-tags.php:118 +msgid "Edit" +msgstr "" + +#: content-post-format.php:40 content-single.php:41 content.php:33 +msgid "All %s posts" +msgstr "" + +#: content-post-format.php:49 content-recent-formatted-post.php:50 +#: content-single.php:48 content.php:43 +msgid "Leave a comment" +msgstr "" + +#: content-post-format.php:49 content-recent-formatted-post.php:50 +#: content-single.php:48 content.php:43 +msgid "1 Comment" +msgstr "" + +#: content-post-format.php:49 content-recent-formatted-post.php:50 +#: content-single.php:48 content.php:43 +msgid "% Comments" +msgstr "" + +#: content-post-format.php:57 content-recent-formatted-post.php:36 +#: content.php:56 +msgid "Continue reading " +msgstr "" + +#: content-recent-formatted-post.php:28 +msgid "This gallery contains %2$s photo." +msgid_plural "This gallery contains %2$s photos." +msgstr[0] "" +msgstr[1] "" + +#: footer.php:19 +msgid "http://wordpress.org/" +msgstr "" + +#: footer.php:19 +msgid "Semantic Personal Publishing Platform" +msgstr "" + +#: footer.php:19 +msgid "Proudly powered by %s" +msgstr "" + +#: functions.php:72 +msgid "Top primary menu" +msgstr "" + +#: functions.php:73 +msgid "Secondary menu in left sidebar" +msgstr "" + +#: functions.php:133 +msgid "Primary Sidebar" +msgstr "" + +#: functions.php:135 +msgid "Main sidebar that appears on the left." +msgstr "" + +#: functions.php:142 +msgid "Content Sidebar" +msgstr "" + +#: functions.php:144 +msgid "Additional sidebar that appears on the right, on single posts and pages." +msgstr "" + +#: functions.php:151 +msgid "Footer Widget Area One" +msgstr "" + +#: functions.php:159 +msgid "Footer Widget Area Two" +msgstr "" + +#: functions.php:167 +msgid "Footer Widget Area Three" +msgstr "" + +#: functions.php:175 +msgid "Footer Widget Area Four" +msgstr "" + +#: functions.php:183 +msgid "Footer Widget Area Five" +msgstr "" + +#. translators: If there are characters in your language that are not supported +#. by Lato, translate this to 'off'. Do not translate into your own +#. language. + +#: functions.php:200 +msgctxt "Lato font: on or off" +msgid "on" +msgstr "" + +#: functions.php:262 +msgid "Read More " +msgstr "" + +#: functions.php:442 +msgid "Page %s" +msgstr "" + +#: header.php:77 +msgid "Connect" +msgstr "" + +#: header.php:82 searchform.php:10 searchform.php:12 +msgid "Search" +msgstr "" + +#: header.php:87 +msgid "Primary Menu" +msgstr "" + +#: header.php:88 +msgid "Skip to content" +msgstr "" + +#: header.php:101 header.php:102 +msgid "Email" +msgstr "" + +#: header.php:109 header.php:110 +msgid "Twitter" +msgstr "" + +#: header.php:117 header.php:118 +msgid "Facebook" +msgstr "" + +#: header.php:125 header.php:126 +msgid "Pinterest" +msgstr "" + +#: header.php:133 header.php:134 +msgid "Google Plus" +msgstr "" + +#: header.php:141 header.php:142 +msgid "LinkedIn" +msgstr "" + +#: header.php:149 header.php:150 +msgid "Flickr" +msgstr "" + +#: header.php:157 header.php:158 +msgid "Github" +msgstr "" + +#: header.php:165 header.php:166 +msgid "Dribbble" +msgstr "" + +#: header.php:173 header.php:174 +msgid "Vimeo" +msgstr "" + +#: header.php:181 header.php:182 +msgid "YouTube" +msgstr "" + +#: image.php:95 +msgid "Post a comment or leave a trackback: Trackback URL." +msgstr "" + +#: image.php:97 +msgid "Comments are closed, but you can leave a trackback: Trackback URL." +msgstr "" + +#: image.php:99 +msgid "Trackbacks are closed, but you can post a comment." +msgstr "" + +#: image.php:101 +msgid "Both comments and trackbacks are currently closed." +msgstr "" + +#: image.php:107 +msgid "
    Previous Image
    " +msgstr "" + +#: image.php:108 +msgid "
    Next Image
    " +msgstr "" + +#: inc/customizer.php:20 +msgid "Theme Options" +msgstr "" + +#: inc/customizer.php:31 +msgid "Email Link" +msgstr "" + +#: inc/customizer.php:45 +msgid "Twitter Link" +msgstr "" + +#: inc/customizer.php:59 +msgid "Facebook Link" +msgstr "" + +#: inc/customizer.php:73 +msgid "Pinterest Link" +msgstr "" + +#: inc/customizer.php:87 +msgid "Google+ Link" +msgstr "" + +#: inc/customizer.php:101 +msgid "LinkedIn Link" +msgstr "" + +#: inc/customizer.php:115 +msgid "Flickr Link" +msgstr "" + +#: inc/customizer.php:129 +msgid "Github Link" +msgstr "" + +#: inc/customizer.php:143 +msgid "Dribbble Link" +msgstr "" + +#: inc/customizer.php:157 +msgid "Vimeo Link" +msgstr "" + +#: inc/customizer.php:171 +msgid "YouTube Link" +msgstr "" + +#: inc/template-tags.php:38 +msgid "Post navigation" +msgstr "" + +#: inc/template-tags.php:42 +msgid "
    Previous Post%title
    " +msgstr "" + +#: inc/template-tags.php:43 +msgid "
    Next Post%title
    " +msgstr "" + +#: inc/template-tags.php:61 +msgid "← Previous" +msgstr "" + +#: inc/template-tags.php:62 +msgid "Next →" +msgstr "" + +#: inc/template-tags.php:90 +msgid "Pingback:" +msgstr "" + +#: inc/template-tags.php:100 +msgid "%s" +msgstr "" + +#: inc/template-tags.php:107 +msgid "Your comment is awaiting moderation." +msgstr "" + +#. translators: 1: date, 2: time + +#: inc/template-tags.php:115 +msgid "%1$s at %2$s" +msgstr "" + +#: inc/template-tags.php:136 +msgid "Sticky" +msgstr "" + +#: inc/template-tags.php:138 +msgid " %7$s" +msgstr "" + +#: inc/template-tags.php:144 +msgid "View all posts by %s" +msgstr "" + +#: no-results.php:14 +msgid "Nothing Found" +msgstr "" + +#: no-results.php:20 +msgid "Ready to publish your first post? Get started here." +msgstr "" + +#: no-results.php:24 +msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." +msgstr "" + +#: no-results.php:29 +msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." +msgstr "" + +#: recent-formatted-posts.php:19 +msgid "All Video Posts" +msgstr "" + +#: recent-formatted-posts.php:19 +msgid "Videos" +msgstr "" + +#: recent-formatted-posts.php:26 +msgid "More Videos" +msgstr "" + +#: recent-formatted-posts.php:26 +msgid "More Videos " +msgstr "" + +#: recent-formatted-posts.php:36 +msgid "All Image Posts" +msgstr "" + +#: recent-formatted-posts.php:36 +msgid "Images" +msgstr "" + +#: recent-formatted-posts.php:43 +msgid "More images" +msgstr "" + +#: recent-formatted-posts.php:43 +msgid "More images " +msgstr "" + +#: recent-formatted-posts.php:53 +msgid "All Gallery Posts" +msgstr "" + +#: recent-formatted-posts.php:53 +msgid "Galleries" +msgstr "" + +#: recent-formatted-posts.php:60 +msgid "More Galleries" +msgstr "" + +#: recent-formatted-posts.php:60 +msgid "More galleries " +msgstr "" + +#: recent-formatted-posts.php:70 +msgid "All Aside Posts" +msgstr "" + +#: recent-formatted-posts.php:70 +msgid "Asides" +msgstr "" + +#: recent-formatted-posts.php:77 +msgid "More Asides" +msgstr "" + +#: recent-formatted-posts.php:77 +msgid "More asides " +msgstr "" + +#: recent-formatted-posts.php:87 +msgid "All Link Posts" +msgstr "" + +#: recent-formatted-posts.php:87 +msgid "Links" +msgstr "" + +#: recent-formatted-posts.php:94 +msgid "More Links" +msgstr "" + +#: recent-formatted-posts.php:94 +msgid "More links " +msgstr "" + +#: recent-formatted-posts.php:104 +msgid "All Quote Posts" +msgstr "" + +#: recent-formatted-posts.php:104 +msgid "Quotes" +msgstr "" + +#: recent-formatted-posts.php:111 +msgid "More Quotes" +msgstr "" + +#: recent-formatted-posts.php:111 +msgid "More quotes " +msgstr "" + +#: search.php:17 +msgid "Search Results for: %s" +msgstr "" + +#: searchform.php:11 +msgid "Search …" +msgstr "" + +#: sidebar-content.php:18 +msgid "Blogroll" +msgstr "" + +#: sidebar-content.php:25 +msgid "Meta" +msgstr "" + +#: sidebar.php:29 +msgid "Categories" +msgstr "" +#. Theme Name of the plugin/theme +msgid "Twenty Fourteen" +msgstr "" + +#. Theme URI of the plugin/theme +msgid "http://wordpress.org/themes/" +msgstr "" + +#. Description of the plugin/theme +msgid "The default theme for 2014 is a magazine theme with a sleek, modern, and beautifully crafted responsive design. As a magazine theme it highlights featured content prominently on the home page." +msgstr "" + +#. Author of the plugin/theme +msgid "the WordPress team" +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://wordpress.org/" +msgstr "" + +#. Tags of the plugin/theme +msgid "black, green, white, light, dark, two-columns, three-columns, fixed-width, responsive-width, custom-background, custom-header, custom-menu, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready" +msgstr "" + +#. Template Name of the plugin/theme +msgid "Full Width Page" +msgstr "" diff --git a/wp-content/themes/twentyfourteen/no-results.php b/wp-content/themes/twentyfourteen/no-results.php new file mode 100644 index 0000000000..342a2dc8cc --- /dev/null +++ b/wp-content/themes/twentyfourteen/no-results.php @@ -0,0 +1,34 @@ + + +
    +
    +

    +
    + +
    + + +

    Get started here.', 'twentyfourteen' ), admin_url( 'post-new.php' ) ); ?>

    + + + +

    + + + + +

    + + + +
    +
    diff --git a/wp-content/themes/twentyfourteen/page.php b/wp-content/themes/twentyfourteen/page.php new file mode 100644 index 0000000000..15dc518048 --- /dev/null +++ b/wp-content/themes/twentyfourteen/page.php @@ -0,0 +1,76 @@ + + + + +
    +
    + + + + + +
    + +
    +
    + +
    +
    + + + +
    + +
    +
    + + + + + +
    +
    + + + + + + + + + +
    +
    + + + + + + + + diff --git a/wp-content/themes/twentyfourteen/recent-formatted-posts.php b/wp-content/themes/twentyfourteen/recent-formatted-posts.php new file mode 100644 index 0000000000..4848e9587e --- /dev/null +++ b/wp-content/themes/twentyfourteen/recent-formatted-posts.php @@ -0,0 +1,120 @@ + + +
    +have_posts() ) : +?> +
    +

    + +

    + have_posts() ) : $recent_videos->the_post(); + get_template_part( 'content', 'recent-formatted-post' ); + endwhile; + ?> + →', 'twentyfourteen' ); ?> +
    + + +have_posts() ) : +?> +
    +

    + +

    + have_posts() ) : $recent_images->the_post(); + get_template_part( 'content', 'recent-formatted-post' ); + endwhile; + ?> + →', 'twentyfourteen' ); ?> +
    + + +have_posts() ) : +?> +
    +

    + +

    + have_posts() ) : $recent_galleries->the_post(); + get_template_part( 'content', 'recent-formatted-post' ); + endwhile; + ?> + →', 'twentyfourteen' ); ?> +
    + + +have_posts() ) : +?> +
    +

    + +

    + have_posts() ) : $recent_asides->the_post(); + get_template_part( 'content', 'recent-formatted-post' ); + endwhile; + ?> + →', 'twentyfourteen' ); ?> +
    + + +have_posts() ) : +?> + + + +have_posts() ) : +?> +
    +

    + +

    + have_posts() ) : $recent_quotes->the_post(); + get_template_part( 'content', 'recent-formatted-post' ); + endwhile; + ?> + →', 'twentyfourteen' ); ?> +
    + + + + +
    \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/rtl.css b/wp-content/themes/twentyfourteen/rtl.css new file mode 100644 index 0000000000..a960997731 --- /dev/null +++ b/wp-content/themes/twentyfourteen/rtl.css @@ -0,0 +1,859 @@ +/* +Theme Name: Twenty Fourteen +*/ + +body { + direction: rtl; + unicode-bidi: embed; +} + +/* =Reset +----------------------------------------------- */ + +caption, th, td { + text-align: right; +} + + +/* =Global +----------------------------------------------- */ + +/* Text elements */ + +ul, ol { + margin: 0 22px 24px 0; + margin: 0 2.2rem 2.4rem 0; +} + +ul ul, ol ol, ul ol, ol ul { + margin-right: 20px; + margin-right: 2.0rem; + margin-left: auto; +} + +blockquote.pull.alignright { + margin: 7px 0 7px 24px; + margin: 0.7rem 0 0.7rem 2.4rem; +} + +blockquote.pull.alignleft { + margin: 7px 24px 7px 0; + margin: 0.7rem 2.4rem 0.7rem 0; +} + +/* Alignment */ +.alignright { + float: right; + margin-left: 24px; + margin-left: 2.4rem; + margin-right: auto; +} + +.alignleft { + float: left; + margin-right: 24px; + margin-right: 2.4rem; + margin-left: auto; +} + +/* =Header +----------------------------------------------- */ + +.header-main { + margin-left: 48px; + margin-left: 4.8rem; + padding-right: 10px; + padding-right: 1.0rem; + padding-left: 0; + margin-right: auto; +} + +.header-extra { + float: left; +} + +.site-title { + float: right; +} + +#nav-toggle { + left: 0; + right: auto; +} + +.social-links-toggle, +.search-toggle { + float: right; +} + +.social-links-toggle { + border-left: 1px solid rgba(255, 255, 255, 0.4); + border-right: none; +} + +.social-links-toggle span:before, +.search-toggle span:before { + margin-right: -8px; + margin-right: -0.8rem; + right: 50%; + left: auto; + margin-left: auto; +} + +.social-links li { + float: left; + margin: 8px 0 8px 10px; + margin: 0.8rem 0 0.8rem 1.0rem; +} + +.search-box #searchform input[type="text"] { + float: left; +} + + +/* =Menu +----------------------------------------------- */ + +/* Primary Navigation */ +.primary-navigation { + float: left; + margin: 0 -10px 0 10px; + margin: 0 -1.0rem 0 1.0rem; +} + +.primary-navigation ul { + padding-right: 0; + padding-left: 0; +} + +.primary-navigation ul ul { + float: right; + right: 0; + left: auto; +} + +.primary-navigation ul ul ul { + right: 100%; + left: auto; +} + +/* Secondary Navigation */ +.secondary-navigation ul ul { + margin: 0 20px 0 0; + margin: 0 2.0rem 0 0; +} + +/* Mobile Navigations */ +.mobile-navigation ul ul li { + margin-right: 15px; + margin-right: 1.5rem; + margin-left: auto; +} + + +/* =Content +----------------------------------------------- */ + +.entry-content th, +.comment-content th { + border-left: 1px solid rgba(0, 0, 0, 0.1); + border-right: none; +} + +.entry-content td, +.comment-content td { + border-left: 1px solid rgba(0, 0, 0, 0.1); + border-right: none; +} + +.more-link .meta-nav, +.more-formatted-posts-link .meta-nav { + right: 0; + left: auto; +} + +.more-link:hover .meta-nav, +.more-formatted-posts-link:hover .meta-nav { + right: 5px; + right: 0.5rem; + left: auto; +} + +.page-links a, +.page-links > span { + margin-left: 1px; + margin-left: 0.1rem; + margin-right: auto; +} + +.page-links > span.page-links-title { + padding-right: 0; + padding-left: 0; +} + +.tag-links a { + margin: 0 10px 4px 4px; + margin: 0 1.0rem 0.4rem 0.4rem; +} + +.tag-links a:before { + border-left: 10px solid #8c8c8c; + right: -10px; + right: -1.0rem; + left: auto; + border-right: none; +} + +.tag-links a:hover:before { + border-left-color: #2b2b2b; +} + +.tag-links a:after { + right: -2px; + right: -0.2rem; + left: auto; +} + + +/* =Post Formatted posts column +----------------------------------------------- */ + +.format-title:before { + margin-left: 10px; + margin-left: 1.0rem; + margin-right: auto; +} + + +/* =Media +----------------------------------------------- */ + +img.alignright, +.wp-caption.alignright { + margin: 7px 0 7px 24px; + margin: 0.7rem 0 0.7rem 2.4rem; +} + +img.alignleft, +.wp-caption.alignleft { + margin: 7px 24px 7px 0; + margin: 0.7rem 2.4rem 0.7rem 0; +} + +.wp-caption-text { + padding: 0 0 0 10px; + padding: 0 0 0 1.0rem; + text-align: right; +} + + +/* =Navigation +----------------------------------------------- */ + +.paging-navigation .page-numbers { + margin-left: 5px; + margin-left: 0.5rem; + margin-right: auto; +} + +.post-navigation .nav-previous, +.post-navigation .nav-next, +#image-navigation .previous-image, +#image-navigation .next-image { + text-align: right; +} + +.comment-navigation { + padding-right: 10px; + padding-right: 1.0rem; + padding-left: 0; +} + +.comment-navigation .nav-previous a { + margin-left: 10px; + margin-right: auto; +} + + +/* =Comments +----------------------------------------------- */ + +.comment-author { + padding-right: 36px; + padding-right: 3.6rem; + padding-left: 0; +} + +.comment-author .comment-author-avatar { + right: 0; + left: auto; +} + +.comment-author .avatar { + right: 2px; + right: 0.2rem; + left: auto; +} + +.comment-meta, +.comment-content { + padding-right: 36px; + padding-right: 3.6rem; + padding-left: 0; +} + +.comment-content ul, +.comment-content ol { + margin: 0 22px 24px 0; + margin: 0 2.2rem 2.4rem 0; +} + +.commentlist .children { + margin-right: 20px; + margin-right: 2.0rem; + margin-left: auto; +} + +#comments li #respond { + margin-right: 47px; + margin-right: 4.7rem; + margin-left: auto; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget ul ul, +.widget ol ol, +.widget ul ol, +.widget ol ul { + margin: 0 10px 0 0; + margin: 0 1.0rem 0 0; +} + +.widget select, +.widget iframe { + margin-right: 1px; + margin-right: 0.1rem; + margin-left: auto; +} + +/* Authors Widget */ +.widget_authors img { + margin: 0 0 9px 5px; + margin: 0 0 0.9rem 0.5rem; +} + +/* Caledar widget*/ +.widget_calendar #wp-calendar caption { + text-align: right; +} + +.widget_calendar #wp-calendar tfoot td#prev { + padding-right: 5px; + padding-right: 0.5rem; + padding-left: 0; +} + +.widget_calendar #wp-calendar tfoot td#next { + border-left: 1px solid rgba(255, 255, 255, 0.2); + padding-left: 5px; + padding-left: 0.5rem; + text-align: left; + padding-right: 0; + border-right: none; +} + + +/* =Content Sidebar +----------------------------------------------- */ + +#content-sidebar .widget .children, +#content-sidebar .widget .sub-menu { + margin:0 20px 0 0; + margin:0 2.0rem 0 0; +} + +#content-sidebar .widget .widgets-multi-column-grid li { + padding: 0 0 6px 8px; + padding: 0 0 0.6rem 0.8rem; +} + + +/* =Media Queries +----------------------------------------------- */ + +/* Mobile list style */ +@media screen and (max-width: 400px) { + .list-view .attachment-featured-thumbnail img { + float: right; + margin: 0 0 3px 10px; + margin: 0 0 0.3rem 1.0rem; + } +} + +@media screen and (min-width: 400px) { + #primary .featured-post:before, + #primary .post-format a:before, + #primary .post-format + span.entry-date a:before, + #primary span.entry-date a:before, + #primary .byline a:before, + #primary .comments-link a:before, + #primary .edit-link a:before, + .attachment span.entry-date:before, + #primary .full-size-link a:before, + #primary .parent-post-link a:before { + margin: 0 0 0 2px; + margin: 0 0 0 0.2rem; + } + + #primary .entry-meta > span { + margin-left: 10px; + margin-left: 1.0rem; + margin-right: auto; + } + + #primary .format-video .post-format a:before { + margin: -1px 0 0 2px; + margin: -0.1rem 0 0 0.2rem; + } + + #primary .format-image .post-format a:before { + margin: -1px 0 0 2px; + margin: -0.1rem 0 0 0.2rem; + } + + #primary .format-gallery .post-format a:before { + margin: -1px 0 0 4px; + margin: -0.1rem 0 0 0.4rem; + } + + #primary .featured-post:before { + margin: -1px 0 0 3px; + margin: -0.1rem 0 0 0.3rem; + } + + #primary .post-format + span.entry-date a:before, + #primary span.entry-date a:before, + .attachment span.entry-date:before { + margin: 0 0 0 1px; + margin: 0 0 0 0.1rem; + } + + #primary .comments-link a:before { + margin: -1px 0 0 2px; + margin: -0.1rem 0 0 0.2rem; + } + + #primary .edit-link a:before { + margin: -1px 0 0 2px; + margin: -0.1rem 0 0 0.2rem; + } + + .page #primary .edit-link a:before { + margin: 5px 0 0 2px; + margin: 0.5rem 0 0 0.2rem; + } +} + +@media screen and (min-width: 672px) { + #primary { + float: right; + } + + .site-content { + margin: 0 0 0 33.33333333%; + } + + #content-sidebar { + float: left; + margin: 0 -30.35714285% 0 0; + padding: 36px 0 24px 10px; + padding: 3.6rem 0 2.4rem 1.0rem; + } + + .post-formatted-posts { + float: left; + margin: 0 -30.35714285% 0 0; + padding: 36px 0 0 10px; + padding: 3.6rem 0 0 1.0rem; + } + + #featured-content .hentry { + float: right; + } +} + +@media screen and (min-width: 740px) { + .comment-author { + padding-right: 60px; + padding-right: 6.0rem; + padding-left: 0; + } + + .comment-meta, + .comment-content { + padding-right: 60px; + padding-right: 6.0rem; + padding-left: 0; + } + + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-left: 9.12778904%; + padding-right: 9.12778904%; + } + + .comment-navigation { + padding-right: 9.12778904%; + padding-left: 0; + } + + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-left: 6.04307432%; + padding-right: 6.04307432%; + } +} + +@media screen and (min-width: 770px) { + .header-main { + margin-left: 0; + margin-right: auto; + } +} + +@media screen and (min-width: 870px) { + #primary .entry-header { + margin-left: 8.03571428%; + margin-right: 12.5%; + } + + #primary .entry-content, + #primary .entry-summary { + margin-left: 8.03571428%; + margin-right: 12.5%; + } + + #primary footer.entry-meta { + margin: 12px 12.5% 24px 8.03571428%; + margin: 1.2rem 12.5% 2.4rem 8.03571428%; + } + + .page #primary .entry-header, + .error404 #primary .entry-header { + margin: 0 12.5% 0 8.03571428%; + } + + .page-header { + margin: 0 12.5% 24px 8.03571428%; + margin: 0 12.5% 2.4rem 8.03571428%; + } + + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-left: 12.39493534%; + padding-right: 17.06896551%; + } + + #comments #respond { + padding-left: 13.8900862%; + } + + .commentlist, + .full-width .commentlist { + margin-right: -70px; + margin-right: -7.0rem; + margin-left: auto; + } + + .comment-navigation { + padding-right: 17.06896551%; + padding-left: 0; + } + + #content-sidebar { + padding-top: 72px; + padding-top: 7.2rem; + } + + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-left: 11.30926724%; + padding-right: 11.30926724%; + } + + blockquote.pull.alignright { + margin-right: -20%; + margin-left: auto; + } + + blockquote.pull.alignleft { + margin-left: -20%; + margin-right: auto; + } + + #primary .no-results .entry-header { + margin-right: 12.5%; + margin-left: 8.03571428%; + } + + #primary .no-results .entry-content { + margin-right: 12.5%; + margin-left: 8.03571428%; + } +} + +@media screen and (min-width: 1008px) { + #page:before { + right: 0; + left: auto; + } + + .header-main { + padding-right: 27px; + padding-right: 2.7rem; + padding-left: 0; + } + + .social-links-wrapper, + .search-box-wrapper { + padding-right: 222px; + padding-right: 22.2rem; + padding-left: 0; + } + + .site-content { + margin: 0 222px 0 27.31707317%; + margin: 0 22.2rem 0 27.31707317%; + } + + #secondary { + float: right; + margin: 0 -100% 0 0; + } + + .front-page-content-wrapper { + float: right; + } + + .site-content { + margin: 0 222px 0 27.31707317%; + margin: 0 22.2rem 0 27.31707317%; + } + + #content-sidebar, + .post-formatted-posts { + margin: 0 -27.31707317% 0 0; + } + + #featured-content { + padding-right: 222px; + padding-right: 22.2rem; + padding-left: 0; + } + + #colophon { + padding-right: 27px; + padding-right: 2.7rem; + padding-left: 0; + } + + .secondary-navigation ul ul { + right: 168px; + right: 16.8rem; + left: auto; + } + + .full-width.site-content { + margin-right: 222px; + margin-right: 22.2rem; + margin-left: auto; + } + + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-left: 9.87001616%; + padding-right: 9.19765166%; + } + + .commentlist, + .full-width .commentlist { + margin-right: 0; + margin-left: auto; + } + + .comment-navigation { + padding-right: 9.19765166%; + padding-left: 0; + } + + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-left: 5.882236%; + padding-right: 5.882236%; + } + + blockquote.pull.alignright { + margin-right: 0; + margin-left: auto; + } + + blockquote.pull.alignleft { + margin-left: 0; + margin-right: auto; + } + + #supplementary { + padding-left: 0; + padding-right: 0; + } + + #supplementary .widget-area { + float: right; + } +} + +@media screen and (min-width: 1150px) { + #primary .entry-header { + margin: -48px 12.5% 0 8.03571428%; + margin: -4.8rem 12.5% 0 8.03571428%; + } + + #primary .entry-content, + #primary .entry-summary { + margin: 0 12.5% 0 8.03571428%; + } + + #primary footer.entry-meta { + margin: 12px 12.5% 24px 8.03571428%; + margin: 1.2rem 12.5% 2.4rem 8.03571428%; + } + + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-left: 12.44146986%; + padding-right: 16.77524429%; + } + + #comments #respond { + padding-left: 13.73697916%; + } + + .commentlist, + .full-width .commentlist { + margin-right: -70px; + margin-right: -7.0rem; + margin-left: auto; + } + + .comment-navigation { + padding-right: 16.77524429%; + padding-left: 0; + } + + .page-header { + margin: 0 12.5% 24px 8.03571428%; + margin: 0 12.5% 2.4rem 8.03571428%; + } + + .page #primary .entry-header, + .error404 #primary .entry-header { + margin: 0 12.5% 0 8.03571428%; + } + + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-left: 11.21868265%; + padding-right: 11.21868265%; + } + + #primary .entry-content .wp-caption.alignright .wp-caption-text { + padding-right: 10px; + padding-right: 1.0rem; + padding-left: 0; + } + + blockquote.pull.alignright { + margin-right: -20%; + margin-left: auto; + } + + blockquote.pull.alignleft { + margin-left: -20%; + margin-right: auto; + } +} + +@media screen and (min-width: 1230px) { + #content-sidebar, + .post-formatted-posts { + padding-left: 0; + } + + #primary .full-width .entry-header, + #primary .full-width .entry-content, + #primary .full-width footer.entry-meta { + margin: 0 11.21868265% 0 0; + } + + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-left: 0; + } +} \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/screenshot.png b/wp-content/themes/twentyfourteen/screenshot.png new file mode 100644 index 0000000000..184ecbba94 Binary files /dev/null and b/wp-content/themes/twentyfourteen/screenshot.png differ diff --git a/wp-content/themes/twentyfourteen/search.php b/wp-content/themes/twentyfourteen/search.php new file mode 100644 index 0000000000..e65cfcaa4e --- /dev/null +++ b/wp-content/themes/twentyfourteen/search.php @@ -0,0 +1,41 @@ + + +
    +
    + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/searchform.php b/wp-content/themes/twentyfourteen/searchform.php new file mode 100644 index 0000000000..360d97f269 --- /dev/null +++ b/wp-content/themes/twentyfourteen/searchform.php @@ -0,0 +1,13 @@ + + diff --git a/wp-content/themes/twentyfourteen/sidebar-content.php b/wp-content/themes/twentyfourteen/sidebar-content.php new file mode 100644 index 0000000000..963048a21d --- /dev/null +++ b/wp-content/themes/twentyfourteen/sidebar-content.php @@ -0,0 +1,33 @@ + + diff --git a/wp-content/themes/twentyfourteen/sidebar-footer.php b/wp-content/themes/twentyfourteen/sidebar-footer.php new file mode 100644 index 0000000000..e01e8b97f5 --- /dev/null +++ b/wp-content/themes/twentyfourteen/sidebar-footer.php @@ -0,0 +1,47 @@ + + +
    > + + + + + + + + + + + + + + + + + + +
    diff --git a/wp-content/themes/twentyfourteen/sidebar.php b/wp-content/themes/twentyfourteen/sidebar.php new file mode 100644 index 0000000000..ada06bd22c --- /dev/null +++ b/wp-content/themes/twentyfourteen/sidebar.php @@ -0,0 +1,43 @@ + +
    +
    + +

    + + + + + +
    + + +
    diff --git a/wp-content/themes/twentyfourteen/single.php b/wp-content/themes/twentyfourteen/single.php new file mode 100644 index 0000000000..4abbb3fd9f --- /dev/null +++ b/wp-content/themes/twentyfourteen/single.php @@ -0,0 +1,35 @@ + + +
    +
    + + + + + + + + + + + +
    +
    + + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css new file mode 100644 index 0000000000..27d8944ad5 --- /dev/null +++ b/wp-content/themes/twentyfourteen/style.css @@ -0,0 +1,3382 @@ +/* +Theme Name: Twenty Fourteen +Theme URI: http://wordpress.org/themes/ +Author: the WordPress team +Author URI: http://wordpress.org/ +Description: The default theme for 2014 is a magazine theme with a sleek, modern, and beautifully crafted responsive design. As a magazine theme it highlights featured content prominently on the home page. +Version: 0.1 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Tags: black, green, white, light, dark, two-columns, three-columns, fixed-width, responsive-width, custom-background, custom-header, custom-menu, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready + +This theme, like WordPress, is licensed under the GPL. +Use it to make something cool, have fun, and share what you've learned with others. +*/ + + +/* =Reset +----------------------------------------------- */ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + border: 0; + font-family: inherit; + font-size: 100%; + font-style: inherit; + font-weight: inherit; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; +} +html { + font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ + overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */ + -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ + -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ +} +body { + background: #fff; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section { + display: block; +} +ol, ul { + list-style: none; +} +table { /* tables still need 'cellspacing="0"' in the markup */ + border-collapse: separate; + border-spacing: 0; +} +caption, th, td { + font-weight: normal; + text-align: left; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ""; +} +blockquote, q { + quotes: "" ""; +} +a:focus { + outline: thin dotted; +} +a:hover, +a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */ + outline: 0; +} +a img { + border: 0; +} + +/* =Repeatable patterns +----------------------------------------------- */ + +/* Genericons */ +/* +IE8 and below use EOT and allow cross-site embedding. +IE9 uses WOFF which is base64 encoded to allow cross-site embedding. +So unfortunately, IE9 will throw a console error, but it'll still work. +*/ +@font-face { + font-family: 'Genericons'; + src: url('fonts/genericons-regular-webfont.eot'); + src: url('fonts/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/genericons-regular-webfont.woff') format('woff'), + url('fonts/genericons-regular-webfont.ttf') format('truetype'), + url('fonts/genericons-regular-webfont.svg#genericonsregular') format('svg'); + font-weight: normal; + font-style: normal; +} +.genericon:before { + display: inline-block; + -webkit-font-smoothing: antialiased; + font: normal 16px/1 'Genericons'; + font-size: 1.6rem; + vertical-align: top; +} + + +/* =Global +----------------------------------------------- */ + +body, +button, +input, +select, +textarea { + color: #2b2b2b; + font-family: lato, sans-serif; + font-size: 16px; + font-size: 1.6rem; + font-weight: 400; + line-height: 1.5; +} + +/* Selection */ +::-moz-selection { + background: #41a62a; + color: #fff; + text-shadow: none; +} +::selection { + background: #41a62a; + color: #fff; + text-shadow: none; +} + +/* Headings */ +h1,h2,h3,h4,h5,h6 { + clear: both; + font-weight: 700; + margin-bottom: 12px; + margin-bottom: 1.2rem; +} +h1 { + font-size: 33px; + font-size: 3.3rem; + line-height: 1.0909090909; +} +h2 { + font-size: 30px; + font-size: 3.0rem; + line-height: 1.2; +} +h3 { + font-size: 26px; + font-size: 2.6rem; + line-height: 1.3846153846; +} +h4 { + font-size: 22px; + font-size: 2.2rem; + line-height: 1.0909090909; +} +h5 { + font-size: 18px; + font-size: 1.8rem; + line-height: 1.3333333333; +} +h6 { + font-size: 16px; + font-size: 1.6rem; + line-height: 1.5; +} +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + color: #2b2b2b; + text-decoration: none; +} +h1 a:hover, +h2 a:hover, +h3 a:hover, +h4 a:hover, +h5 a:hover, +h6 a:hover { + color: #41a62a; + text-decoration: none; +} +hr { + background-color: rgba(0, 0, 0, 0.1); + border: 0; + height: 1px; + height: 0.1rem; + margin-bottom: 23px; + margin-bottom: 2.3rem; +} + +/* Text elements */ +p { + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +ul, ol { + margin: 0 0 24px 22px; + margin: 0 0 2.4rem 2.2rem; +} +ul { + list-style: disc; +} +ol { + list-style: decimal; +} +ul ul, ol ol, ul ol, ol ul { + margin-bottom: 0; + margin-left: 20px; + margin-left: 2.0rem; +} +dt { + font-weight: bold; +} +dd { + margin: 0 0 24px; + margin: 0 0 2.4rem; +} +b, strong { + font-weight: bold; +} +dfn, cite, em, i { + font-style: italic; +} +blockquote { + font-style: italic; + font-weight: 300; + margin: 0 0 24px; + margin: 0 0 2.4rem; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} +blockquote p { + color: #8c8c8c; + font-size: 19px; + font-size: 1.9rem; + line-height: 1.2631578947; +} +blockquote cite { + color: #2b2b2b; + font-size: 16px; + font-size: 1.6rem; + font-weight: 400; + line-height: 1.5; +} +blockquote.pull p { + margin-bottom: 17px; + margin-bottom: 1.7rem; +} +blockquote.pull.alignleft, +blockquote.pull.alignright { + border-top: 1px solid rgba(0, 0, 0, 0.1); + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + padding-top: 17px; + padding-top: 1.7rem; + width: 50%; +} +blockquote.pull.alignleft { + margin: 7px 24px 7px 0; + margin: 0.7rem 2.4rem 0.7rem 0; +} +blockquote.pull.alignright { + margin: 7px 0 7px 24px; + margin: 0.7rem 0 0.7rem 2.4rem; +} +address { + margin: 0 0 24px; + margin: 0 0 2.4rem; +} +pre { + background: #eee; + font-family: 'Courier 10 Pitch', Courier, monospace; + font-size: 15px; + font-size: 1.5rem; + line-height: 1.6; + margin-bottom: 24px; + margin-bottom: 2.4rem; + padding: 12px; + padding: 1.2rem; + overflow: auto; + max-width: 100%; +} +code, kbd, tt, var { + font: 15px/1.6 Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; + font-size: 1.5rem; +} +abbr, acronym { + border-bottom: 1px dotted rgba(0, 0, 0, 0.1); + cursor: help; +} +mark, ins { + background: #fff9c0; + text-decoration: none; +} +sup, +sub { + font-size: 75%; + height: 0; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup { + bottom: 1ex; +} +sub { + top: .5ex; +} +small { + font-size: 75%; +} +big { + font-size: 125%; +} +figure { + margin: 0; +} +table { + margin: 0 0 24px; + margin: 0 0 2.4rem; + width: 100%; +} +th { + font-weight: bold; +} +button, +input, +select, +textarea { + font-size: 100%; /* Corrects font size not being inherited in all browsers */ + margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ +} +button, +input { + line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */ + *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */ +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + background-color: #000; + border: none; + border-radius: 2px; + color: #fff; + font-size: 12px; + font-size: 1.2rem; + font-weight: 700; + line-height: 1; + padding: 13px 33px 11px; + padding: 1.3rem 3.3rem 1.1rem; + text-transform: uppercase; + vertical-align: top; +} +button:hover, +html input[type="button"]:hover, +input[type="reset"]:hover, +input[type="submit"]:hover, +button:focus, +html input[type="button"]:focus, +input[type="reset"]:focus, +input[type="submit"]:focus { + background-color: #41a62a; + cursor: pointer; +} +button:active, +html input[type="button"]:active, +input[type="reset"]:active, +input[type="submit"]:active { + background-color: #5FF23D; + box-shadow: inset 0 0 8px 2px rgba(0, 0, 0, 0.2), 0 1px 0 0 rgba(0, 0, 0, 0.2); +} +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ + padding: 0; /* Addresses excess padding in IE8/9 */ +} +input[type="search"] { + -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ + box-sizing: content-box; +} +input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ + -webkit-appearance: none; +} +button::-moz-focus-inner, +input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ + border: 0; + padding: 0; +} +input[type="text"], +input[type="email"], +input[type="password"], +textarea { + border: 1px solid rgba(0, 0, 0, 0.1); + border-radius: 2px; + -moz-box-sizing: border-box; + box-sizing: border-box; + color: #2b2b2b; +} +input[type="text"]:focus, +input[type="email"]:focus, +textarea:focus { + color: #2b2b2b; +} +input[type="text"], +input[type="email"], +input[type="password"] { + padding: 8px 10px; + padding: 0.8rem 1.0rem; +} +textarea { + overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ + padding: 8px 10px; + padding: 0.8rem 1.0rem; + vertical-align: top; /* Improves readability and alignment in all browsers */ + width: 100%; +} +#searchform input[type="text"] { + width: 100%; +} + +/* Links */ +a { + color: #41a62a; + text-decoration: none; +} +a:hover, +a:focus, +a:active { + color: #5FF23D; +} +/* Animated elements */ +#page a, +.more-link .meta-nav, +.more-formatted-posts-link .meta-nav, +.attachment-featured-featured img, +.attachment-featured-thumbnail img, +.social-links-toggle, +.search-toggle, +button, +html input[type="button"], +input[type="reset"], +input[type="submit"], +#infinite-handle span { + -webkit-transition: all 0.2s ease-out; + -moz-transition: all 0.2s ease-out; + -ms-transition: all 0.2s ease-out; + -o-transition: all 0.2s ease-out; + transition: all 0.2s ease-out; +} + +/* Alignment */ +.alignleft { + display: inline; + float: left; + margin-right: 24px; + margin-right: 2.4rem; +} +.alignright { + display: inline; + float: right; + margin-left: 24px; + margin-left: 2.4rem; +} +.aligncenter { + clear: both; + display: block; + margin: 0 auto; +} + +/* Text meant only for screen readers */ +.assistive-text { + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; +} + +/* Hidden */ +.hide { + display: none; +} + +/* Clearing floats */ +.clearfix:after { + clear: both; +} +.clearfix:before, +.clearfix:after { + display: table; + content: ""; +} + + +/* =Basic Structure +----------------------------------------------- */ + +body { + background-color: #f5f5f5; + text-rendering: optimizeLegibility; +} +#page { + background-color: #fff; + max-width: 1230px; + max-width: 123.0rem; + position: relative; +} +#main { + max-width: 1230px; + max-width: 123.0rem; +} +#primary { + padding-top:24px; + padding-top:2.4rem; +} +#secondary { + background-color: #000; + border-bottom: 1px solid rgba(255, 255, 255, 0.2); + clear: both; + color: rgba(255, 255, 255, 0.55); + padding: 48px 10px 0; + padding: 4.8rem 1.0rem 0; + position: relative; + z-index: 2; +} +#content-sidebar { + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 36px 10px 0; + padding: 3.6rem 1.0rem 0; + position: relative; +} +#supplementary { + background-color: #000; + border-bottom: 1px solid rgba(255, 255, 255, 0.2); + color: #949a92; + padding: 48px 10px 0; + padding: 4.8rem 1.0rem 0; + position: relative; + z-index: 3; +} +#colophon { + background-color: #000; + color: rgba(255, 255, 255, 0.4); + font-size: 12px; + font-size: 1.2rem; + padding: 15px 10px; + padding: 1.5rem 1.0rem; + position: relative; + z-index: 3; +} + + +/* =Header +----------------------------------------------- */ + +#masthead { + background-color: #000; + max-width: 1230px; + max-width: 123.0rem; + position: relative; + width: 100%; + z-index: 3; +} + +/* Fixed Header */ +#masthead.masthead-fixed { + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2); + position: fixed; + top: 0; +} +.admin-bar #masthead.masthead-fixed { + top: 32px; +} + +#site-header { + position: relative; + z-index: 3; +} +.header-main { + margin-right: 48px; + margin-right: 4.8rem; + min-height: 48px; + min-height: 4.8rem; + padding-left: 10px; + padding-left: 1.0rem; +} +.header-extra { + background-color: #41a62a; + float: right; +} +.site-title { + display: inline-block; + float: left; + font-size: 18px; + font-size: 1.8rem; + font-weight: 700; + line-height: 48px; + margin: 0; +} +.site-title a { + color: #fff; +} +#nav-toggle { + background-color: #000; + padding: 16px; + padding: 1.6rem; + position: absolute; + top:0; + right: 0; + line-height: 1; +} +#nav-toggle:before { + content: '\F419'; + color: #fff; +} +#nav-toggle:hover { + cursor: pointer; +} +.social-links-toggle, +.search-toggle { + background-color: #41a62a; + -moz-box-sizing: border-box; + box-sizing: border-box; + color: #fff; + display: block; + float: left; + font-size: 10px; + font-size: 1.0rem; + min-width: 70px; + min-width: 7.0rem; + min-height: 48px; + min-height: 4.8rem; + padding: 0 10px; + padding: 0 1.0rem; + position: relative; + text-align: center; + text-transform: uppercase; +} +.social-links-toggle:hover, +.search-toggle:hover, +.social-links-toggle.active, +.search-toggle.active { + background-color: #35921f +} +.search-toggle { + display: none; +} +.social-links-toggle:hover, +.search-toggle:hover { + cursor: pointer; +} +.social-links-toggle span, +.search-toggle span { + display: inline-block; + padding: 25px 0 0 0; + padding: 2.5rem 0 0 0; +} +.social-links-toggle span:before, +.search-toggle span:before { + color: #fff; + margin-left: -8px; + margin-left: -0.8rem; + position: absolute; + top: 9px; + top: 0.9rem; + left: 50%; +} +.social-links-toggle span:before { + content: '\F107'; +} +.search-toggle span:before { + content: '\F400'; +} +.social-links-wrapper, +.search-box-wrapper { + -moz-box-sizing: border-box; + box-sizing: border-box; + position: absolute; + width: 100%; + z-index: 2; +} +.social-links { + background-color: #35921f; + list-style: none; + margin: 0; + padding-top: 8px; + padding-top: 0.8rem; +} +.social-links li { + display: block; + float: right; + margin: 0 10px 8px 0; + margin: 0 1.0rem 0.8rem 0; + width: 32px; + width: 3.2rem; + height: 32px; + height: 3.2rem; +} +.social-links a { + background-color: rgba(255,255,255,0.2); + border-radius: 2px; + color: #fff; + display: inline-block; + overflow: hidden; + position: relative; + text-align: center; + text-decoration: none; + width: 32px; + width: 3.2rem; + height: 32px; + height: 3.2rem; +} +.social-links li a:hover { + background-color: rgba(0,0,0,0.2); +} +.social-links a:before { + line-height: 2; +} +.email-link a:before { + content: '\f410'; +} +.facebook-link a:before { + content: '\f203'; +} +.twitter-link a:before { + content: '\f202'; +} +.google-link a:before { + content: '\f206'; +} +.pinterest-link a:before { + content: '\f210'; +} +.linkedin-link a:before { + content: '\f208'; +} +.flickr-link a:before { + content: '\f211'; +} +.github-link a:before { + content: '\f200'; +} +.dribbble-link a:before { + content: '\f201'; +} +.vimeo-link a:before { + content: '\f212'; +} +.youtube-link a:before { + content: '\f213'; +} +.search-box { + background-color: #35921f; +} +.search-box #searchform input[type="text"] { + background-color: #fff; + float: right; + font-size: 13px; + font-size: 1.3rem; + margin: 12px 10px; + margin: 1.2rem 1.0rem; + padding: 3px 6px; + padding: 0.3rem 0.6rem; + width: 326px; + width: 32.6rem; +} + + +/* =Menu +----------------------------------------------- */ + +/* Primary Navigation */ +.primary-navigation { + display: none; + float: right; + font-size: 11px; + font-size: 1.1rem; + font-weight: 700; + line-height: 1.6363636363; + margin: 0 10px 0 -10px; + margin: 0 1.0rem 0 -1.0rem; + text-transform: uppercase; +} +.primary-navigation ul { + list-style: none; + margin: 0; + padding-left: 0; +} +.primary-navigation li { + -moz-box-sizing: border-box; + box-sizing: border-box; + display: inline-block; + height: 48px; + height: 4.8rem; + line-height: 48px; + line-height: 4.8rem; + position: relative; +} +.primary-navigation a { + color: #fff; + display: inline-block; + padding: 0 10px; + padding: 0 1.0rem; + text-decoration: none; +} +.primary-navigation ul ul { + background-color: rgba(0, 0, 0, 0.9); + display: none; + float: left; + position: absolute; + top: 48px; + top: 4.8rem; + left: 0; + z-index: 99999; +} +.primary-navigation li li { + display: block; + height: auto; + line-height: 1.6363636363; +} +.primary-navigation ul ul ul { + left: 100%; + top: 0; +} +.primary-navigation ul ul a { + padding: 9px 12px; + padding: 0.9rem 1.2rem; + width: 148px; + width: 14.8rem; +} +.primary-navigation ul ul li { +} +.primary-navigation li:hover > a { + background-color: #2b2b2b; +} +.primary-navigation li li:hover > a { + background-color: #000; +} +.primary-navigation ul ul a:hover { + color: #41a62a; +} +.primary-navigation ul li:hover > ul { + display: block; +} +.primary-navigation li.current_page_item > a, +.primary-navigation li.current-menu-item > a { + color: #5FF23D; +} + +/* Secondary Navigation */ +.secondary-navigation { + border-bottom: 1px solid rgba(255, 255, 255, 0.4); + font-size: 14px; + font-size: 1.4rem; + margin-bottom: 48px; + margin-bottom: 4.8rem; +} +.secondary-navigation a { + display: block; + color: #fff; + font-weight: 700; + padding: 7px 0 7px; + padding: 0.7rem 0 0.7rem; + text-transform: uppercase; +} +.secondary-navigation a:hover { + color: #5FF23D; +} +.secondary-navigation ul { + list-style: none; + margin: 0; +} +.secondary-navigation ul ul { + margin: 0 0 0 20px; + margin: 0 0 0 2.0rem; +} +.secondary-navigation li { + border-top: 1px solid rgba(255, 255, 255, 0.4); +} +.secondary-navigation li li { + border-top: 1px solid rgba(255, 255, 255, 0.2); +} +#secondary .current_page_item > a, +#secondary .current-menu-item > a { + color: #5FF23D; +} + +/* Mobile Navigations */ +#mobile-navigations { + margin-top: 1px; + margin-top: 0.1rem; +} +.mobile-navigation { + background-color: #000; + -moz-box-sizing: border-box; + box-sizing: border-box; + font-size: 14px; + font-size: 1.4rem; + font-weight: 700; + padding: 24px 10px 0; + padding: 2.4rem 1.0rem 0; + text-transform: uppercase; +} +.mobile-navigation ul { + list-style: none; + margin: 0; +} +.mobile-navigation li { + border-top: 1px solid rgba(255, 255, 255, 0.4); +} +.mobile-navigation li li { + border-top: 1px solid rgba(255, 255, 255, 0.2); +} +.mobile-navigation ul ul li { + margin-left: 15px; + margin-left: 1.5rem; +} +.mobile-navigation a { + color: rgba(255, 255, 255, 1); + display: block; + padding: 7px 0 7px; + padding: 0.7rem 0 0.7rem; + text-decoration: none; +} +.mobile-navigation a:hover { + color: rgba(255, 255, 255, 0.7) +} + + +/* =Content +----------------------------------------------- */ + +.sticky .entry-date { + display: none; +} +.hentry { + margin-bottom: 24px; + margin-bottom: 2.4rem; + max-width: 672px; + max-width: 67.2rem; +} +.attachment-featured-thumbnail { + background: #8c8c8c url(images/pattern.png) repeat 0 0; + background-size: 5px 5px; + display: block; + float: none; + margin: 0; + min-height: 180px; + min-height: 18.0rem; + position: relative; + width: 100%; + height: auto; + z-index: 0; +} +.entry-header { + position: relative; + z-index: 1; +} +.entry-title { + clear: none; + font-size: 15px; + font-size: 1.5rem; + font-weight: 900; + line-height: 18px; + line-height: 1.8rem; + margin: 0 0 6px 0; + margin: 0 0 0.6rem 0; +} +.entry-title a { + color: #2b2b2b; +} +.entry-title a:hover { + color: #41a62a; +} +.entry-meta { + clear: both; + color: #8c8c8c; + font-size: 12px; + font-size: 1.2rem; + font-weight:400; + line-height: 1.3333333333; +} +.entry-meta a { + color: #8c8c8c; +} +.entry-meta a:hover { + color: #2b2b2b; +} +.cat-links { + font-weight: 900; + text-transform: uppercase; +} +.cat-links a { + color: #2b2b2b; +} +.cat-links a:hover { + color: #41a62a; +} +.byline { + display: none; +} +.single .byline, +.group-blog .byline { + display: inline; +} +.post-formatted-posts .entry-title:after, +#primary span + span.entry-date:before, +span + .byline:before, +span + .comments-link:before, +span + .edit-link:before, +.full-size-link:before, +.parent-post-link:before { + content: '\0020\007c\0020'; +} +.entry-content, +.entry-summary { + position: relative; + z-index: 2; +} +.entry-content a { + text-decoration: underline; +} +.entry-content table, +.comment-content table { + border: 1px solid rgba(0, 0, 0, 0.1); + border-width: 1px 0 1px 1px; + font-size: 14px; + font-size: 1.4rem; + line-height: 1.2857142857; + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +.entry-content th, +.comment-content th { + border-right: 1px solid rgba(0, 0, 0, 0.1); + font-weight: 700; + padding: 8px; + padding: 0.8rem; + text-transform: uppercase; +} +.entry-content td, +.comment-content td { + border-top: 1px solid rgba(0, 0, 0, 0.1); + border-right: 1px solid rgba(0, 0, 0, 0.1); + padding: 8px; + padding: 0.8rem; +} +.entry-content .video-player, +.entry-content .PDS_Poll { + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +footer.entry-meta { + margin-bottom: 36px; + margin-bottom: 3.6rem; +} + +/* #primary specific styles */ +#primary .entry-header { + background-color: #fff; + padding: 24px 10px 12px; + padding: 2.4rem 1.0rem 1.2rem; +} +#primary .entry-title { + font-size: 33px; + font-size: 3.3rem; + font-weight: 300; + line-height: 1.0909090909; + margin-bottom: 12px; + margin-bottom: 1.2rem; + text-transform: uppercase; +} +#primary .entry-meta { + background-color: #fff; + margin-bottom: 8px; + margin-bottom: 0.8rem; + text-transform: uppercase; +} +#primary .entry-content, +#primary .entry-summary { + background-color: #fff; + padding: 12px 10px 0; + padding: 1.2rem 1.0rem 0; +} +#primary footer.entry-meta { + margin-top: 12px; + margin-top: 1.2rem; + padding: 0 10px; + padding: 0 1.0rem; +} +#primary footer.entry-meta .entry-meta { + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +#primary footer.entry-meta .entry-title { + font-size: 12px; + font-size: 1.2rem; + font-weight: 400; + line-height: 1.3333333333; + margin-bottom: 8px; + margin-bottom: 0.8rem; + text-transform: none; +} +#primary footer.entry-meta .entry-title a { + color: #8c8c8c; +} +#primary footer.entry-meta .entry-title a:hover { + color: #2b2b2b; +} +#primary .format-aside, +#primary .format-quote, +#primary .format-link, +#primary .format-image, +#primary .format-video { + border-top: 1px solid rgba(0, 0, 0, 0.1); +} +#primary .format-aside .entry-header .entry-title, +#primary .format-quote .entry-header .entry-title, +#primary .format-link .entry-header .entry-title { + display: none; +} +#primary .format-aside .entry-content, +#primary .format-aside .entry-summary, +#primary .format-quote .entry-content, +#primary .format-quote .entry-summary, +#primary .format-link .entry-content, +#primary .format-link.entry-summary { + padding-top: 0; +} + +/* Single specific styles */ +.single #primary .format-aside .entry-header, +.single #primary .format-quote .entry-header, +.single #primary .format-link .entry-header, +.single #primary .format-image .entry-header, +.single #primary .format-video .entry-header { + padding-top: 0; +} +.single #primary .format-aside, +.single #primary .format-quote, +.single #primary .format-link, +.single #primary .format-image, +.single #primary .format-video { + border-top: none; +} + +/* Page specific styles */ +.page #primary .entry-header, +.error404 #primary .entry-header, +.single-attachment #primary .entry-header, +.page #primary .entry-content, +.error404 #primary .entry-content, +.single-attachment #primary .entry-content { + padding-top: 0; +} +.single-attachment #primary footer.entry-meta { + text-transform: none; +} +.more-link, +.more-formatted-posts-link { + font-size: 14px; + font-size: 1.4rem; + text-transform: uppercase; + white-space: pre; +} +.more-link:hover, +.more-formatted-posts-link:hover { + text-decoration: none; +} +.more-link .meta-nav, +.more-formatted-posts-link .meta-nav { + position: relative; + left: 0; +} +.more-link:hover .meta-nav, +.more-formatted-posts-link:hover .meta-nav { + left: 5px; + left: 0.5rem; +} +.page-links { + clear: both; + font-size: 12px; + font-size: 1.2rem; + font-weight: 900; + line-height: 2; + margin: 0 0 24px; + margin: 0 0 2.4rem; + text-transform: uppercase; +} +.page-links a, +.page-links > span { + background: #fff; + border: 1px solid #fff; + border-radius: 2px; + display: inline-block; + margin: 0 1px 2px 0; + text-align: center; + width: 22px; + height: 22px; +} +.page-links a { + background: #000; + border: 1px solid #000; + color: #fff; + text-decoration: none; +} +.page-links a:hover { + background: #41a62a; + border: 1px solid #41a62a; +} +.page-links > span.page-links-title { + margin: 0; + padding-right: 9px; + width: auto; + height: auto; +} +#page .tag-links a { + -webkit-transition: all 0s ease-out; + -moz-transition: all 0s ease-out; + -ms-transition: all 0s ease-out; + -o-transition: all 0s ease-out; + transition: all 0s ease-out; +} +.tag-links a { + background-color: #8c8c8c; + border-radius: 0 2px 2px 0; + color: #fff; + display: inline-block; + font-size: 11px; + font-size: 1.1rem; + font-weight: 700; + line-height: 1.2727272727; + margin: 0 4px 4px 10px; + margin: 0 0.4rem 0.4rem 1.0rem; + padding: 3px 7px; + padding: 0.3rem 0.7rem; + position: relative; + text-transform: uppercase; +} +.tag-links a:hover { + background-color: #2b2b2b; + color: #fff; + text-decoration: none; +} +.tag-links a:before { + border-top: 10px solid transparent; + border-right: 8px solid #8c8c8c; + border-bottom: 10px solid transparent; + content: ''; + position: absolute; + top: 0; + left: -8px; + left: -0.8rem; + width: 0; + height: 0; +} +/* For Firefox to avoid jagged edge */ +@-moz-document url-prefix() { + .tag-links a:before { + border-right: 10px solid #8c8c8c; + left: -10px; + left: -1.0rem; + } +} +.tag-links a:hover:before { + border-right-color: #2b2b2b; +} +.tag-links a:after { + background-color: #fff; + border-radius: 50%; + content: ''; + position: absolute; + top: 8px; + top: 0.8rem; + left: -2px; + left: -0.2rem; + width: 4px; + width: 0.4rem; + height: 4px; + height: 0.4rem; +} +.page-header { + margin: 0 0 24px; + margin: 0 0 2.4rem; + padding: 0 10px; + padding: 0 1.0rem; +} +.page-title { + font-size: 16px; + font-size: 1.6rem; + font-weight: 900; + line-height: 1.5; + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +.taxonomy-description p { + color: #8c8c8c; + font-size: 12px; + font-size: 1.2rem; + line-height: 1.5; + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.taxonomy-description p:last-child { + margin: 0; +} +.entry-content .edit-link { + clear:both; + display: block; +} + + +/* =Front Page +----------------------------------------------- */ + +.front-page-content-wrapper { + width: 100%; +} +.front-page-content-area { + max-width: 1230px; + max-width: 123.0rem; +} + + +/* =Featured Content +----------------------------------------------- */ + +#featured-content { + background: #000 url(images/pattern-dark.png) repeat 0 0; + background-size: 5px 5px; + -moz-box-sizing: border-box; + box-sizing: border-box; + width: 100%; +} +#featured-content .hentry { + color: #fff; + margin: 0; + padding: 0; + position: relative; + width: 100%; +} +.attachment-featured-featured { + background-color: #2b2b2b; + display: block; + min-height: 168px + min-height: 16.8rem +} +.attachment-featured-featured:hover img { + opacity: 0.8; +} +#featured-content .entry-wrap { + background-color: #000; + overflow: hidden; + padding: 12px 10px; + padding: 1.2rem 1.0rem; +} +#featured-content .entry-meta a, +#featured-content .entry-title a { + color: #fff; +} +#featured-content .entry-meta a:hover, +#featured-content .entry-title a:hover { + color: #5FF23D; +} +#featured-content .entry-meta { + font-size: 11px; + font-size: 1.1rem; + font-weight: 700; + line-height: 1.0909090909; +} +#featured-content .cat-links { + font-weight: 700; +} +#featured-content .entry-title { + font-size: 18px; + font-size: 1.8rem; + font-weight: 300; + line-height: 1.3333333333; + margin-bottom: 0; + text-transform: uppercase; +} +#featured-content .entry-summary { + background-color: transparent; + color: rgba(255, 255, 255, 0.75); + padding-bottom: 12px; + padding-bottom: 1.2rem; +} +#featured-content .entry-summary p { + font-size: 11px; + font-size: 1.1rem; + line-height: 1.6363636363; + margin-top: 9px; + margin-top: 0.9rem; + margin-bottom: 0; +} +#featured-content .more-link { + color: #5FF23D; + font-size: 11px; + font-size: 1.1rem; +} + + +/* =Post Formatted posts column +----------------------------------------------- */ + +.post-formatted-posts { + border-top: 1px solid rgba(0, 0, 0, 0.1); + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + -moz-box-sizing: border-box; + box-sizing: border-box; + clear: both; + padding: 23px 10px 0; + padding: 2.3rem 1.0rem 0; +} +.post-formatted-posts .format-title { + border-top: 5px solid #000; + color: #2b2b2b; + font-size: 14px; + font-size: 1.4rem; + font-weight: 900; + line-height: 1.2857142857; + margin-bottom: 18px; + margin-bottom: 1.8rem; + padding-top: 1px; + text-transform: uppercase; +} +.post-formatted-posts .entry-content a { + word-wrap: break-word; +} +.format-title:before { + background-color: #000; + color: #fff; + margin-top: -1px; + margin-right: 10px; + margin-right: 1.0rem; + padding: 6px 0 9px; + padding: 0.6rem 0 0.9rem; + text-align: center; + vertical-align: middle; + width: 36px; + width: 3.6rem; +} +.recent-videos .format-title:before { + content: '\F104'; +} +.recent-images .format-title:before { + content: '\F102'; +} +.recent-galleries .format-title:before { + content: '\F103'; +} +.recent-asides .format-title:before { + content: '\F101'; +} +.recent-quotes .format-title:before { + content: '\F106'; +} +.recent-links .format-title:before { + content: '\F107'; +} +.post-formatted-posts .hentry { + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.post-formatted-posts .hentry:last-of-type { + margin-bottom: 9px; + margin-bottom: 0.9rem; +} +.post-formatted-posts .entry-title { + display: inline; + font-size: 12px; + font-size: 1.2rem; + font-weight: 400; + line-height: 1.5; + margin: 0 0 6px 0; + margin: 0 0 0.6rem 0; +} +.post-formatted-posts .entry-meta { + color: rgba(0, 0, 0, 0.2); + line-height: 1.5; + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.post-formatted-posts .entry-meta a { + color: #8c8c8c; +} +.post-formatted-posts .entry-meta a:hover { + color: #2b2b2b; +} +.post-formatted-posts .entry-content p:not(.wp-caption-text) { + font-size: 13px; + font-size: 1.3rem; + line-height: 1.3846153846; + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.post-formatted-posts .entry-content blockquote p cite { + font-size: 13px; + font-size: 1.3rem; + line-height: 1.3846153846; +} +.post-formatted-posts .wp-caption { + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.post-formatted-posts .wp-caption-text { + line-height: 1.5; + margin: 6px 0 0; + margin: 0.6rem 0 0; + padding: 0; +} +.post-formatted-posts .format-gallery .wp-caption-text { + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.post-formatted-posts .more-link { + font-size: 12px; + font-size: 1.2rem; + line-height: 1.5; +} +.post-formatted-posts .more-formatted-posts-link { + display: inline-block; + font-size: 12px; + font-size: 1.2rem; + font-weight: 900; + line-height: 1.5; + margin-bottom: 36px; + margin-bottom: 3.6rem; +} + + +/* =404 Page +----------------------------------------------- */ + +.error404 .entry-content #searchform { + margin-bottom: 36px; + margin-bottom: 3.6rem; +} +.error404 .entry-content .widget-title, +.error404 .entry-content .widgettitle { + border-top: 5px solid #000; + color: #2b2b2b; + padding-top: 7px; + padding-top: 0.7rem; +} + + +/* =Media +----------------------------------------------- */ + +#site-header img, +.attachment-featured-thumbnail-large, +.entry-content img, +.comment-content img, +.widget img { + max-width: 100%; + vertical-align: middle; +} +#site-header img, +.entry-content img, +.attachment-featured-thumbnail-large, +img[class*="align"], +img[class*="wp-image-"], +.widget img { + height: auto; +} +#site-header img, +.entry-content img, +img.size-full, +img.size-large, +img.wp-post-image { + max-width: 100%; + height: auto; +} +.attachment-featured-featured img, +.attachment-featured-thumbnail img { + height: auto; + max-width: 100%; + vertical-align: middle; +} +img.alignleft, +.wp-caption.alignleft { + margin: 7px 24px 7px 0; + margin: 0.7rem 2.4rem 0.7rem 0; +} +img.alignright, +.wp-caption.alignright { + margin: 7px 0 7px 24px; + margin: 0.7rem 0 0.7rem 2.4rem; +} +img.aligncenter, +.wp-caption.aligncenter { + margin-top: 7px; + margin-top: 0.7rem; + margin-bottom: 7px; + margin-bottom: 0.7rem; +} +.entry-content img.wp-smiley, +.comment-content img.wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} +.wp-caption { + margin-bottom: 24px; + margin-bottom: 2.4rem; + max-width: 100%; +} +.wp-caption img[class*="wp-image-"] { + display: block; + height: auto; + margin: 0; + max-width: 100%; +} +.wp-caption-text { + -moz-box-sizing: border-box; + box-sizing: border-box; + font-size: 12px; + font-size: 1.2rem; + font-style: italic; + line-height: 1.6666666666; + margin: 4px 0; + margin: 0.4em 0; + padding: 0 10px 0 0; /* Avoid the caption to overflow the width of the image because wp-caption has 10px wider width */ + padding: 0 1.0rem 0 0; + text-align: left; +} +#content .gallery a img { + border: none; + height: auto; + vertical-align: middle; /* Remove a little margin bottom */ +} +.site-content .gallery .gallery-icon { + line-height: 1; /* Remove a little margin bottom */ +} +#content .gallery .gallery-item { + margin: 0 0 12px 0; + margin: 0 0 1.2rem 0; +} +#content .gallery { + margin-bottom: 12px; + margin-bottom: 1.2rem; +} +.site-content .gallery dd { + margin: 4px 0 0 0; /* Reset the margin and add a bit of margin-top to captions */ + margin: 0.4rem 0 0 0; +} +.gallery-caption { + padding: 0; +} +.gallery-item .wp-caption-text { + text-align: center; +} +.hentry .tiled-gallery { + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +.site-content .gallery-columns-1 a img { + max-width: 100%; +} +.site-content .gallery-columns-2 a img { + max-width: 96%; +} +.site-content .gallery-columns-3 a img { + max-width: 94%; +} +.site-content .gallery-columns-4 a img { + max-width: 92%; +} +.site-content .gallery-columns-5 a img { + max-width: 90%; +} +.site-content .gallery-columns-6 a img, +.site-content .gallery-columns-7 a img, +.site-content .gallery-columns-8 a img, +.site-content .gallery-columns-9 a img { + max-width: 88%; +} +.entry-attachment .attachment { + margin-bottom: 24px; + margin-bottom: 2.4rem; +} + +/* Make sure embeds and iframes fit their containers */ +embed, +iframe, +object, +video { + margin-bottom: 24px; + margin-bottom: 2.4rem; + max-width: 100%; +} +p > embed, +p > iframe, +p > object, +span > embed, +span > iframe, +span > object { + margin-bottom: 0; +} + + +/* =Navigation +----------------------------------------------- */ + +.paging-navigation { + border-top: 1px solid rgba(0, 0, 0, 0.1); + margin: 36px 0; + margin: 3.6rem 0; +} +.paging-navigation .loop-pagination { + margin-top: -1px; + margin-top: -0.1rem; + text-align: center; +} +.paging-navigation .page-numbers { + border-top: 1px solid transparent; + display: inline-block; + font-size: 12px; + font-size: 1.2rem; + font-weight: 900; + margin-right: 5px; + margin-right: 0.5rem; + padding: 9px 15px; + padding: 0.9rem 1.5rem; + text-transform: uppercase; +} +.paging-navigation .page-numbers.current { + border-top: 1px solid #41a62a; + color: #41a62a; +} +.paging-navigation a { + color: #2b2b2b; +} +.paging-navigation a:hover { + background-color: #f5f5f5; + border-top: 1px solid #000; +} +.post-navigation, +#image-navigation { + border-top: 1px solid rgba(0, 0, 0, 0.1); + margin: 24px 0 0; + margin: 2.4rem 0 0; +} +.post-navigation .nav-previous, +.post-navigation .nav-next, +#image-navigation .previous-image, +#image-navigation .next-image { + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + -moz-box-sizing: border-box; + box-sizing: border-box; + float: none; + padding: 11px 10px; + padding: 1.1rem 1.0rem; + text-align: left; + width: 100%; +} +.post-navigation .nav-next { + margin: 0; +} +.post-navigation .meta-nav { + color: #8c8c8c; + display: block; + font-size: 12px; + font-size: 1.2rem; + line-height: 2; + font-weight: 900; + text-transform: uppercase; +} +.site-content .post-navigation a, +.site-content #image-navigation a { + color: #2b2b2b; + display: block; + font-size: 14px; + font-size: 1.4rem; + font-weight: 700; + line-height: 1.7142857142; + text-transform: none; +} +.site-content .post-navigation a:hover, +.site-content #image-navigation a:hover { + background-color: rgba(0, 0, 0, 0.01); + color: #41a62a; +} +.comment-navigation { + color: rgba(0, 0, 0, 0.2); + font-size: 12px; + font-size: 1.2rem; + line-height: 2; + margin-bottom: 48px; + margin-bottom: 4.8rem; + padding-left: 10px; + padding-left: 1.0rem; + text-transform: uppercase; +} +.comment-navigation .nav-previous, +.comment-navigation .nav-next { + display: inline-block; +} +.comment-navigation .nav-previous a { + margin-right: 10px; +} +#comment-nav-above { + margin-top: 36px; + margin-top: 3.6rem; + margin-bottom: 0; +} + + +/* =Comments +----------------------------------------------- */ + +#comments { + margin-top: 36px; + margin-top: 3.6rem; +} +.comments-title, +#reply-title { + font-size: 16px; + font-size: 1.6rem; + font-weight: 900; + line-height: 1.5; + margin-bottom: 0; + padding: 0 10px; + padding: 0 1.0rem; + text-transform: uppercase; +} +#respond #commentform { + background: #fff; + padding: 0 10px; + padding: 0 1.0rem; +} +.commentlist { + list-style: none; + margin: 0 0 48px 0; + margin: 0 0 4.8rem 0; +} +.comment-meta, +.comment-author { + font-size: 14px; + font-size: 1.4rem; + line-height: 1.7142857142; +} +.comment-author cite { + font-weight: 900; + text-transform: uppercase; +} +.comment-author a { + color: #2b2b2b; +} +.comment-meta a, +.commentlist li.trackback a, +.commentlist li.pingback a { + color: #8c8c8c; +} +.comment-author a:hover, +.comment-meta a:hover, +.commentlist li.trackback a:hover, +.commentlist li.pingback a:hover { + color: #41a62a; + text-decoration: none; +} +.comment-edit-link:before, +.comment-reply-link:before { + color: rgba(0, 0, 0, 0.2); + content: '\007c\0020'; +} +.comments-area article, +.commentlist li.trackback, +.commentlist li.pingback { + border-top: 1px solid rgba(0, 0, 0, 0.1); + margin-bottom: 24px; + margin-bottom: 2.4rem; + padding: 24px 10px 0; + padding: 2.4rem 1.0rem 0; +} +.commentlist li:first-child article { + border: none; +} +.comments-area article { + background: none; + min-height: 48px; + min-height: 4.8rem; + position: relative; +} +.comment-author { + padding-left: 36px; + padding-left: 3.6rem; + position: relative; +} +.comment-author .comment-author-avatar { + border: 1px solid rgba(0, 0, 0, 0.1); + padding: 2px; + padding: 0.2rem; + position: absolute; + top: 3px; + top: 0.3rem; + left: 0; + width: 22px; + width: 2.2rem; + height: 22px; + height: 2.2rem; +} +.bypostauthor > article .comment-author .comment-author-avatar { + background-color: #41a62a; +} +.comment-author cite { + font-style: normal; +} +.comment-author .avatar { + position: absolute; + top: 2px; + top: 0.2rem; + left: 2px; + left: 0.2rem; + width: 22px; + width: 2.2rem; + height: 22px; + height: 2.2rem; +} +.comment-meta, +.comment-content { + padding-left: 36px; + padding-left: 3.6rem; +} +.comment-content a { + word-wrap: break-word; +} +.comment-content ul, +.comment-content ol { + margin: 0 0 24px 22px; + margin: 0 0 2.4rem 2.2rem; +} +.comment-content ul ul, +.comment-content ol ol, +.comment-content ul ol, +.comment-content ol ul { + margin-bottom: 0; +} +.commentlist .children { + list-style: none; + margin-left: 20px; + margin-left: 2.0rem; +} +.comments-area .children article { + border: none; +} +#comments #respond { + padding: 0; + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +#comments li #respond { + margin-left: 47px; + margin-left: 4.7rem; +} +#comments #respond h3 { + margin-top: 0; + margin-bottom: 24px; + margin-bottom: 2.4rem; +} +.nocomments { + color: #8c8c8c; + font-size: 16px; + font-size: 1.6rem; + font-weight: 900; + line-height: 1.5; + margin-top: 24px; + margin-top: 2.4rem; + padding: 0 10px; + padding: 0 1.0rem; + text-transform: uppercase; +} +#commentform { + padding: 0 10px; + padding: 0 1.0rem; +} +#commentform label { + display: block; +} +#commentform input[type=text] { + width: 100%; +} +.form-allowed-tags { + display: none; +} +#commentform p:last-child { + margin-bottom: 0; +} + +/* =Primary Sidebar +----------------------------------------------- */ + +.site-description { + color: rgba(255, 255, 255, 0.4); + display: none; + font-size: 11px; + font-size: 1.1rem; + font-weight: 400; +} + + +/* =Colophon +----------------------------------------------- */ + +#colophon a { + color: rgba(255, 255, 255, 0.4); +} +#colophon a:hover { + color: #fff; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget-area p { + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.widget-area a { + color: rgba(255, 255, 255, 0.75); +} +.widget-area a:hover { + color: #5FF23D; +} +.widget-area .widget-title, +.widget-area .widget-title a { + color: #fff; +} +.widget { + margin: 0 0 48px; + margin: 0 0 4.8rem; + overflow: hidden; +} +.widget ul, +.widget ol { + list-style: none; + margin: 0; +} +.widget ul ul, +.widget ol ol, +.widget ul ol, +.widget ol ul { + margin: 0 0 0 10px; + margin: 0 0 0 1.0rem; +} +.widget-title, +.widgettitle { + font-size: 14px; + font-size: 1.4rem; + font-weight: 900; + line-height: 1.7142857142; + margin: 0 0 2.4rem 0; + margin: 0 0 24px 0; + text-transform: uppercase; +} +.widget-area button, +.widget-area html input[type="button"], +.widget-area input[type="reset"], +.widget-area input[type="submit"] { + background-color: #41a62a; + font-size: 11px; + font-size: 1.1rem; + padding: 6px 24px; + padding: 0.6rem 2.4rem; +} +.widget-area button:hover, +.widget-area html input[type="button"]:hover, +.widget-area input[type="reset"]:hover, +.widget-area input[type="submit"]:hover, +.widget-area button:focus, +.widget-area html input[type="button"]:focus, +.widget-area input[type="reset"]:focus, +.widget-area input[type="submit"]:focus { + background-color: #35921f; +} +.widget-area button:active, +.widget-area html input[type="button"]:active, +.widget-area input[type="reset"]:active, +.widget-area input[type="submit"]:active { + background-color: #35921f; +} +.widget-area input[type="text"], +.widget-area input[type="email"], +.widget-area input[type="password"], +.widget-area textarea { + background-color: #2b2b2b; + border: 1px solid rgba(255, 255, 255, 0.2); + color: #fff; + max-width: 100%; + padding: 4px; + padding: 0.4rem; +} +.widget select, +.widget iframe { + max-width: 99%; + margin-left: 1px; + margin-left: 0.1rem; +} +.widget div:last-child, +.widget table:last-child, +.widget iframe:last-child, +.widget p:last-child, +#secondary .widget p:last-child, +#content-sidebar .widget p:last-child { + margin-bottom: 0; +} + +/* Authors Widget */ +.widget_authors > ul > li { + list-style: none; + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.widget_authors > ul > li:last-child { + margin-bottom: 0; +} +.widget_authors img { + border-radius: 2; + margin: 0 5px 9px 0; + margin: 0 0.5rem 0.9rem 0; + vertical-align: middle; +} +.widget_authors ul ul { + margin: 0; +} + +/* Author Grid Widget */ +.widget_author_grid .avatar { + max-width: none; +} + +/* Blog Subscription */ +.widget_blog_subscription input[type="text"] { + padding: 4px !important; + padding: 0.4rem !important; +} + +/* Caledar widget*/ +.widget_calendar #wp-calendar a { + display: block; +} +.widget_calendar #wp-calendar tbody a { + background-color: #41a62a; + color: #fff; + display: block; +} +.widget_calendar #wp-calendar tbody a:hover { + background-color: #35921f; +} +.widget_calendar #wp-calendar { + border: 1px solid rgba(255, 255, 255, 0.2); + border-width: 1px 0 1px 1px; + line-height: 2; + margin: 0; +} +.widget_calendar #wp-calendar caption { + color: #fff; + font-weight: 700; + line-height: 1.7142857142; + margin-bottom: 18px; + margin-bottom: 1.8rem; + text-align: left; + text-transform: uppercase; +} +.widget_calendar #wp-calendar thead th, +.widget_calendar #wp-calendar tbody td { + border: 1px solid rgba(255, 255, 255, 0.2); + border-width: 0 1px 1px 0; + text-align: center; +} +.widget_calendar #wp-calendar tfoot td#prev { + padding-left: 5px; + padding-left: 0.5rem; +} +.widget_calendar #wp-calendar tfoot td#next { + border-right: 1px solid rgba(255, 255, 255, 0.2); + padding-right: 5px; + padding-right: 0.5rem; + text-align: right; +} + +/* Cloud Widgets */ +.wp_widget_tag_cloud div, +.widget_tag_cloud div { + word-wrap: break-word; +} + +/* Contact Info Widget */ +.widget_contact_info #contact-map { + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.widget_contact_info #contact-info-map-canvas { + height: 168px; + height: 16.8rem; +} + +/* Flickr Widget (WP.com) */ +.widget_flickr #flickr_badge_uber_wrapper { + margin-top: 4px; + margin-top: 0.4rem; +} +.widget_flickr #flickr_badge_uber_wrapper a:link, +.widget_flickr #flickr_badge_uber_wrapper a:active, +.widget_flickr #flickr_badge_uber_wrapper a:visited { + color: #fff; +} +.widget_flickr #flickr_badge_uber_wrapper a:hover { + color: #5FF23D; +} +.widget_flickr #flickr_badge_wrapper { + background-color: transparent; + border: none; +} + +/* Gravatar Profile widget */ +.widget-area .widget-grofile h4 { + color: rgba(255, 255, 255, 0.75); + font-size: 11px; + font-size: 1.1rem; + line-height: 1.6363636363; + margin: 18px 0 0; + margin: 1.8rem 0 0; + text-transform: uppercase; +} +.widget-grofile .grofile-accounts { + margin-top: 4px; + margin-top: 0.4rem; +} + +/* Milestone Widget */ +.widget-area .milestone-widget .milestone-content { + max-width: 100%; +} +.widget-area .milestone-countdown, +.widget-area .milestone-message { + border-color: rgba(255, 255, 255, 0.1); + border-top: 0; +} +.widget-area .milestone-header, +.widget-area .milestone-countdown, +.widget-area .milestone-message { + background-color: rgba(255, 255, 255, 0.1); + border: 1px solid rgba(255, 255, 255, 0.15); + color: rgba(255, 255, 255, 0.75); +} +.widget-area .milestone-countdown { + background-color: rgba(255, 255, 255, 0.1); +} +.widget-area .milestone-widget { + margin-bottom: 48px; + margin-bottom: 4.8rem; +} +.widget-area .milestone-content { + margin-top: 0; +} + +/* RSS Widget */ +.widget_rss li { + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.widget_rss li:last-child { + margin-bottom: 0; +} + +/* Recent Comments Widget */ +.widget_recent_comments table { + margin-bottom: 0; +} +.widget_recent_comments .avatar { + max-width: none; +} +.widget_recent_comments tr { +} +.widget_recent_comments td.recentcommentsavatartop, +.widget_recent_comments td.recentcommentsavatarend { + padding: 8px 8px 8px 0; + padding: 0.8rem 0.8rem 0.8rem 0; +} +.widget_recent_comments td.recentcommentstexttop, +.widget_recent_comments td.recentcommentstextend { + line-height: 1.2857142857; + padding: 8px 0 8px 8px; + padding: 0.8rem 0 0.8rem 0.8rem; + vertical-align: top; +} + +/* Recent Posts Widget */ +.widget_recent_entries .post-date { + display: block; +} + +/* Search widget */ +#searchsubmit { + display: none; +} + +/* Twitter Widget */ +.widget_twitter li { + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +.widget_twitter li:last-child { + margin-bottom: 0; +} +.widget_twitter li a { + word-wrap: break-word; +} +.widget_twitter iframe { + margin: 18px 0 0; + margin: 1.8rem 0 0; +} + + +/* =Content Sidebar +----------------------------------------------- */ + +#content-sidebar { + color: #8c8c8c; + font-size: 14px; + font-size: 1.4rem; + line-height: 1.2857142857; +} +#content-sidebar p { + margin-bottom: 18px; + margin-bottom: 1.8rem; +} +#content-sidebar a { + color: #2b2b2b; +} +#content-sidebar a:hover { + color: #41a62a; +} +#content-sidebar button, +#content-sidebar html input[type="button"], +#content-sidebar input[type="reset"], +#content-sidebar input[type="submit"] { + background-color: #000; + font-size: 12px; + font-size: 1.2rem; + padding: 6px 24px; + padding: 0.6rem 2.4rem; +} +#content-sidebar button:hover, +#content-sidebar html input[type="button"]:hover, +#content-sidebar input[type="reset"]:hover, +#content-sidebar input[type="submit"]:hover, +#content-sidebar button:focus, +#content-sidebar html input[type="button"]:focus, +#content-sidebar input[type="reset"]:focus, +#content-sidebar input[type="submit"]:focus { + background-color: #41a62a; +} +#content-sidebar button:active, +#content-sidebar html input[type="button"]:active, +#content-sidebar input[type="reset"]:active, +#content-sidebar input[type="submit"]:active { + background-color: #5FF23D; +} +#content-sidebar input[type="text"], +#content-sidebar input[type="email"], +#content-sidebar input[type="password"], +#content-sidebar textarea { + background-color: #fff; + border: 1px solid rgba(0, 0, 0, 0.1); + color: #2b2b2b; + padding: 4px; + padding: 0.4rem; +} +#content-sidebar .widget-title { + border-top: 5px solid #000; + color: #2b2b2b; + font-size: 14px; + font-size: 1.4rem; + font-weight: 900; + margin: 0 0 18px 0; + margin: 0 0 1.8rem 0; + padding-top: 7px; + padding-top: 0.7rem; + text-transform: uppercase; +} +#content-sidebar .widget li { + border-top: 1px solid rgba(0, 0, 0, 0.1); + padding: 8px 0 9px; + padding: 0.8rem 0 0.9rem; +} +#content-sidebar .widget li:first-child { + border-top: none; +} +#content-sidebar .widget .children, +#content-sidebar .widget .sub-menu { + margin:0 0 0 20px; + margin:0 0 0 2.0rem; +} +#content-sidebar .widget li li { + border-top: none; + padding-bottom: 0; +} +#content-sidebar .widget_calendar #wp-calendar, +#content-sidebar .widget_calendar #wp-calendar thead th, +#content-sidebar .widget_calendar #wp-calendar tbody td, +#content-sidebar .widget_calendar #wp-calendar tfoot td#next { + border-color: rgba(0, 0, 0, 0.1); +} +#content-sidebar .widget_calendar #wp-calendar caption { + color: #2b2b2b; + font-size: 14px; + font-size: 1.4rem; + font-weight: 900; +} +#content-sidebar .widget_calendar #wp-calendar thead th { + background-color: rgba(0, 0, 0, 0.02); +} +#content-sidebar .widget_flickr #flickr_badge_uber_wrapper a:link, +#content-sidebar .widget_flickr #flickr_badge_uber_wrapper a:active, +#content-sidebar .widget_flickr #flickr_badge_uber_wrapper a:visited { + color: #2b2b2b; +} +#content-sidebar .widget_flickr #flickr_badge_uber_wrapper a:hover { + color: #41a62a; +} +#content-sidebar .widget-grofile h4 { + color: #2b2b2b; + font-size: 14px; + font-size: 1.4rem; + font-weight: 900; + line-height: 1.2857142857; +} +#content-sidebar .milestone-countdown, +#content-sidebar .milestone-message { + border-color: rgba(255, 255, 255, 0.1); + border-top: 0; +} +#content-sidebar .milestone-header, +#content-sidebar .milestone-countdown, +#content-sidebar .milestone-message { + background-color: #000; + border: 1px solid rgba(0, 0, 0, 0.1); + color: #fff; +} +#content-sidebar .milestone-countdown { + background-color: #fff; + color: #2b2b2b; +} +#content-sidebar .widget_rss li, +#content-sidebar .widget_twitter li { + margin-bottom: 0; +} +#content-sidebar .widget .widgets-multi-column-grid li { + border-top: none; + padding: 0 8px 6px 0; + padding: 0 0.8rem 0.6rem 0; +} + + +/* =Footer Sidebar +----------------------------------------------- */ + +#supplementary .widget-area { + -moz-box-sizing: border-box; + box-sizing: border-box; +} + + +/* =Jetpack +----------------------------------------------- */ + +/* Infinite Scroll */ + +/* Hide elements when IS is in use */ +.infinite-scroll #nav-below, +.infinite-scroll.neverending #colophon { + display: none; +} +.infinite-scroll #content { + margin-bottom: 48px; + margin-bottom: 4.8rem; +} +#infinite-handle { + margin-top: 48px; + margin-top: 4.8rem; + text-align: center; +} +#infinite-handle span { + background-color: #000; + border: 0; + border-radius: 2px; + color: #fff; + font-weight: 700; + font-size: 12px; + font-size: 1.2rem; + line-height: 1; + padding: 11px 35px 10px; + padding: 1.1rem 3.5rem 1.0rem; + text-transform: uppercase; +} +#infinite-handle span:before { + color: #fff; +} +#infinite-handle span:hover { + background-color: #41a62a; +} +.infinite-loader { + margin: 48px auto; + margin: 4.8rem auto; + width: 25px; + width: 2.5rem; + height: 24px; + height: 2.4rem; +} +#infinite-footer { + z-index: 10; +} +#infinite-footer .container { + border-width: 1px 1px 0 0; + margin: 0; +} +/* Reset when IS is finished */ +.infinite-scroll.infinity-end #content { + margin-bottom: 0; +} +.infinite-end.neverending #colophon { + display: block; +} + + +/* Sharing */ +#main div.sharedaddy div.sd-block { + border-top: 1px dotted rgba(0, 0, 0, 0.1); +} +#main div.sharedaddy h3.sd-title { + font-size: 11px; + font-size: 1.1rem; + font-family: lato, sans-serif; + text-transform: uppercase; +} +#main div.sharedaddy .sd-like h3.sd-title { + width: 17.875%; +} +.entry-content > .pd-rating .rating-msg { + font-size: 12px; + font-size: 1.2rem; +} + +/* Stats image */ +img#wpstats { + margin-top: -5px; + margin-top: -0.5rem; + position: absolute +} + +/* Subscription */ +.jetpack_subscription_widget input[type="text"] { + padding: 4px !important; + width: 100% !important; +} +.comment-subscription-form { + margin-bottom: 0; +} + + +/* =WP.com +----------------------------------------------- */ + +/* Prevent stats images to break the layout */ +img[src^="http://botd"] { + position: absolute; +} + +/* Corrects line number misalignemnt in GitHub Gist embeds */ +.gist .gist-file .gist-data .line-numbers span { + line-height: 1.7142857142; +} +.entry-content .gist table { + margin-bottom: 0; +} + + +/* =Media Queries +----------------------------------------------- */ + +/* Mobile list style */ +@media screen and (max-width: 400px) { + .list-view #primary { + padding: 12px 10px; + padding: 1.2rem 1.0rem; + } + .list-view #primary .hentry { + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + margin-bottom: 12px; + margin-bottom: 1.2rem; + min-height: 60px; + min-height: 6.0rem; + padding-bottom: 9px; + padding-bottom: 0.9rem; + } + .list-view #primary .cat-links, + .list-view #primary .entry-content, + .list-view #primary .entry-summary, + .list-view #primary footer.entry-meta { + display: none; + } + .list-view .attachment-featured-thumbnail { + background: none; + min-height: 0; + width: auto; + z-index: 2; + } + .list-view .attachment-featured-thumbnail img { + float: left; + margin: 0 10px 3px 0; + margin: 0 1.0rem 0.3rem 0; + width: 84px; + width: 8.4rem; + } + .list-view #primary .entry-header { + background-color: transparent; + padding: 0; + } + .list-view #primary .entry-title { + font-size: 15px; + font-size: 1.5rem; + font-weight: 900; + line-height: 1.2; + margin-bottom: 6px; + margin-bottom: 0.6rem; + text-transform: none; + + } + .list-view #primary .entry-meta { + background-color: transparent; + clear: none; + margin: 0; + text-transform: none; + } + .list-view #primary .format-aside, + .list-view #primary .format-quote, + .list-view #primary .format-link, + .list-view #primary .format-image, + .list-view #primary .format-video { + border-top: 0; + } + .list-view #primary .format-aside .entry-header .entry-title, + .list-view #primary .format-quote .entry-header .entry-title, + .list-view #primary .format-link .entry-header .entry-title { + display: block; + } +} + +/* Enable Genricons */ +@media screen and (min-width: 400px) { + a.attachment-featured-thumbnail:hover img { + opacity: 0.8 + } + #primary span + span.entry-date:before, + #primary span + .byline:before, + #primary span + .comments-link:before, + #primary span + .edit-link:before, + .full-size-link:before, + .parent-post-link:before { + content: ''; + } + #primary .featured-post:before, + #primary .post-format a:before, + #primary .post-format + span.entry-date a:before, + #primary span.entry-date a:before, + #primary .byline a:before, + #primary .comments-link a:before, + #primary .edit-link a:before, + .attachment span.entry-date:before, + #primary .full-size-link a:before, + #primary .parent-post-link a:before { + display: inline-block; + -webkit-font-smoothing: antialiased; + font: normal 16px/1 'Genericons'; + font-size:1.6rem; + margin: 0 2px 0 0; + margin: 0 0.2rem 0 0; + text-transform: none; + vertical-align: top; + } + #primary .entry-meta > span { + margin-right: 10px; + margin-right: 1.0rem; + } + #primary .format-video .post-format a:before { + content: '\F104'; + margin: -1px 2px 0 0; + margin: -0.1rem 0.2rem 0 0; + } + #primary .format-image .post-format a:before { + content: '\F102'; + margin: -1px 2px 0 0; + margin: -0.1rem 0.2rem 0 0; + } + #primary .format-quote .post-format a:before { + content: '\F106'; + } + #primary .format-gallery .post-format a:before { + content: '\F103'; + margin: -1px 4px 0 0; + margin: -0.1rem 0.4rem 0 0; + } + #primary .format-aside .post-format a:before { + content: '\F101'; + } + #primary .format-link .post-format a:before { + content: '\F107'; + } + #primary .featured-post:before { + content: '\F308'; + margin: -1px 3px 0 0; + margin: -0.1rem 0.3rem 0 0; + } + #primary .post-format + span.entry-date a:before, + #primary span.entry-date a:before, + .attachment span.entry-date:before { + content: '\F303'; + margin: 0 1px 0 0; + margin: 0 0.1rem 0 0; + } + #primary .byline a:before { + content: '\F304'; + margin: -1px 0 0 0; + margin: -0.1rem 0 0 0; + } + #primary .comments-link a:before { + content: '\F300'; + margin: -1px 2px 0 0; + margin: -0.1rem 0.2rem 0 0; + } + #primary .edit-link a:before { + content: '\F411'; + margin: -1px 2px 0 0; + margin: -0.1rem 0.2rem 0 0; + } + #primary .full-size-link a:before { + content: '\F402'; + } + #primary .parent-post-link a:before { + content: '\F301'; + } + .page #primary .edit-link a:before { + margin: 5px 2px 0 0; + margin: 0.5rem 0.2rem 0 0; + } + #infinite-handle { + margin: 48px 10px 0; + margin: 4.8rem 1.0rem 0; + } +} + +/* Post formatted posts and post list start to appear on the right */ +@media screen and (min-width: 672px) { + .search-toggle { + display: block; + } + .social-links-toggle { + border-right: 1px solid rgba(255, 255, 255, 0.4); + } + .social-links-wrapper { + margin: 0; + } + #primary { + float: left; + padding: 36px 0; + padding: 3.6rem 0; + width: 100%; + } + .site-content { + margin: 0 33.33333333% 0 0; + } + #content-sidebar { + float: right; + margin: 0 0 0 -30.35714285%; + padding: 36px 10px 24px 0; + padding: 3.6rem 1.0rem 2.4rem 0; + width: 30.35714285%; + } + .post-formatted-posts { + border: none; + clear: none; + float: right; + margin: 0 0 0 -30.35714285%; + padding: 36px 10px 0 0; + padding: 3.6rem 1.0rem 0 0; + width: 30.35714285%; + } + #featured-content .hentry { + float: left; + width: 50%; + } + #featured-content .hentry:nth-child( 2n+1 ) { + clear: both; + } + #featured-content .entry-wrap { + height: 96px; + height: 9.6rem; + } + .full-width.site-content { + margin: 0; + } + .full-width.site-content .hentry { + max-width: 100%; + } +} + +@media screen and (min-width: 740px) { + #primary .entry-header { + margin: -48px 4.59183673% 0; + margin: -4.8rem 4.59183673% 0; + padding: 24px 4.46428571% 12px; + padding: 2.4rem 4.46428571% 1.2rem; + } + #primary .entry-content, + #primary .entry-summary { + margin: 0 4.59183673%; + padding: 12px 4.46428571% 0; + padding: 1.2rem 4.46428571% 0; + } + #primary footer.entry-meta { + margin: 12px 4.59183673% 24px; + margin: 1.2rem 4.59183673% 2.4rem; + padding: 0 4.46428571%; + } + .page-header { + margin: 0 4.59183673% 24px; + margin: 0 4.59183673% 2.4rem; + padding: 0 4.46428571%; + } + .page #primary .entry-header, + .error404 #primary .entry-header { + margin: 0 4.59183673%; + padding: 0 4.46428571% 12px; + padding: 0 4.46428571% 1.2rem; + } + #primary .full-width .entry-header { + margin: 0 6.04307432%; + padding: 0 0 12px; + padding: 0 0 1.2rem; + } + #primary .full-width .entry-content { + margin: 0 6.04307432%; + padding: 0; + } + #primary .full-width footer.entry-meta { + margin: 0 6.04307432%; + padding: 0; + } + #primary .format-aside .entry-header, + #primary .format-quote .entry-header, + #primary .format-link .entry-header, + #primary .format-video .entry-header, + #primary .format-image .entry-header { + margin-top: 12px; + margin-top: 1.2rem; + } + .single #primary .format-aside .entry-header, + .single #primary .format-quote .entry-header, + .single #primary .format-link .entry-header, + .single #primary .format-image .entry-header, + .single #primary .format-video .entry-header { + margin-top: 0; + } + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback { + margin-bottom: 36px; + margin-bottom: 3.6rem; + padding-top: 36px; + padding-top: 3.6rem; + } + .comment-author { + padding-left: 60px; + padding-left: 6.0rem; + } + .comment-author .comment-author-avatar, + .comment-author .avatar { + width: 32px; + width: 3.2rem; + height: 32px; + height: 3.2rem; + } + .comment-meta, + .comment-content { + padding-left: 60px; + padding-left: 6.0rem; + } + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-right: 9.12778904%; + padding-left: 9.12778904%; + } + #reply-title, + #respond #commentform { + padding: 0; + } + .comment-navigation { + padding-left: 9.12778904%; + } + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-right: 6.04307432%; + padding-left: 6.04307432%; + } + .full-width #reply-title, + .full-width #commentform { + padding: 0; + } + #infinite-handle { + margin: 48px 0 0; + margin: 4.8rem 0 0; + } + #infinite-handle span { + display: inline; + } + #primary .no-results .entry-header { + margin: 0 4.59183673%; + padding: 0 4.46428571%; + } +} + +@media screen and (min-width: 770px) { + .header-main { + margin-right: 0; + } + .primary-navigation { + display: block; + } +} + +@media screen and (min-width: 870px) { + #primary { + padding-top: 72px; + padding-top: 7.2rem; + } + .home #primary { + padding-top: 36px; + padding-top: 3.6rem; + } + #primary .entry-header { + margin-right: 8.03571428%; + margin-left: 12.5%; + } + #primary .entry-content, + #primary .entry-summary { + margin-right: 8.03571428%; + margin-left: 12.5%; + } + #primary footer.entry-meta { + margin: 12px 8.03571428% 24px 12.5%; + margin: 1.2rem 8.03571428% 2.4rem 12.5%; + } + .page #primary .entry-header, + .error404 #primary .entry-header { + margin: 0 8.03571428% 0 12.5%; + } + #primary .full-width .entry-header, + #primary .full-width .entry-content, + #primary .full-width footer.entry-meta { + margin: 0 11.30926724%; + } + .page-header { + margin: 0 8.03571428% 24px 12.5%; + margin: 0 8.03571428% 2.4rem 12.5%; + } + #content-sidebar { + padding-top: 72px; + padding-top: 7.2rem; + } + #featured-content .hentry { + width: 33.3333333%; + } + #featured-content .hentry:nth-child( 2n+1 ) { + clear: none; + } + #featured-content .hentry:nth-child( 3n+1 ) { + clear: both; + } + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-right: 12.39493534%; + padding-left: 17.06896551%; + } + #comments #respond { + padding-right: 13.8900862%; + } + .commentlist, + .full-width .commentlist { + margin-left: -70px; + margin-left: -7.0rem; + } + .comment-navigation { + padding-left: 17.06896551%; + } + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-right: 11.30926724%; + padding-left: 11.30926724%; + } + blockquote.pull.alignleft { + margin-left: -20%; + } + blockquote.pull.alignright { + margin-right: -20%; + } + #primary .no-results .entry-header { + margin-right: 8.03571428%; + margin-left: 12.5%; + } + #primary .no-results .entry-content { + margin-right: 8.03571428%; + margin-left: 12.5%; + } +} + +/* Secondary starts appear on the left */ +@media screen and (min-width: 1008px) { + #page:before { + background-color: #000; + content: ''; + height: 100%; + min-height: 100%; + position: absolute; + top: 0; + left: 0; + width: 222px; + width: 22.2rem; + z-index: 2; + } + .header-main { + padding-left: 27px; + padding-left: 2.7rem; + } + .social-links-wrapper, + .search-box-wrapper { + padding-left: 222px; + padding-left: 22.2rem; + } + .site-content { + margin: 0 27.31707317% 0 222px; + margin: 0 27.31707317% 0 22.2rem; + } + #secondary { + background-color: transparent; + border-bottom: 0; + clear: none; + font-size: 1.1rem; + float: left; + line-height: 1.6363636363; + margin: 0 0 0 -100%; + padding: 0 27px; + padding: 0 2.7rem; + width: 168px; + width: 16.8rem; + } + .site-description { + display: block; + line-height: 1.6363636363; + margin: -3px 0 21px; + margin: -0.3rem 0 2.1rem; + } + .front-page-content-wrapper { + float: left; + } + .site-content { + margin: 0 27.31707317% 0 222px; + margin: 0 27.31707317% 0 22.2rem; + } + #content-sidebar, + .post-formatted-posts { + margin: 0 0 0 -27.31707317%; + width: 24.87804878%; + } + #primary .entry-header { + margin: -48px 4.59183673% 0; + margin: -4.8rem 4.59183673% 0; + padding: 24px 4.46428571% 12px; + padding: 2.4rem 4.46428571% 1.2rem; + } + #primary .entry-content, + #primary .entry-summary { + margin: 0 4.59183673%; + padding: 12px 4.46428571% 0; + padding: 1.2rem 4.46428571% 0; + } + #primary footer.entry-meta { + margin: 12px 4.59183673% 24px; + margin: 1.2rem 4.59183673% 2.4rem; + padding: 0 4.46428571%; + } + .page-header { + margin: 0 4.59183673% 24px; + margin: 0 4.59183673% 2.4rem; + } + #featured-content { + padding-left: 222px; + padding-left: 22.2rem; + } + #colophon { + padding-left: 27px; + padding-left: 2.7rem; + } + .secondary-navigation { + border-bottom: 1px solid rgba(255, 255, 255, 0.2); + font-size: 11px; + font-size: 1.1rem; + } + .secondary-navigation ul, + .secondary-navigation ul ul { + list-style: none; + margin: 0; + } + .secondary-navigation li { + border-top: 1px solid rgba(255, 255, 255, 0.2); + position: relative; + } + .secondary-navigation a { + padding: 8px 0 9px; + padding: 0.8rem 0 0.9rem; + } + .secondary-navigation ul ul { + background: rgba(0, 0, 0, 0.9); + display: none; + position: absolute; + top: -1px; + top: -0.1rem; + left: 168px; + left: 16.8rem; + width: 168px; + width: 16.8rem; + z-index: 9999; + } + .secondary-navigation ul li:hover { + background: #000; + } + .secondary-navigation ul li:hover > ul { + display: block; + } + .page #primary .entry-header, + .error404 #primary .entry-header { + margin: 0 4.59183673%; + padding: 0 4.46428571% 12px; + padding: 0 4.46428571% 1.2rem; + } + .full-width.site-content { + margin-left: 222px; + margin-left: 22.2rem; + } + #primary .full-width .entry-header { + padding: 0 0 12px; + padding: 0 0 1.2rem; + } + #primary .full-width .entry-header, + #primary .full-width .entry-content, + #primary .full-width footer.entry-meta { + margin: 0 5.882236%; + } + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-right: 9.87001616%; + padding-left: 9.19765166%; + } + .commentlist, + .full-width .commentlist { + margin-left: 0; + } + .comment-navigation { + padding-left: 9.19765166%; + } + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-right: 5.882236%; + padding-left: 5.882236%; + } + blockquote.pull.alignleft { + margin-left: 0; + } + blockquote.pull.alignright { + margin-right: 0; + } + #secondary .widget, + #supplementary .widget { + margin-bottom: 48px; + margin-bottom: 4.8rem; + } + #secondary .widget-title, + #supplementary .widget-title { + font-size: 11px; + font-size: 1.1rem; + font-weight: 700; + line-height: 1.6363636363; + margin-bottom: 18px; + margin-bottom: 1.8rem; + } + #supplementary { + font-size: 11px; + font-size: 1.1rem; + line-height: 1.6363636363; + padding-right: 0; + padding-left: 0; + } + #supplementary .widget-area { + float: left; + padding: 0 27px; + padding: 0 2.7rem; + } + #supplementary.one .widget-area { + width: 100%; + } + #supplementary.two .widget-area { + width: 50%; + } + #supplementary.three .widget-area { + width: 33.33333333%; + } + #supplementary.four .widget-area { + width: 25%; + } + #supplementary.five .widget-area { + width: 20%; + } +} + +@media screen and (min-width: 1150px) { + #primary .entry-header { + margin: -48px 8.03571428% 0 12.5%; + margin: -4.8rem 8.03571428% 0 12.5%; + } + #primary .entry-content, + #primary .entry-summary { + margin: 0 8.03571428% 0 12.5%; + } + #primary footer.entry-meta { + margin: 12px 8.03571428% 24px 12.5%; + margin: 1.2rem 8.03571428% 2.4rem 12.5%; + } + .comments-title, + .nocomments, + #comments #respond, + .comments-area article, + .commentlist li.trackback, + .commentlist li.pingback, + .post-navigation .nav-previous, + .post-navigation .nav-next { + padding-right: 12.44146986%; + padding-left: 16.77524429%; + } + #comments #respond { + padding-right: 13.73697916%; + } + .commentlist, + .full-width .commentlist { + margin-left: -70px; + margin-left: -7.0rem; + } + .comment-navigation { + padding-left: 16.77524429%; + } + .page-header { + margin: 0 8.03571428% 24px 12.5%; + margin: 0 8.03571428% 2.4rem 12.5%; + } + .page #primary .entry-header, + .error404 #primary .entry-header { + margin: 0 8.03571428% 0 12.5%; + } + #primary .full-width .entry-header, + #primary .full-width .entry-content, + #primary .full-width footer.entry-meta { + margin: 0 11.21868265%; + } + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-right: 11.21868265%; + padding-left: 11.21868265%; + } + #primary .entry-content .wp-caption.alignleft .wp-caption-text { + padding-left: 10px; + padding-left: 1.0rem; + } + blockquote.pull.alignleft { + margin-left: -20%; + } + blockquote.pull.alignright { + margin-right: -20%; + } +} + +@media screen and (min-width: 1230px) { + #page, + #masthead, + .home #main { + max-width: 1260px; + max-width: 126.0rem; + } + #content-sidebar, + .post-formatted-posts { + padding-right: 0; + } + #primary .full-width .entry-header, + #primary .full-width .entry-content, + #primary .full-width footer.entry-meta { + margin: 0 0 0 11.21868265%; + } + #image-navigation .previous-image, + #image-navigation .next-image, + .full-width .comment-navigation, + .full-width .comments-title, + .full-width #comments #respond, + .full-width .comments-area article, + .full-width .commentlist li.trackback, + .full-width .commentlist li.pingback { + padding-right: 0; + } +} \ No newline at end of file