diff options
Diffstat (limited to 'plugins/jetpack/modules/minileven')
24 files changed, 3787 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/minileven/images/wp-app-devices.png b/plugins/jetpack/modules/minileven/images/wp-app-devices.png Binary files differnew file mode 100644 index 00000000..2efefe20 --- /dev/null +++ b/plugins/jetpack/modules/minileven/images/wp-app-devices.png diff --git a/plugins/jetpack/modules/minileven/minileven.php b/plugins/jetpack/modules/minileven/minileven.php new file mode 100644 index 00000000..abfec53d --- /dev/null +++ b/plugins/jetpack/modules/minileven/minileven.php @@ -0,0 +1,344 @@ +<?php + +// ********** modify blog option 'wp_mobile_template' manually to specify a theme (ex. 'vip/cnnmobile') + +// WordPress Mobile Edition +// +// Copyright (c) 2002-2008 Alex King +// http://alexking.org/projects/wordpress +// +// Released under the GPL license +// http://www.opensource.org/licenses/gpl-license.php +// +// ********************************************************************** +// This program is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// ***************************************************************** + +/* +Plugin Name: WordPress Mobile Edition +Plugin URI: http://alexking.org/projects/wordpress +Description: Show a mobile view of the post/page if the visitor is on a known mobile device. Questions on configuration, etc.? Make sure to read the README. +Author: Alex King +Author URI: http://alexking.org +Version: 2.1a-WPCOM +*/ + +$_SERVER['REQUEST_URI'] = ( isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : $_SERVER['SCRIPT_NAME'] . (( isset($_SERVER['QUERY_STRING']) ? '?' . $_SERVER['QUERY_STRING'] : ''))); + +function jetpack_check_mobile() { + if ( ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) || ( defined('APP_REQUEST') && APP_REQUEST ) ) + return false; + if ( !isset($_SERVER["HTTP_USER_AGENT"]) || (isset($_COOKIE['akm_mobile']) && $_COOKIE['akm_mobile'] == 'false') ) + return false; + if ( jetpack_mobile_exclude() ) + return false; + if ( 1 == Jetpack_Options::get_option_and_ensure_autoload( 'wp_mobile_disable', '0' ) ) + return false; + if ( isset($_COOKIE['akm_mobile']) && $_COOKIE['akm_mobile'] == 'true' ) + return true; + + $is_mobile = jetpack_is_mobile(); + + /** + * Filter the Mobile check results. + * + * @module minileven + * + * @since 1.8.0 + * + * @param bool $is_mobile Is the reader on a mobile device. + */ + return apply_filters( 'jetpack_check_mobile', $is_mobile ); +} + +function jetpack_mobile_exclude() { + $exclude = false; + $pages_to_exclude = array( + 'wp-admin', + 'wp-comments-post.php', + 'wp-mail.php', + 'wp-login.php', + 'wp-activate.php', + ); + foreach ( $pages_to_exclude as $exclude_page ) { + if ( strstr( strtolower( $_SERVER['REQUEST_URI'] ), $exclude_page ) ) + $exclude = true; + } + + if ( defined( 'DOING_AJAX' ) && true === DOING_AJAX ) + $exclude = false; + + if ( isset( $GLOBALS['wp_customize'] ) ) + return true; + + return $exclude; +} + +function wp_mobile_get_main_template() { + remove_action( 'option_template', 'jetpack_mobile_template' ); + $template = get_option( 'template' ); + add_action( 'option_template', 'jetpack_mobile_template' ); + return $template; +} + +function wp_mobile_get_main_stylesheet() { + remove_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' ); + $stylesheet = get_option( 'stylesheet' ); + add_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' ); + return $stylesheet; +} + +function jetpack_mobile_stylesheet( $theme ) { + /** + * Filter Jetpack's Mobile stylesheet. + * + * @module minileven + * + * @since 1.8.0 + * + * @param string $theme Theme. + */ + return apply_filters( 'jetpack_mobile_stylesheet', 'pub/minileven', $theme ); +} + +function jetpack_mobile_template( $theme ) { + /** + * Filter Jetpack's Mobile template. + * + * @module minileven + * + * @since 1.8.0 + * + * @param string $theme Theme. + */ + return apply_filters( 'jetpack_mobile_template', 'pub/minileven', $theme ); +} + +function jetpack_mobile_available() { + echo '<div class="jetpack-mobile-link" style="text-align:center;margin:10px 0;"><a href="'. esc_url( home_url( add_query_arg('ak_action', 'accept_mobile') ) ) . '">' . __( 'View Mobile Site', 'jetpack' ) . '</a></div>'; +} + +function jetpack_mobile_request_handler() { + global $wpdb; + if (isset($_GET['ak_action'])) { + $url = parse_url( get_bloginfo( 'url' ) ); + $domain = $url['host']; + if (!empty($url['path'])) { + $path = $url['path']; + } + else { + $path = '/'; + } + $redirect = false; + switch ($_GET['ak_action']) { + case 'reject_mobile': + setcookie( + 'akm_mobile' + , 'false' + , time() + 300000 + , $path + , $domain + ); + $redirect = true; + + /** + * In Jetpack's Mobile theme, fires after the user taps on the link to display a full version of the site. + * + * @module minileven + * + * @since 1.8.0 + */ + do_action( 'mobile_reject_mobile' ); + break; + case 'force_mobile': + case 'accept_mobile': + setcookie( + 'akm_mobile' + , 'true' + , time() + 300000 + , $path + , $domain + ); + $redirect = true; + + /** + * In Jetpack's Mobile theme, fires after the user taps on the link to go back from full site to mobile site. + * + * @module minileven + * + * @since 1.8.0 + */ + do_action( 'mobile_force_mobile' ); + break; + } + if ($redirect) { + if ( isset( $_GET['redirect_to'] ) && $_GET['redirect_to'] ) { + $go = urldecode( $_GET['redirect_to'] ); + } else { + $go = remove_query_arg( array( 'ak_action' ) ); + } + wp_safe_redirect( $go ); + exit; + } + } +} +add_action('init', 'jetpack_mobile_request_handler'); + +function jetpack_mobile_theme_setup() { + if ( jetpack_check_mobile() ) { + // Redirect to download page if user clicked mobile app promo link in mobile footer + if ( isset( $_GET['app-download'] ) ) { + /** + * Fires before you're redirected to download page if you clicked the mobile app promo link in mobile footer + * + * @module minileven + * + * @since 1.8.0 + * + * @param string $_GET['app-download'] app-download URL parameter. + */ + do_action( 'mobile_app_promo_download', $_GET['app-download'] ); + + switch ( $_GET['app-download'] ) { + case 'android': + header( 'Location: market://search?q=pname:org.wordpress.android' ); + exit; + break; + case 'ios': + header( 'Location: http://itunes.apple.com/us/app/wordpress/id335703880?mt=8' ); + exit; + break; + case 'blackberry': + header( 'Location: http://blackberry.wordpress.org/download/' ); + exit; + break; + } + } + + add_action('stylesheet', 'jetpack_mobile_stylesheet'); + add_action('template', 'jetpack_mobile_template'); + add_action('option_template', 'jetpack_mobile_template'); + add_action('option_stylesheet', 'jetpack_mobile_stylesheet'); + + if ( class_exists( 'Jetpack_Custom_CSS' ) && method_exists( 'Jetpack_Custom_CSS', 'disable' ) && ! get_option( 'wp_mobile_custom_css' ) ) + add_action( 'init', array( 'Jetpack_Custom_CSS', 'disable' ), 11 ); + + /** + * Fires after Jetpack's mobile theme has been setup. + * + * @module minileven + * + * @since 1.8.0 + */ + do_action( 'mobile_setup' ); + } +} + +// Need a hook after plugins_loaded (since this code won't be loaded in Jetpack +// until then) but after init (because it has its own init hooks to add). +add_action( 'setup_theme', 'jetpack_mobile_theme_setup' ); + +if (isset($_COOKIE['akm_mobile']) && $_COOKIE['akm_mobile'] == 'false') { + add_action('wp_footer', 'jetpack_mobile_available'); +} + +function jetpack_mobile_app_promo() { + ?> + <script type="text/javascript"> + if ( ! navigator.userAgent.match( /wp-(iphone|android|blackberry|nokia|windowsphone)/i ) ) { + if ( ( navigator.userAgent.match( /iphone/i ) ) || ( navigator.userAgent.match( /ipod/i ) ) ) + document.write( '<span id="wpcom-mobile-app-promo" style="margin-top: 10px; font-size: 13px;"><strong>Now Available!</strong> <a href="/index.php?app-download=ios">Download WordPress for iOS</a></span><br /><br />' ); + else if ( ( navigator.userAgent.match( /android/i ) ) && ( null == navigator.userAgent.match( /playbook/i ) && null == navigator.userAgent.match( /bb10/i ) ) ) + document.write( '<span id="wpcom-mobile-app-promo" style="margin-top: 10px; font-size: 13px;"><strong>Now Available!</strong> <a href="/index.php?app-download=android">Download WordPress for Android</a></span><br /><br />' ); + else if ( ( navigator.userAgent.match( /blackberry/i ) ) || ( navigator.userAgent.match( /playbook/i ) ) || ( navigator.userAgent.match( /bb10/i ) ) ) + document.write( '<span id="wpcom-mobile-app-promo" style="margin-top: 10px; font-size: 13px;"><strong>Now Available!</strong> <a href="/index.php?app-download=blackberry">Download WordPress for BlackBerry</a></span><br /><br />' ); + } + </script> + <?php +} + +add_action( 'wp_mobile_theme_footer', 'jetpack_mobile_app_promo' ); + +/** + * Adds an option to allow your Custom CSS to also be applied to the Mobile Theme. + * It's disabled by default, but this should allow people who know what they're + * doing to customize the mobile theme. + */ +function jetpack_mobile_css_settings() { + $mobile_css = get_option( 'wp_mobile_custom_css' ); + + ?> + <div class="misc-pub-section"> + <label><?php esc_html_e( 'Mobile-compatible:', 'jetpack' ); ?></label> + <span id="mobile-css-display"><?php echo $mobile_css ? __( 'Yes', 'jetpack' ) : __( 'No', 'jetpack' ); ?></span> + <a class="edit-mobile-css hide-if-no-js" href="#mobile-css"><?php echo esc_html_e( 'Edit', 'jetpack' ); ?></a> + <div id="mobile-css-select" class="hide-if-js"> + <input type="hidden" name="mobile_css" id="mobile-css" value="<?php echo intval( $mobile_css ); ?>" /> + <label> + <input type="checkbox" id="mobile-css-visible" <?php checked( get_option( 'wp_mobile_custom_css' ) ); ?> /> + <?php esc_html_e( 'Include this CSS in the Mobile Theme', 'jetpack' ); ?> + </label> + <p> + <a class="save-mobile-css hide-if-no-js button" href="#mobile-css"><?php esc_html_e( 'OK', 'jetpack' ); ?></a> + <a class="cancel-mobile-css hide-if-no-js" href="#mobile-css"><?php esc_html_e( 'Cancel', 'jetpack' ); ?></a> + </p> + </div> + </div> + <script type="text/javascript"> + jQuery( function ( $ ) { + $( '.edit-mobile-css' ).bind( 'click', function ( e ) { + e.preventDefault(); + + $( '#mobile-css-select' ).slideDown(); + $( this ).hide(); + } ); + + $( '.cancel-mobile-css' ).bind( 'click', function ( e ) { + e.preventDefault(); + + $( '#mobile-css-select' ).slideUp( function () { + $( '.edit-mobile-css' ).show(); + + $( '#mobile-css-visible' ).prop( 'checked', $( '#mobile-css' ).val() == '1' ); + } ); + } ); + + $( '.save-mobile-css' ).bind( 'click', function ( e ) { + e.preventDefault(); + + $( '#mobile-css-select' ).slideUp(); + $( '#mobile-css-display' ).text( $( '#mobile-css-visible' ).prop( 'checked' ) ? 'Yes' : 'No' ); + $( '#mobile-css' ).val( $( '#mobile-css-visible' ).prop( 'checked' ) ? '1' : '0' ); + $( '.edit-mobile-css' ).show(); + } ); + } ); + </script> + <?php +} + +add_action( 'custom_css_submitbox_misc_actions', 'jetpack_mobile_css_settings' ); + +function jetpack_mobile_customizer_controls( $wp_customize ) { + $wp_customize->add_setting( 'wp_mobile_custom_css' , array( + 'default' => true, + 'transport' => 'postMessage', + 'type' => 'option' + ) ); + + $wp_customize->add_control( 'jetpack_mobile_css_control', array( + 'type' => 'checkbox', + 'label' => __( 'Include this CSS in the Mobile Theme', 'jetpack' ), + 'section' => 'jetpack_custom_css', + 'settings' => 'wp_mobile_custom_css', + ) ); +} + +add_action( 'jetpack_custom_css_customizer_controls', 'jetpack_mobile_customizer_controls' ); + +function jetpack_mobile_save_css_settings() { + update_option( 'wp_mobile_custom_css', isset( $_POST['mobile_css'] ) && ! empty( $_POST['mobile_css'] ) ); +} + +add_action( 'safecss_save_pre', 'jetpack_mobile_save_css_settings' ); diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/comments.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/comments.php new file mode 100644 index 00000000..55c35161 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/comments.php @@ -0,0 +1,52 @@ +<?php +/** + * The template for displaying Comments. + * + * The area of the page that contains both current comments + * and the comment form. The actual display of comments is + * handled by a callback to minileven_comment() which is + * located in the functions.php file. + * + * @package Minileven + */ +?> + <div id="comments"> + <?php if ( post_password_required() ) : ?> + <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'jetpack' ); ?></p> + </div><!-- #comments --> + <?php + /* Stop the rest of comments.php from being processed, + * but don't kill the script entirely -- we still have + * to fully load the template. + */ + return; + endif; + ?> + + <?php // You can start editing here -- including this comment! ?> + + <?php comment_form(); ?> + + <?php if ( have_comments() ) : ?> + <ol class="commentlist"> + <?php + /* Loop through and list the comments. Tell wp_list_comments() + * to use minileven_comment() to format the comments. + * If you want to overload this in a child theme then you can + * define minileven_comment() and that will be used instead. + * See minileven_comment() in minileven/functions.php for more. + */ + wp_list_comments( array( 'callback' => 'minileven_comment' ) ); + ?> + </ol> + + <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + <nav id="comment-nav-below"> + <h1 class="assistive-text"><?php _e( 'Comment navigation', 'jetpack' ); ?></h1> + <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'jetpack' ) ); ?></div> + <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'jetpack' ) ); ?></div> + </nav> + <?php endif; // check for comment navigation + endif; // check for the existence of comments + ?> + </div><!-- #comments -->
\ No newline at end of file diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php new file mode 100644 index 00000000..218949ea --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php @@ -0,0 +1,83 @@ +<?php +/** + * The template for displaying posts in the Gallery Post Format on index and archive pages + * + * Learn more: http://codex.wordpress.org/Post_Formats + * + * @package Minileven + */ +?> + +<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <header class="entry-header"> + <div class="entry-heading"> + <?php if ( '1' == get_option( 'wp_mobile_featured_images' ) && minileven_show_featured_images() ) : ?> + <div class="entry-thumbnail"> + <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="minileven-featured-thumbnail"><?php the_post_thumbnail(); ?></a> + </div><!-- .entry-thumbnail --> + <?php endif; ?> + <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> + <h3 class="entry-format"><?php _e( 'Gallery', 'jetpack' ); ?></h3> + </div> + </header><!-- .entry-header --> + + <div class="entry-content"> + <?php if ( is_single() || post_password_required() ) : ?> + <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'jetpack' ) ); ?> + + <?php else : ?> + <?php + $images = minileven_get_gallery_images(); + if ( $images ) : + $total_images = count( $images ); + $large_image = array_shift( $images ); + $thumb1_image = array_shift( $images ); + $thumb2_image = array_shift( $images ); + $thumb3_image = array_shift( $images ); + + $image_img_tag = wp_get_attachment_image( (int) $large_image, 'large' ); + $thumb1_img_tag = wp_get_attachment_image( (int) $thumb1_image, 'thumbnail' ); + $thumb2_img_tag = wp_get_attachment_image( (int) $thumb2_image, 'thumbnail' ); + $thumb3_img_tag = wp_get_attachment_image( (int) $thumb3_image, 'thumbnail' ); + ?> + <div class="img-gallery"> + <div class="gallery-large"> + <a href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a> + </div><!-- .gallery-large --> + <?php if ( 3 == $total_images ) : ?> + <div class="gallery-thumbs-2"> + <a href="<?php the_permalink(); ?>" class="gallery-thumb-1"><?php echo $thumb1_img_tag; ?></a> + <a href="<?php the_permalink(); ?>" class="gallery-thumb-2"><?php echo $thumb2_img_tag; ?></a> + </div><!-- .gallery-thumbs --> + + <?php elseif ( 4 <= $total_images ) : ?> + <div class="gallery-thumbs-3"> + <a href="<?php the_permalink(); ?>" class="gallery-thumb-1"><?php echo $thumb1_img_tag; ?></a> + <a href="<?php the_permalink(); ?>" class="gallery-thumb-2"><?php echo $thumb2_img_tag; ?></a> + <a href="<?php the_permalink(); ?>" class="gallery-thumb-3"><?php echo $thumb3_img_tag; ?></a> + </div><!-- .gallery-thumbs --> + </div><!-- .img-gallery --> + <?php endif; ?> + + <p class="gallery-info"><em><?php printf( _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'jetpack' ), + 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) ); + ?></em></p> + + <?php endif; ?> + <?php endif; ?> + + <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?> +</div><!-- .entry-content --> + + <footer class="entry-meta"> + <?php minileven_posted_on(); ?> + <?php if ( comments_open() ) : ?> + <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a Reply', 'jetpack' ) . '</span>', __( '<b>1</b> Reply', 'jetpack' ), __( '<b>%</b> Replies', 'jetpack' ) ); ?></span> + <?php endif; // End if comments_open() ?> + + <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?> + </footer><!-- #entry-meta --> +</article><!-- #post-<?php the_ID(); ?> --> + +<?php comments_template( '', true ); ?> diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/content.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/content.php new file mode 100644 index 00000000..e434ea41 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/content.php @@ -0,0 +1,63 @@ +<?php +/** + * The default template for displaying content + * + * @package Minileven + */ +?> + + <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <header class="entry-header"> + <?php if ( '1' == get_option( 'wp_mobile_featured_images' ) && minileven_show_featured_images() ) : ?> + <div class="entry-thumbnail"> + <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="minileven-featured-thumbnail"><?php the_post_thumbnail(); ?></a> + </div><!-- .entry-thumbnail --> + <?php endif; ?> + <?php if ( is_sticky() ) : ?> + <div class="entry-heading"> + <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> + <h3 class="entry-format"><?php _e( 'Featured', 'jetpack' ); ?></h3> + <div> + <?php else : ?> + <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1> + <?php endif; ?> + + <div class="entry-meta"> + <?php if ( is_singular() && is_multi_author() ) : ?> + <span class="author-link"> + <?php _e( 'Posted by ', 'jetpack' ); ?> + <?php the_author_posts_link(); ?> + </span><!-- .author-link --> + <?php endif; ?> + </div><!-- .entry-meta --> + </header><!-- .entry-header --> + + <div class="entry-content"> + <?php if ( '1' == get_option( 'wp_mobile_excerpt' ) && ( is_home() || is_search() || is_archive() ) ) : ?> + <?php echo minileven_excerpt( 300 ); ?> + <?php else : ?> + <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'jetpack' ) ); ?> + <?php endif; ?> + <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?> + </div><!-- .entry-content --> + + <footer class="entry-meta"> + <?php if ( 'post' == get_post_type() ) : ?> + <?php minileven_posted_on(); ?> + <?php endif; ?> + <?php if ( comments_open() ) : ?> + <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'jetpack' ) . '</span>', __( '<b>1</b> Reply', 'jetpack' ), __( '<b>%</b> Replies', 'jetpack' ) ); ?></span> + <?php endif; // End if comments_open() ?> + <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?> + </footer><!-- #entry-meta --> + </article><!-- #post-<?php the_ID(); ?> --> + + <?php if ( is_single() ) : ?> + <nav id="nav-single"> + <h3 class="assistive-text"><?php _e( 'Post navigation', 'jetpack' ); ?></h3> + <span class="nav-previous"><?php previous_post_link( '%link', __( '« Previous', 'jetpack' ) ); ?></span> + <span class="nav-next"><?php next_post_link( '%link', __( 'Next »', 'jetpack' ) ); ?></span> + </nav><!-- #nav-single --> + <?php endif; ?> + + <?php comments_template( '', true ); ?> diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php new file mode 100644 index 00000000..964165f0 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php @@ -0,0 +1,61 @@ +<?php +/** + * The template for displaying the footer. + * + * Contains the closing of the id=main div and all content after + * + * @package Minileven + */ +?> + + </div><!-- #main --> +</div><!-- #page --> +<?php get_sidebar(); ?> + +</div><!-- #wrapper --> + +<?php + /** + * Fires before the Mobile Theme's <footer> tag. + * + * @module minileven + * + * @since 3.7.0 + */ + do_action( 'jetpack_mobile_footer_before' ); +?> + +<footer id="colophon" role="contentinfo"> + <div id="site-generator"> + <a href="<?php echo esc_url( home_url( add_query_arg('ak_action', 'reject_mobile') ) ); ?>"><?php _e( 'View Full Site', 'jetpack' ); ?></a><br /> + + <?php + /** + * Fires after the View Full Site link in the Mobile Theme's footer. + * + * By default, a promo to download the native apps is added to this action. + * + * @module minileven + * + * @since 1.8.0 + */ + do_action( 'wp_mobile_theme_footer' ); + + /** + * Fires before the credit links in the Mobile Theme's footer. + * + * @module minilven + * + * @since 1.8.0 + */ + do_action( 'minileven_credits' ); + ?> + + <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'jetpack' ) ); ?>" rel="noopener noreferrer" target="_blank" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'jetpack' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'jetpack' ), 'WordPress' ); ?></a> + </div> +</footer><!-- #colophon --> + +<?php wp_footer(); ?> + +</body> +</html> diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php new file mode 100644 index 00000000..fadd678c --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php @@ -0,0 +1,273 @@ +<?php +/** + * Minileven functions and definitions + * + * Sets up the theme and provides some helper functions. Some helper functions + * are used in the theme as custom template tags. Others are attached to action and + * filter hooks in WordPress to change core functionality. + * + * The first function, minileven_setup(), sets up the theme by registering support + * for various features in WordPress, such as post thumbnails, navigation menus, and the like. + * + * @package Minileven + */ + +/** + * Set the content width based on the theme's design and stylesheet. + */ +if ( ! isset( $content_width ) ) + $content_width = 584; + +/** + * Tell WordPress to run minileven_setup() when the 'after_setup_theme' hook is run. + */ +add_action( 'after_setup_theme', 'minileven_setup' ); + +if ( ! function_exists( 'minileven_setup' ) ): +/** + * Sets up theme defaults and registers support for various WordPress features. + */ +function minileven_setup() { + global $wp_version; + + /** + * Custom template tags for this theme. + */ + require( get_template_directory() . '/inc/template-tags.php' ); + + /** + * Custom functions that act independently of the theme templates + */ + require( get_template_directory() . '/inc/tweaks.php' ); + + /** + * Implement the Custom Header functions + */ + require( get_template_directory() . '/inc/custom-header.php' ); + + /* Make Minileven available for translation. + * Translations can be added to the /languages/ directory. + * If you're building a theme based on Minileven, use a find and replace + * to change 'minileven' to the name of your theme in all the template files. + */ +/* Don't load a minileven textdomain, as it uses the Jetpack textdomain. + load_theme_textdomain( 'minileven', get_template_directory() . '/languages' ); +*/ + + // Add default posts and comments RSS feed links to <head>. + add_theme_support( 'automatic-feed-links' ); + + // This theme uses wp_nav_menu() in one location. + register_nav_menu( 'primary', __( 'Primary Menu', 'jetpack' ) ); + + // Add support for a variety of post formats + add_theme_support( 'post-formats', array( 'gallery' ) ); + + // Add support for custom backgrounds + add_theme_support( 'custom-background' ); + + // Add support for post thumbnails + add_theme_support( 'post-thumbnails' ); +} +endif; // minileven_setup + +/** + * Enqueue scripts and styles + */ +function minileven_scripts() { + global $post; + + wp_enqueue_style( 'style', get_stylesheet_uri() ); + + wp_enqueue_script( + 'small-menu', + Jetpack::get_file_url_for_environment( + '_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js', + 'modules/minileven/theme/pub/minileven/js/small-menu.js' + ), + array( 'jquery' ), + '20120206', + true + ); + + if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { + wp_enqueue_script( 'comment-reply' ); + } +} +add_action( 'wp_enqueue_scripts', 'minileven_scripts' ); + +function minileven_fonts() { + + /* translators: If there are characters in your language that are not supported + by Open Sans, translate this to 'off'. Do not translate into your own language. */ + + if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'jetpack' ) ) { + + $opensans_subsets = 'latin,latin-ext'; + + /* translators: To add an additional Open Sans character subset specific to your language, translate + this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. */ + $opensans_subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)', 'jetpack' ); + + if ( 'cyrillic' == $opensans_subset ) + $opensans_subsets .= ',cyrillic,cyrillic-ext'; + elseif ( 'greek' == $opensans_subset ) + $opensans_subsets .= ',greek,greek-ext'; + elseif ( 'vietnamese' == $opensans_subset ) + $opensans_subsets .= ',vietnamese'; + + $opensans_query_args = array( + 'family' => 'Open+Sans:200,200italic,300,300italic,400,400italic,600,600italic,700,700italic', + 'subset' => $opensans_subsets, + ); + wp_register_style( 'minileven-open-sans', add_query_arg( $opensans_query_args, "//fonts.googleapis.com/css" ), array(), null ); + } +} +add_action( 'init', 'minileven_fonts' ); + +/** + * Register our sidebars and widgetized areas. + * @since Minileven 1.0 + */ +function minileven_widgets_init() { + register_sidebar( array( + 'name' => __( 'Main Sidebar', 'jetpack' ), + 'id' => 'sidebar-1', + 'before_widget' => '<aside id="%1$s" class="widget %2$s">', + 'after_widget' => "</aside>", + 'before_title' => '<h3 class="widget-title">', + 'after_title' => '</h3>', + ) ); +} +add_action( 'widgets_init', 'minileven_widgets_init' ); + +function minileven_posts_per_page() { + return 5; +} +add_filter('pre_option_posts_per_page', 'minileven_posts_per_page'); + +/** + * Determine the currently active theme. + */ +function minileven_actual_current_theme() { + $removed = remove_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' ); + $stylesheet = get_option( 'stylesheet' ); + if ( $removed ) + add_action( 'option_stylesheet', 'jetpack_mobile_stylesheet' ); + + return $stylesheet; +} + +/* This function grabs the location of the custom menus from the current theme. If no menu is set in a location +* it will return a boolean "false". This function helps Minileven know which custom menu to display. */ +function minileven_get_menu_location() { + $theme_slug = minileven_actual_current_theme(); + $mods = get_option( "theme_mods_{$theme_slug}" ); + + if ( has_filter( 'jetpack_mobile_theme_menu' ) ) { + + /** + * Filter the menu displayed in the Mobile Theme. + * + * @module minileven + * + * @since 3.4.0 + * + * @param int $menu_id ID of the menu to display. + */ + return array( 'primary' => apply_filters( 'jetpack_mobile_theme_menu', $menu_id ) ); + } + + if ( isset( $mods['nav_menu_locations'] ) && ! empty( $mods['nav_menu_locations'] ) ) + return $mods['nav_menu_locations']; + + return false; +} + +/* This function grabs the custom background image from the user's current theme so that Minileven can display it. */ +function minileven_get_background() { + $theme_slug = minileven_actual_current_theme(); + $mods = get_option( "theme_mods_$theme_slug" ); + + if ( ! empty( $mods ) ) { + return array( + 'color' => isset( $mods['background_color'] ) ? $mods['background_color'] : null, + 'image' => isset( $mods['background_image'] ) ? $mods['background_image'] : null, + 'repeat' => isset( $mods['background_repeat'] ) ? $mods['background_repeat'] : null, + 'position' => isset( $mods['background_position_x'] ) ? $mods['background_position_x'] : null, + 'attachment' => isset( $mods['attachment'] ) ? $mods['attachment'] : null, + ); + } + return false; +} + +/** + * If the user has set a static front page, show all posts on the front page, instead of a static page. + */ +if ( '1' == get_option( 'wp_mobile_static_front_page' ) ) + add_filter( 'pre_option_page_on_front', '__return_zero' ); + +/** + * Retrieves the IDs for images in a gallery. + * + * @uses get_post_galleries() first, if available. Falls back to shortcode parsing, + * then as last option uses a get_posts() call. + * + * @return array List of image IDs from the post gallery. + */ +function minileven_get_gallery_images() { + $images = array(); + + if ( function_exists( 'get_post_galleries' ) ) { + $galleries = get_post_galleries( get_the_ID(), false ); + if ( isset( $galleries[0]['ids'] ) ) + $images = explode( ',', $galleries[0]['ids'] ); + } else { + $pattern = get_shortcode_regex(); + preg_match( "/$pattern/s", get_the_content(), $match ); + $atts = shortcode_parse_atts( $match[3] ); + if ( isset( $atts['ids'] ) ) + $images = explode( ',', $atts['ids'] ); + } + + if ( ! $images ) { + $images = get_posts( array( + 'fields' => 'ids', + 'numberposts' => 999, + 'order' => 'ASC', + 'orderby' => 'menu_order', + 'post_mime_type' => 'image', + 'post_parent' => get_the_ID(), + 'post_type' => 'attachment', + 'suppress_filters' => false, + ) ); + } + + return $images; +} + +/** + * Allow plugins to filter where Featured Images are displayed. + * Default has Featured Images disabled on single view and pages. + * + * @uses is_search() + * @uses apply_filters() + * @return bool + */ +function minileven_show_featured_images() { + $enabled = ( is_home() || is_search() || is_archive() ) ? true : false; + + /** + * Filter where featured images are displayed in the Mobile Theme. + * + * By setting $enabled to true or false using functions like is_home() or + * is_archive(), you can control where featured images are be displayed. + * + * @module minileven + * + * @since 3.2.0 + * + * @param bool $enabled True if featured images should be displayed, false if not. + */ + return (bool) apply_filters( 'minileven_show_featured_images', $enabled ); +} diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/header.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/header.php new file mode 100644 index 00000000..2488a47f --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/header.php @@ -0,0 +1,70 @@ +<?php +/** + * The Header for our theme. + * + * Displays all of the <head> section and everything up till <div id="main"> + * + * @package Minileven + */ +?><!DOCTYPE html> +<html <?php language_attributes(); ?>> +<head> +<meta charset="<?php bloginfo( 'charset' ); ?>" /> +<meta name="viewport" content="width=device-width" /> +<title><?php wp_title( '|', true, 'right' ); ?></title> +<link rel="profile" href="http://gmpg.org/xfn/11" /> +<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> +<?php wp_head(); ?> +</head> + +<body <?php body_class(); ?>> +<div id="wrapper"> + <?php + $location = minileven_get_menu_location(); // get the menu locations from the current theme in use + ?> + <div class="menu-search"> + <nav id="access" class="site-navigation main-navigation" role="navigation"> + <h3 class="menu-toggle"><?php _e( 'Menu', 'jetpack' ); ?></h3> + + <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> + <div class="skip-link"><a class="assistive-text" href="#content"><?php _e( 'Skip to primary content', 'jetpack' ); ?></a></div> + <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ + if ( false !== $location ) : + $location_values = array_values( $location ); + $menu_id = array_shift( $location_values ); // acccess the ID of the menu assigned to that location. Using only the first menu ID returned in the array. + wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => '', 'menu_class' => 'nav-menu', 'menu' => $menu_id ) ); + else: // if the $location variable is false, wp_page_menu() is shown instead. + wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => '', 'menu_class' => 'nav-menu' ) ); + endif; + ?> + </nav><!-- #access --> + <div class="search-form"> + <?php get_search_form(); ?> + </div><!-- .search-form--> + </div><!-- .menu-search--> + + <?php + /** + * Fires before Minileven header. + * + * @module minileven + * + * @since 3.4.0 + */ + do_action( 'jetpack_mobile_header_before' ); + + if ( function_exists( 'minileven_header' ) ) + minileven_header(); + + /** + * Fires after Minileven header. + * + * @module minilven + * + * @since 3.4.0 + */ + do_action( 'jetpack_mobile_header_after' ); + ?> + + <div id="page" class="hfeed"> + <div id="main"> diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/image.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/image.php new file mode 100644 index 00000000..02032c2c --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/image.php @@ -0,0 +1,108 @@ +<?php +/** + * The template for displaying image attachments. + * + * @package Minileven + */ + +get_header(); ?> + + <div id="primary" class="image-attachment"> + <div id="content" role="main"> + + <?php while ( have_posts() ) : the_post(); ?> + + <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <header class="entry-header"> + <h1 class="entry-title"><?php the_title(); ?></h1> + </header><!-- .entry-header --> + + <div class="entry-content"> + + <div class="entry-attachment"> + <div class="attachment"> +<?php + /** + * Grab the IDs of all the image attachments in a gallery so we can get the URL of the next adjacent image in a gallery, + * or the first image (if we're looking at the last image in a gallery), or, in a gallery of one, just the link to that image file + */ + $attachments = array_values( get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID', 'suppress_filters' => false ) ) ); + 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(); + } +?> + <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php + + /** + * Filter the Mobile Theme image size. + * + * @module minileven + * + * @since 1.8.0 + * + * @param int Image size in pixels. + */ + $attachment_size = apply_filters( 'minileven_attachment_size', 848 ); + echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. + ?></a> + + <?php if ( ! empty( $post->post_excerpt ) ) : ?> + <div class="entry-caption"> + <?php the_excerpt(); ?> + </div> + <?php endif; ?> + </div><!-- .attachment --> + + </div><!-- .entry-attachment --> + + <div class="entry-description"> + <?php the_content(); ?> + <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?> + </div><!-- .entry-description --> + + </div><!-- .entry-content --> + + <footer class="entry-meta"> + <div class="attachment-meta"> + <?php + $metadata = wp_get_attachment_metadata(); + printf( __( '<span class="entry-gallery">« <a href="%1$s" title="Back to %2$s" rel="gallery">Back to Gallery</a></span>', 'jetpack' ), + esc_url( get_permalink( $post->post_parent ) ), + get_the_title( $post->post_parent ) + ); + ?> + </div><!-- .attachment-meta--> + <?php if ( comments_open() ) : ?> + <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'jetpack' ) . '</span>', __( '<b>1</b> Reply', 'jetpack' ), __( '<b>%</b> Replies', 'jetpack' ) ); ?></span> + <?php endif; // End if comments_open() ?> + <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?> + </footer><!-- #entry-meta --> + </article><!-- #post-<?php the_ID(); ?> --> + + <nav id="nav-single"> + <h3 class="assistive-text"><?php _ex( 'Image navigation', 'next-saturday' , 'jetpack' ); ?></h3> + <span class="nav-previous"><?php previous_image_link( false, __( '« Previous' , 'jetpack' ) ); ?></span> + <span class="nav-next"><?php next_image_link( false, __( 'Next » ' , 'jetpack' ) ); ?></span> + </nav><!-- #nav-single --> + + <?php comments_template(); ?> + + <?php endwhile; // end of the loop. ?> + + </div><!-- #content --> + </div><!-- #primary --> +<?php get_footer(); ?> diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/custom-header.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/custom-header.php new file mode 100644 index 00000000..dc8758b7 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/custom-header.php @@ -0,0 +1,107 @@ +<?php +/** + * @package Minileven + * @since Minileven 2.0 + */ + +/* This function grabs the custom header from the current theme so that Minileven can display it. */ +function minileven_get_header_image() { + $theme_slug = minileven_actual_current_theme(); + $mods = get_option( "theme_mods_{$theme_slug}" ); + + if ( isset( $mods['header_image'] ) && 'remove-header' != $mods['header_image'] && 'random-default-image' != $mods['header_image'] && 'random-uploaded-image' != $mods['header_image'] ) + return $mods['header_image']; + + return false; +} + +/* This function determines whether or not the user is displaying the header on the current theme */ +function minileven_header_text_display() { + $theme_slug = minileven_actual_current_theme(); + $mods = get_option( "theme_mods_{$theme_slug}" ); + + if ( isset( $mods['header_textcolor'] ) ) + return $mods['header_textcolor']; + + return false; +} + +/* This function determines how the header should be displayed. */ +function minileven_header() { + $header_image = minileven_get_header_image(); + $header_text = minileven_header_text_display(); + + if ( 'blank' != $header_text || false != $header_image ) : ?> + + <header id="branding" role="banner"> + <?php if ( 'blank' != $header_text ) : ?> + <div class="site-branding"> + <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1> + <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> + </div> + <?php endif; + + if ( false !== $header_image ) : ?> + <div id="header-img"> + <a href="<?php echo esc_url( home_url( '/' ) ); ?>"> + <img src="<?php echo $header_image; ?>" alt="" /> + </a> + </div><!-- #header-img --> + <?php endif; // end check for header image existence. ?> + </header><!-- #branding --> +<?php endif; // end check for both header text and header image +} + +/* This function displays the custom background image or color, and custom text color */ +function minileven_show_background_and_header_color() { + $background = minileven_get_background(); + $header_text = minileven_header_text_display(); + + $style = ''; + + if ( $background['color'] || $background['image'] ) : + $style = $background['color'] ? "background-color: #$background[color];" : ''; + + if ( $background['image'] ) : + $image = " background-image: url('$background[image]');"; + + if ( ! in_array( $background['repeat'], array( 'no-repeat', 'repeat-x', 'repeat-y', 'repeat' ) ) ) + $background['repeat'] = 'repeat'; + $repeat = " background-repeat: $background[repeat];"; + + if ( ! in_array( $background['position'], array( 'center', 'right', 'left' ) ) ) + $background['position'] = 'left'; + $position = " background-position: top $background[position];"; + + if ( ! in_array( $background['attachment'], array( 'fixed', 'scroll' ) ) ) + $background['attachment'] = 'scroll'; + $attachment = " background-attachment: $background[attachment];"; + + $style .= $image . $repeat . $position . $attachment; + endif; + endif; +?> + <style type="text/css"> + <?php if ( $style ) { ?> + body { + <?php echo trim( $style ); ?> + } + <?php } ?> + #page, + #branding { + margin: 0.6em 0.6em 0.8em; + } + #site-generator { + border: 0; + } + <?php if ( 'blank' != $header_text && '1' != get_option( 'wp_mobile_header_color' ) ) : ?> + /* If The user has set a header text color, use that */ + #site-title, + #site-title a { + color: #<?php echo $header_text; ?>; + <?php endif; ?> + } + </style> +<?php +} +add_action( 'wp_head', 'minileven_show_background_and_header_color' );
\ No newline at end of file diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.eot b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.eot Binary files differnew file mode 100644 index 00000000..5a60506a --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.eot diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.svg b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.svg new file mode 100644 index 00000000..3dce209e --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.svg @@ -0,0 +1,81 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > +<svg xmlns="http://www.w3.org/2000/svg"> +<metadata></metadata> +<defs> +<font id="genericonsregular" horiz-adv-x="2048" > +<font-face units-per-em="2048" ascent="1638" descent="-410" /> +<missing-glyph horiz-adv-x="500" /> +<glyph unicode=" " horiz-adv-x="1024" /> +<glyph unicode=" " /> +<glyph unicode=" " horiz-adv-x="1024" /> +<glyph unicode=" " /> +<glyph unicode=" " horiz-adv-x="682" /> +<glyph unicode=" " horiz-adv-x="512" /> +<glyph unicode=" " horiz-adv-x="341" /> +<glyph unicode=" " horiz-adv-x="341" /> +<glyph unicode=" " horiz-adv-x="256" /> +<glyph unicode=" " horiz-adv-x="409" /> +<glyph unicode=" " horiz-adv-x="113" /> +<glyph unicode=" " horiz-adv-x="409" /> +<glyph unicode=" " horiz-adv-x="512" /> +<glyph unicode="" horiz-adv-x="500" d="M0 0z" /> +<glyph unicode="" d="M512 512v128h768v-128h-768zM512 768v128h256v-128h-256zM512 1024v128h640v-128h-640zM512 1280v128h1024v-128h-1024zM896 768v128h640v-128h-640zM1280 1024v128h256v-128h-256z" /> +<glyph unicode="" d="M256 1024q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM768 1024q0 -106 75 -181t181 -75t181 75t75 181t-75 181t-181 75t-181 -75t-75 -181z" /> +<glyph unicode="" d="M128 384v896l512 128l128 256h512l128 -256h512v-1024h-1792zM256 1440v160h256v-96zM576 960q0 -185 131.5 -316.5t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5zM704 960q0 133 93.5 226.5t226.5 93.5 t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5z" /> +<glyph unicode="" d="M128 512v384h384v-384h-384zM128 1024v384h896v-384h-896zM640 512v384h384v-384h-384zM1152 512v896h896v-896h-896z" /> +<glyph unicode="" d="M512 384v1280l1152 -640z" /> +<glyph unicode="" d="M640 1408q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5q0 -124 -71.5 -222t-184.5 -138v-536l-256 -128v664q-113 40 -184.5 138t-71.5 222z" /> +<glyph unicode="" d="M384 640l128 768h512l-256 -768h-384zM1152 640l128 768h512l-256 -768h-384z" /> +<glyph unicode="" d="M376 852q0 108 72 204l160 128l96 -96l-160 -128q-48 -96 0 -192l96 -96q96 -48 192 0l128 160l96 -96l-128 -160q-96 -72 -204 -72t-180 72l-96 96q-72 72 -72 180zM736 960l352 352l96 -96l-352 -352zM864 1440l128 160q96 72 204 72t180 -72l96 -96q72 -72 72 -180 t-72 -204l-160 -128l-96 96l160 128q48 96 0 192l-96 96q-96 48 -192 0l-128 -160z" /> +<glyph unicode="" d="M0 1152v384q0 96 80 176t176 80h1024q96 0 176 -80t80 -176v-384q0 -96 -80 -176t-176 -80h-448l-448 -448v448h-128q-96 0 -176 80t-80 176zM768 640l128 128h384q168 0 276 108t108 276v384q96 0 176 -80t80 -176v-384q0 -96 -80 -176t-176 -80h-128v-448l-448 448 h-320z" /> +<glyph unicode="" d="M256 768v512h384l384 384v-1280l-384 384h-384zM1216 832q21 43 32 66.5t21.5 59.5t10.5 66t-10.5 66t-21.5 59.5t-32 66.5l96 96q96 -144 96 -288q0 -160 -96 -256zM1376 672q74 74 117 166t43 186t-43 186t-117 166l96 96q95 -71 143.5 -186.5t48.5 -261.5 t-48.5 -261.5t-143.5 -186.5z" /> +<glyph unicode="" d="M0 1024q0 212 79.5 402t216 326.5t326.5 216t402 79.5t402 -79.5t326.5 -216t216 -326.5t79.5 -402t-79.5 -402t-216 -326.5t-326.5 -216t-402 -79.5t-402 79.5t-326.5 216t-216 326.5t-79.5 402zM128 1024q0 -307 173.5 -536.5t466.5 -327.5v224q0 224 128 224 q-125 0 -213.5 16t-146.5 47t-91.5 83t-47 115.5t-13.5 154.5q0 100 25 187t71 133q-28 71 -28 143t14 109l14 36q7 0 18 -1t44 -7.5t63 -18.5t67 -38.5t64 -62.5q144 24 300 24t276 -24q27 36 60 62.5t60.5 38.5t51.5 18.5t38 7.5l14 1q4 -5 10 -14.5t19 -40.5t20 -63 t4 -78.5t-21 -91.5q96 -144 96 -320q0 -113 -21 -187.5t-75 -128t-147.5 -77t-236.5 -23.5q49 -25 72.5 -77.5t23.5 -146.5v-224q293 98 466.5 327.5t173.5 536.5q0 176 -73 341.5t-194.5 287t-287 194.5t-341.5 73t-341.5 -73t-287 -194.5t-194.5 -287t-73 -341.5z" /> +<glyph unicode="" d="M0 1024q0 206 82 395.5t219.5 327t327 219.5t395.5 82t395.5 -82t327 -219.5t219.5 -327t82 -395.5t-82 -395.5t-219.5 -327t-327 -219.5t-395.5 -82t-395.5 82t-327 219.5t-219.5 327t-82 395.5zM128 1024q0 -167 58 -319.5t166 -272.5q125 205 339 360t445 232 q-16 48 -80 176q-282 -86 -481.5 -111t-446.5 -1v-64zM160 1232q194 -22 444 14t388 82q-141 282 -320 528q-194 -85 -329.5 -247.5t-182.5 -376.5zM480 320q216 -192 544 -192q181 0 368 80q-33 300 -208 688q-222 -74 -410 -225.5t-294 -350.5zM832 1904 q102 -166 304 -512q6 2 86 31t118.5 45t108 47t122 64t93.5 69q-126 126 -290.5 199t-349.5 73q-32 0 -96 -8t-96 -8zM1200 1248q22 -29 36.5 -54.5t34 -67.5t25.5 -54q170 33 336 30t288 -30q-26 285 -160 464q-71 -57 -162 -104.5t-214.5 -100.5t-183.5 -83zM1344 928 q14 -27 43 -103t74.5 -231t74.5 -306q156 108 258 278t126 362q-276 46 -576 0z" /> +<glyph unicode="" d="M0 381q50 -6 100 -6q293 0 522 180q-137 2 -244.5 83t-147.5 208q44 -7 79 -7q57 0 110 15q-145 29 -241 144.5t-96 267.5v5q86 -48 191 -53q-86 58 -136.5 150t-50.5 200q0 113 57 211q158 -194 383 -310t483 -129q-11 49 -11 96q0 174 123 297t297 123q89 0 168.5 -35 t138.5 -97q142 27 266 102q-47 -150 -184 -233q124 15 241 66q-84 -127 -210 -217q2 -36 2 -55q0 -168 -49 -337t-150 -323.5t-241 -273.5t-336 -190t-420 -71q-351 0 -644 189z" /> +<glyph unicode="" d="M0 117q0 -48 34.5 -82.5t82.5 -34.5h1814q48 0 82.5 34.5t34.5 82.5v1814q0 48 -34.5 82.5t-82.5 34.5h-1814q-48 0 -82.5 -34.5t-34.5 -82.5v-1814zM900 969v303h222v258q0 78 26 147t77 124t136.5 87t194.5 32q55 0 108 -3t79 -6l26 -3l-7 -282h-193q-76 0 -101.5 -32 t-25.5 -101v-3v-2v-9v-207h329l-14 -303h-315v-841h-320v841h-222z" /> +<glyph unicode="" d="M640 969v303h222v258q0 78 26 147t77 124t136.5 87t194.5 32q55 0 108 -3t79 -6l26 -3l-7 -282h-193q-76 0 -101.5 -32t-25.5 -101v-3v-2v-9v-207h329l-14 -303h-315v-841h-320v841h-222z" /> +<glyph unicode="" d="M0 1024q0 208 81 397.5t218.5 327t327 218.5t397.5 81t398 -81t327 -218.5t218 -327t81 -397.5q0 -209 -81 -398.5t-218 -326.5t-326.5 -218t-398.5 -81q-208 0 -397.5 81t-327 218t-218.5 327t-81 398zM128 1024q0 -259 135.5 -473.5t359.5 -327.5l-421 1156 q-74 -168 -74 -355zM285 1530q4 0 13.5 -0.5t15.5 -0.5q70 0 127.5 2.5t80.5 4.5l22 3q29 2 46.5 -16t19.5 -40.5t-13 -43t-44 -24.5q-27 -4 -70 -8l295 -877l198 591l-104 283l-90 11q-38 2 -51.5 34t4.5 62t56 28q54 -10 201 -10q70 0 127.5 2.5t80.5 4.5l22 3 q38 2 56.5 -27t5 -60.5t-51.5 -36.5q-27 -4 -69 -8l293 -870l90 301q69 177 69 293q0 51 -14 107q-18 45 -40 81q-2 3 -15 24t-15.5 25t-13 22t-13 24.5t-10 22t-10 24.5t-6.5 22t-5 25t-1 24q0 63 42 110.5t106 49.5q-121 108 -274.5 168t-321.5 60q-226 0 -421 -105 t-318 -285zM772 165q123 -37 252 -37q152 0 296 51q0 1 -1 1l-1 2l-278 763zM1485 256q199 120 317 324t118 444q0 216 -99 409q4 -44 4 -68q0 -153 -69 -324z" /> +<glyph unicode="" d="M128 486v485q125 -127 330 -127q30 0 59 3q-32 -61 -32 -118q0 -33 13 -63t28.5 -48.5t45.5 -47.5q-18 0 -54.5 -0.5t-55.5 -0.5q-183 0 -334 -83zM128 1599v97q0 93 65.5 158.5t158.5 65.5h1344q93 0 158.5 -65.5t65.5 -158.5v-224h-280v280h-140v-280h-280v-140h280 v-280h140v280h280v-980q0 -93 -65.5 -158.5t-158.5 -65.5h-539q5 28 5 50q0 143 -46.5 230t-189.5 194q-3 2 -20.5 15t-25 19t-25.5 20t-27.5 22.5t-24 22t-23 23.5t-17 22t-12.5 22.5t-4 20.5q0 52 23 87t99 94q180 141 180 324q0 113 -45 204.5t-128 139.5h160l135 142 h-607q-127 0 -241.5 -49t-194.5 -132zM134 301q56 89 166.5 143.5t241.5 53.5q84 -1 158 -26q19 -13 62 -42.5t61 -42t48 -37t44.5 -41.5t29 -41.5t21.5 -49.5q7 -29 7 -66q0 -16 -1 -24h-620q-79 0 -140 49t-78 124zM228 1307q-21 161 50.5 269.5t194.5 104.5 q121 -4 215.5 -118.5t116.5 -277.5q21 -160 -43 -256t-187 -92q-125 4 -225.5 108t-121.5 262z" /> +<glyph unicode="" d="M384 1422q0 -58 40.5 -97.5t105.5 -39.5h1q67 0 108.5 39.5t41.5 97.5q-2 60 -42 98.5t-106 38.5q-67 0 -108 -39t-41 -98zM400 384h263v793h-263v-793zM809 384h264v443q0 45 8 64q16 40 50.5 68t85.5 28q133 0 133 -179v-424h264v455q0 175 -83.5 266t-220.5 91 q-50 0 -90.5 -12t-68.5 -34t-45 -41t-33 -44v112h-264v-793z" /> +<glyph unicode="" d="M128 384v1280q0 106 75 181t181 75h1280q106 0 181 -75t75 -181v-1280q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM384 1422q0 -58 40.5 -97.5t105.5 -39.5h1q67 0 108.5 39.5t41.5 97.5q-2 60 -42 98.5t-106 38.5q-67 0 -108 -39t-41 -98zM400 384h263 v793h-263v-793zM809 384h264v443q0 45 8 64q16 40 50.5 68t85.5 28q133 0 133 -179v-424h264v455q0 175 -83.5 266t-220.5 91q-50 0 -90.5 -12t-68.5 -34t-45 -41t-33 -44v112h-264v-793z" /> +<glyph unicode="" d="M171 1260q0 109 35.5 219t110 213t179 182t254 126.5t323.5 47.5q176 0 327.5 -60.5t253.5 -161t160 -231t58 -270.5q0 -246 -85 -443t-241 -309.5t-355 -112.5q-99 0 -186.5 46.5t-121.5 110.5q-73 -290 -89 -347q-34 -123 -127 -270l-149 54q-7 167 22 290l162 688 q-40 81 -40 200q0 139 70.5 232.5t172.5 93.5q83 0 127 -53.5t44 -135.5q0 -51 -18.5 -124t-49 -170t-44.5 -154q-23 -99 37.5 -171t161.5 -72q117 0 209.5 92t142 244.5t49.5 334.5q0 214 -139 349t-387 135q-139 0 -257.5 -49.5t-197 -133t-122.5 -193t-44 -229.5 q0 -147 83 -247q18 -21 21.5 -34t-3.5 -37q-16 -61 -25 -101q-7 -24 -24.5 -32t-39.5 1q-127 51 -192.5 181.5t-65.5 300.5z" /> +<glyph unicode="" d="M0 1024q0 208 81 398t218.5 327t327 218t397.5 81q209 0 398.5 -81t326.5 -218t218 -326.5t81 -398.5t-81 -398.5t-218 -326.5t-326.5 -218t-398.5 -81q-147 0 -290 42q74 116 103 219l72 282q28 -53 99 -90.5t151 -37.5q162 0 288.5 91.5t195.5 251t69 359.5 q0 114 -47 220t-130 187.5t-206.5 130.5t-265.5 49q-141 0 -262 -38.5t-205.5 -103t-145.5 -147.5t-89.5 -172.5t-28.5 -178.5q0 -138 53 -243.5t156 -147.5q18 -8 32.5 -1t18.5 26q2 9 10 41t11 41q5 19 2.5 30t-16.5 28q-68 78 -68 200q0 97 35.5 186t99.5 156.5t160 108 t209 40.5q201 0 313.5 -109.5t112.5 -283.5q0 -148 -40 -271.5t-115 -198t-169 -74.5q-82 0 -131.5 58.5t-30.5 138.5q11 46 35.5 125t39.5 138t15 101q0 66 -35.5 109.5t-102.5 43.5q-82 0 -139.5 -76t-57.5 -189q0 -43 8 -83.5t16 -59.5l9 -19q-113 -475 -132 -558 q-24 -97 -18 -235q-275 120 -444 374t-169 564z" /> +<glyph unicode="" d="M160 1024q0 -172 122 -294t294 -122t294 122t122 294t-122 294t-294 122t-294 -122t-122 -294zM1056 1024q0 -172 122 -294t294 -122t294 122t122 294t-122 294t-294 122t-294 -122t-122 -294z" /> +<glyph unicode="" d="M256 896v384q0 106 75 181t181 75h1024q106 0 181 -75t75 -181v-384q0 -106 -75 -181t-181 -75h-448l-448 -448v448h-128q-106 0 -181 75t-75 181z" /> +<glyph unicode="" d="M384 512v1024h384l64 -128h448v-128h-640l-128 -256h128l64 128h960l-256 -640h-1024z" /> +<glyph unicode="" d="M256 768l768 768h512v-512l-768 -768zM1152 1280q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5z" /> +<glyph unicode="" d="M256 1088q0 143 55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5t-55.5 -273.5t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5zM384 1088q0 -117 45.5 -223.5t123 -184t184 -123t223.5 -45.5 t223.5 45.5t184 123t123 184t45.5 223.5t-45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5zM896 1062v474h128v-421l298 -298l-90 -91z" /> +<glyph unicode="" d="M512 384v256q0 159 112.5 271.5t271.5 112.5h256q159 0 271.5 -112.5t112.5 -271.5v-256h-1024zM768 1408q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181z" /> +<glyph unicode="" d="M256 384v1280h256v128h128v-128h640v128h128v-128h256v-1280h-1408zM384 640q0 -53 37.5 -90.5t90.5 -37.5h896q53 0 90.5 37.5t37.5 90.5v640q0 53 -37.5 90.5t-90.5 37.5h-896q-53 0 -90.5 -37.5t-37.5 -90.5v-640zM768 1216q0 26 19 45t45 19h128q26 0 45 -19t19 -45 v-512q0 -26 -19 -45t-45 -19t-45 19t-19 45v448h-64q-26 0 -45 19t-19 45z" /> +<glyph unicode="" d="M256 384v1280h256v128h128v-128h640v128h128v-128h256v-1280h-1408zM384 640q0 -53 37.5 -90.5t90.5 -37.5h896q53 0 90.5 37.5t37.5 90.5v640q0 53 -37.5 90.5t-90.5 37.5h-896q-53 0 -90.5 -37.5t-37.5 -90.5v-640zM768 1216q0 26 19 45t45 19h256h2h1h3 q22 -2 38.5 -18t19.5 -39v-2v-2v-1v-2q0 -5 -2 -15l-128 -512q-6 -26 -28.5 -40t-48.5 -7q-26 6 -40 28.5t-7 48.5l108 433h-174q-26 0 -45 19t-19 45z" /> +<glyph unicode="" d="M256 384v1280h256v128h128v-128h640v128h128v-128h256v-1280h-1408zM384 640q0 -53 37.5 -90.5t90.5 -37.5h896q53 0 90.5 37.5t37.5 90.5v640q0 53 -37.5 90.5t-90.5 37.5h-896q-53 0 -90.5 -37.5t-37.5 -90.5v-640zM512 640v128h128v-128h-128zM512 896v128h128v-128 h-128zM768 640v128h128v-128h-128zM768 896v128h128v-128h-128zM768 1152v128h128v-128h-128zM1024 640v128h128v-128h-128zM1024 896v128h128v-128h-128zM1024 1152v128h128v-128h-128zM1280 896v128h128v-128h-128zM1280 1152v128h128v-128h-128z" /> +<glyph unicode="" d="M256 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5q0 -184 -111 -337l495 -495l-128 -128l-495 495q-153 -111 -337 -111q-117 0 -223.5 45.5t-184 123t-123 184t-45.5 223.5zM384 1216q0 -185 131.5 -316.5 t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5z" /> +<glyph unicode="" d="M256 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5q0 -184 -111 -337l495 -495l-128 -128l-495 495q-153 -111 -337 -111q-117 0 -223.5 45.5t-184 123t-123 184t-45.5 223.5zM384 1216q0 -185 131.5 -316.5 t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5zM512 1152v128h640v-128h-640z" /> +<glyph unicode="" d="M256 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5q0 -184 -111 -337l495 -495l-128 -128l-495 495q-153 -111 -337 -111q-117 0 -223.5 45.5t-184 123t-123 184t-45.5 223.5zM384 1216q0 -185 131.5 -316.5 t316.5 -131.5q186 0 317 131.5t131 316.5t-131 316.5t-317 131.5q-185 0 -316.5 -131.5t-131.5 -316.5zM512 1152v128h256v256h128v-256h256v-128h-256v-256h-128v256h-256z" /> +<glyph unicode="" d="M0 1024l506 506q101 103 234.5 160.5t283.5 57.5t283.5 -57.5t233.5 -159.5l507 -507l-506 -507q-101 -103 -234.5 -160t-283.5 -57t-283.5 57.5t-233.5 160.5zM272 1024l370 -371q77 -78 175.5 -119.5t206.5 -41.5t206 41.5t174 118.5l373 372l-371 371 q-158 161 -382 161q-108 0 -206.5 -41t-173.5 -119zM640 1024q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5zM1024 1152q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5z" /> +<glyph unicode="" d="M0 1024l506 506q101 103 234.5 160.5t283.5 57.5q193 0 358 -95l-143 -143q-103 46 -215 46q-108 0 -206.5 -41t-173.5 -119l-372 -372l240 -240l-136 -136zM339 429l90 -90l1280 1280l-90 90zM640 1024q0 159 112.5 271.5t271.5 112.5q44 0 98 -14l-468 -468 q-14 54 -14 98zM666 395l143 143q103 -46 215 -46q108 0 206 41.5t174 118.5l373 372l-241 241l136 135l376 -376l-506 -507q-101 -103 -234.5 -160t-283.5 -57q-193 0 -358 95zM926 654l468 468q14 -54 14 -98q0 -159 -112.5 -271.5t-271.5 -112.5q-44 0 -98 14z" /> +<glyph unicode="" d="M640 768l320 320l-320 320l128 128l320 -320l320 320l128 -128l-320 -320l320 -320l-128 -128l-320 320l-320 -320z" /> +<glyph unicode="" d="M128 256l832 832l-832 832l128 128l832 -832l832 832l128 -128l-832 -832l832 -832l-128 -128l-832 832l-832 -832z" /> +<glyph unicode="" d="M384 1280q0 106 75 181t181 75h140q20 56 69.5 92t110.5 36q62 0 111 -35.5t69 -92.5h140q106 0 181 -75t75 -181h-128v-768q0 -53 -37.5 -90.5t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v768h-128zM640 576q0 -26 19 -45t45 -19t45 19t19 45v640q0 26 -19 45 t-45 19t-45 -19t-19 -45v-640zM896 576q0 -26 19 -45t45 -19t45 19t19 45v640q0 26 -19 45t-45 19t-45 -19t-19 -45v-640zM1152 576q0 -26 19 -45t45 -19t45 19t19 45v640q0 26 -19 45t-45 19t-45 -19t-19 -45v-640z" /> +<glyph unicode="" d="M256 1151l476 -330l-183 -535l475 332l475 -332l-183 535l476 329h-587l-181 535l-180 -534h-588z" /> +<glyph unicode="" d="M384 1024l640 640l640 -640l-128 -128l-512 512l-512 -512zM640 512v384l384 384l384 -384v-384h-256v384h-256v-384h-256z" /> +<glyph unicode="" d="M0 384l640 640l384 -384l384 384l640 -640h-2048zM0 512v1152l576 -576zM0 1792h2048l-1024 -1024zM1472 1088l576 576v-1152z" /> +<glyph unicode="" d="M384 384v448l896 896l448 -448l-896 -896h-448zM512 768l256 -256l128 128l-256 256zM685 941l96 -96l595 595l-96 96zM845 781l96 -96l595 595l-96 96z" /> +<glyph unicode="" d="M256 640v704l384 384v-704h640v448l640 -640l-640 -640v448h-1024z" /> +<glyph unicode="" d="M128 384q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181zM128 971v345q240 0 459 -94t377.5 -253.5t252.5 -379.5t94 -461h-345q0 170 -63.5 324t-181.5 273q-119 119 -272 182.5t-321 63.5zM129 1582v345q243 0 475 -64.5t428.5 -181 t362 -282.5t281 -363.5t180 -430.5t64.5 -477h-345q0 197 -52 385.5t-145.5 348t-227 294t-292 228t-346 146t-383.5 52.5z" /> +<glyph unicode="" d="M21 230q-57 102 31 244l760 1237q57 93 134.5 126.5t155 0t135.5 -126.5l759 -1237q88 -142 31 -244t-224 -102h-1557q-168 0 -225 102zM896 512q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5zM896 896 q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5v384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5v-384z" /> +<glyph unicode="" d="M128 1024h400q45 0 79.5 27.5t44.5 69.5q33 125 136.5 206t235.5 81q154 0 270 -114q38 -38 90.5 -38t90.5 38q37 38 37 91t-37 90q-88 89 -204.5 139t-246.5 50q-194 0 -353 -106t-234 -278h-309v-256zM536 663q0 -53 37 -90q89 -89 205 -139t246 -50q194 0 353 106 t234 278h309v256h-400q-45 0 -79.5 -27.5t-44.5 -69.5q-33 -125 -136.5 -206t-235.5 -81q-156 0 -269 115q-38 37 -91 37t-91 -38q-37 -38 -37 -91zM768 1024q0 -106 75 -181t181 -75t181 75t75 181t-75 181t-181 75t-181 -75t-75 -181z" /> +<glyph unicode="" d="M512 832v320h128v-320q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5t93.5 226.5v640q0 80 -56 136t-136 56t-136 -56t-56 -136v-512q0 -26 19 -45t45 -19t45 19t19 45v452h128v-452q0 -80 -56 -136t-136 -56t-136 56t-56 136v512q0 133 93.5 226.5t226.5 93.5t226.5 -93.5 t93.5 -226.5v-640q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5z" /> +<glyph unicode="" d="M384 1216q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5t-44.5 -222.5t-124.5 -185.5l-407 -406l-407 406q-80 80 -124.5 185.5t-44.5 222.5zM640 1216q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5t93.5 226.5t-93.5 226.5 t-226.5 93.5t-226.5 -93.5t-93.5 -226.5z" /> +<glyph unicode="" d="M608 1056l128 128l224 -192l448 512l128 -96l-512 -768h-128z" /> +<glyph unicode="" d="M0 256v256h2048v-256h-2048zM0 896v256h2048v-256h-2048zM0 1536v256h2048v-256h-2048z" /> +<glyph unicode="" d="M384 512l640 640l640 -640h-1280zM384 1280v128h1280v-128h-1280z" /> +<glyph unicode="" d="M384 896v256h1152v-256h-1152z" /> +<glyph unicode="" d="M384 512v1024h1152v-1024h-1152zM512 640h896v640h-896v-640z" /> +<glyph unicode="" d="M128 0l960 960l960 -960h-1920z" /> +<glyph unicode="" d="M0 128l960 960l-960 960v-1920z" /> +<glyph unicode="" d="M128 2048l960 -960l960 960h-1920z" /> +<glyph unicode="" d="M1088 1088l960 960v-1920z" /> +</font> +</defs></svg>
\ No newline at end of file diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.ttf b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.ttf Binary files differnew file mode 100644 index 00000000..45228d9e --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.ttf diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woff b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woff Binary files differnew file mode 100644 index 00000000..a64be4b1 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woff diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/template-tags.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/template-tags.php new file mode 100644 index 00000000..6a398391 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/template-tags.php @@ -0,0 +1,96 @@ +<?php +/** + * Custom template tags for this theme. + * + * Eventually, some of the functionality here could be replaced by core features + * + * @package Minileven + * @since Minileven 2.0 + */ + +/** + * Display navigation to next/previous pages when applicable + */ +function minileven_content_nav( $nav_id ) { + global $wp_query; + + if ( $wp_query->max_num_pages > 1 ) : ?> + <nav id="<?php echo $nav_id; ?>"> + <h3 class="assistive-text"><?php _e( 'Post navigation', 'jetpack' ); ?></h3> + <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">«</span> Older', 'jetpack' ) ); ?></div> + <div class="nav-next"><?php previous_posts_link( __( 'Newer <span class="meta-nav">»</span>', 'jetpack' ) ); ?></div> + </nav><!-- #nav-above --> + <?php endif; +} + +/** + * Template for comments and pingbacks. + * Used as a callback by wp_list_comments() for displaying the comments. + * @since Minileven 1.0 + */ +function minileven_comment( $comment, $args, $depth ) { + $GLOBALS['comment'] = $comment; + switch ( $comment->comment_type ) : + case 'pingback' : + case 'trackback' : + ?> + <li class="post pingback"> + <p><?php _e( 'Pingback:', 'jetpack' ); ?> <?php comment_author_link(); ?></p> + <?php + break; + default : + ?> + <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"> + <article id="comment-<?php comment_ID(); ?>" class="comment"> + <footer class="comment-meta"> + <div class="comment-author vcard"> + <?php + $avatar_size = 32; + if ( '0' != $comment->comment_parent ) + $avatar_size = 24; + + echo get_avatar( $comment, $avatar_size ); + + /* translators: 1: comment author, 2: date and time */ + printf( __( '%1$s on %2$s', 'jetpack' ), + sprintf( '<span class="fn">%s</span>', get_comment_author_link() ), + sprintf( '<a href="%1$s"><time pubdate datetime="%2$s">%3$s</time></a>', + esc_url( get_comment_link( $comment->comment_ID ) ), + get_comment_time( 'c' ), + /* translators: 1: date, 2: time */ + sprintf( __( '%1$s at %2$s', 'jetpack' ), get_comment_date(), get_comment_time() ) + ) + ); + ?> + </div><!-- .comment-author .vcard --> + + <?php if ( $comment->comment_approved == '0' ) : ?> + <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'jetpack' ); ?></em> + <br /> + <?php endif; ?> + + </footer> + + <div class="comment-content"><?php comment_text(); ?></div> + <div class="reply"> + <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'jetpack' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> + </div><!-- .reply --> + </article><!-- #comment-## --> + + <?php + break; + endswitch; +} + +/** + * Prints HTML with meta information for the current post-date/time and author. + * @since Minileven 1.0 + */ +function minileven_posted_on() { + printf( __( '<span class="entry-date"><a href="%1$s" title="%2$s" rel="bookmark"><time datetime="%3$s" pubdate>%4$s</time></a></span>', 'jetpack' ), + esc_url( get_permalink() ), + esc_attr( get_the_time() ), + esc_attr( get_the_date( 'c' ) ), + esc_html( get_the_date() ) + ); +}
\ No newline at end of file diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/tweaks.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/tweaks.php new file mode 100644 index 00000000..a0c664f5 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/tweaks.php @@ -0,0 +1,103 @@ +<?php +/** + * Custom functions that act independently of the theme templates + * + * Eventually, some of the functionality here could be replaced by core features + * + * @package Minileven + * @since Minileven 2.0 + */ + +/** +* Sets the post excerpt length based on number of characters, without breaking words at the end +* +*/ +function minileven_excerpt( $count ) { + $excerpt = get_the_content(); + $excerpt = strip_tags( $excerpt ); + $excerpt = strip_shortcodes( $excerpt ); + $excerpt = substr( $excerpt, 0, $count ); + $excerpt = substr( $excerpt, 0, strripos( $excerpt, " " ) ); + $excerpt = $excerpt . minileven_continue_reading_link(); + return $excerpt; +} +/** + +/** + * Returns a "Continue Reading" link for excerpts + */ +function minileven_continue_reading_link() { + return ' … <a href="'. esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'jetpack' ) . '</a>'; +} + +/** + * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and minileven_continue_reading_link(). + */ +function minileven_auto_excerpt_more( $more ) { + return ' …' . minileven_continue_reading_link(); +} +add_filter( 'excerpt_more', 'minileven_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 minileven_custom_excerpt_more( $output ) { + if ( has_excerpt() && ! is_attachment() ) { + $output .= minileven_continue_reading_link(); + } + return $output; +} +add_filter( 'get_the_excerpt', 'minileven_custom_excerpt_more' ); + +/** + * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. + */ +function minileven_page_menu_args( $args ) { + $args['show_home'] = true; + return $args; +} +add_filter( 'wp_page_menu_args', 'minileven_page_menu_args' ); + +/** + * Adds a custom class to the array of body classes, to allow Minileven to be targeted with Custom CSS. + */ +function minileven_body_classes( $classes ) { + $classes[] = 'mobile-theme'; + return $classes; +} +add_filter( 'body_class', 'minileven_body_classes' ); + +/** + * Filters wp_title to print a neat <title> tag based on what is being viewed. + * + * @since Minileven 2.0 + */ +function minileven_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', 'jetpack' ), max( $paged, $page ) ); + + return $title; +} +add_filter( 'wp_title', 'minileven_wp_title', 10, 2 ); + +/** + * Add theme support for Responsive Videos. + */ +add_theme_support( 'jetpack-responsive-videos' );
\ No newline at end of file diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/index.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/index.php new file mode 100644 index 00000000..63a51a19 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/index.php @@ -0,0 +1,75 @@ +<?php +/** + * The main template file. + * + * This is the most generic template file in a WordPress theme + * and one of the two required files for a theme (the other being style.css). + * It is used to display a page when nothing more specific matches a query. + * E.g., it puts together the home page when no home.php file exists. + * Learn more: http://codex.wordpress.org/Template_Hierarchy + * + * @package Minileven + */ + +get_header(); ?> + + <div id="primary"> + <div id="content" role="main"> + + <?php if ( is_archive() ) : ?> + <header class="page-header"> + <h1 class="page-title"> + <?php if ( is_day() ) : ?> + <?php printf( __( 'Daily Archives: %s', 'jetpack' ), '<span>' . get_the_date() . '</span>' ); ?> + <?php elseif ( is_month() ) : ?> + <?php printf( __( 'Monthly Archives: %s', 'jetpack' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?> + <?php elseif ( is_year() ) : ?> + <?php printf( __( 'Yearly Archives: %s', 'jetpack' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?> + <?php elseif ( is_category() ) : ?> + <?php printf( __( 'Posted in %s', 'jetpack' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?> + <?php elseif ( is_tag() ) : ?> + <?php printf( __( 'Tagged with %s', 'jetpack' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?> + <?php elseif( is_author() ) : ?> + <?php printf( __( 'Posted by %s', 'jetpack' ), '<span>' . get_the_author() . '</span>' ); ?> + <?php else : ?> + <?php _e( 'Blog Archives', 'jetpack' ); ?> + <?php endif; ?> + </h1> + </header> + <?php endif; ?> + + <?php if ( is_search() ) : ?> + <header class="page-header"> + <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'jetpack' ), '<span>' . get_search_query() . '</span>' ); ?></h1> + </header> + <?php endif; ?> + + <?php if ( have_posts() ) : // Start the loop ?> + <?php while ( have_posts() ) : the_post(); ?> + + <?php get_template_part( 'content', get_post_format() ); ?> + + <?php endwhile; ?> + + <?php else : ?> + <article id="post-0" class="post error404 not-found"> + <header class="entry-header"> + <h1 class="entry-title"><?php _e( 'Nothing Found', 'jetpack' ); ?></h1> + </header><!-- .entry-header --> + + <div class="entry-content"> + <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'jetpack' ); ?></p> + <?php get_search_form(); ?> + </div><!-- .entry-content --> + </article><!-- #post-0 --> + + <?php endif; ?> + + </div><!-- #content --> + + <?php minileven_content_nav( 'nav-below' ); ?> + + </div><!-- #primary --> + +<?php get_sidebar(); ?> +<?php get_footer(); ?> diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/js/small-menu.js b/plugins/jetpack/modules/minileven/theme/pub/minileven/js/small-menu.js new file mode 100644 index 00000000..ee3c7a4d --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/js/small-menu.js @@ -0,0 +1,38 @@ +/** + * navigation.js + * + * Handles toggling the navigation menu for small screens. + */ +( function() { + var nav = document.getElementById( 'access' ), + button, + menu; + if ( ! nav ) { + return; + } + button = nav.getElementsByTagName( 'h3' )[ 0 ]; + menu = nav.getElementsByTagName( 'ul' )[ 0 ]; + if ( ! button ) { + return; + } + + // Hide button if menu is missing or empty. + if ( ! menu || ! menu.childNodes.length ) { + button.style.display = 'none'; + return; + } + + button.onclick = function() { + if ( -1 === menu.className.indexOf( 'nav-menu' ) ) { + menu.className = 'nav-menu'; + } + + if ( -1 !== button.className.indexOf( 'toggled-on' ) ) { + button.className = button.className.replace( ' toggled-on', '' ); + menu.className = menu.className.replace( ' toggled-on', '' ); + } else { + button.className += ' toggled-on'; + menu.className += ' toggled-on'; + } + }; +} )(); diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/page.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/page.php new file mode 100644 index 00000000..0b09197b --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/page.php @@ -0,0 +1,47 @@ +<?php +/** + * The template for displaying all pages. + * + * This is the template that displays all pages by default. + * Please note that this is the WordPress construct of pages + * and that other 'pages' on your WordPress site will use a + * different template. + * + * @package Minileven + */ + +get_header(); ?> + + <div id="primary"> + <div id="content" role="main"> + + <?php while ( have_posts() ) : the_post(); ?> + + <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <header class="entry-header"> + <?php if ( '1' == get_option( 'wp_mobile_featured_images' ) && minileven_show_featured_images() ) : ?> + <div class="entry-thumbnail"> + <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'jetpack' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="minileven-featured-thumbnail"><?php the_post_thumbnail(); ?></a> + </div><!-- .entry-thumbnail --> + <?php endif; ?> + <h1 class="entry-title"><?php the_title(); ?></h1> + </header><!-- .entry-header --> + + <div class="entry-content"> + <?php the_content(); ?> + <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'jetpack' ) . '</span>', 'after' => '</div>' ) ); ?> + </div><!-- .entry-content --> + <?php if ( is_user_logged_in() ) : ?> + <footer class="entry-meta"> + <?php edit_post_link( __( 'Edit', 'jetpack' ), '<span class="edit-link">', '</span>' ); ?> + </footer><!-- .entry-meta --> + <?php endif; ?> + </article><!-- #post-<?php the_ID(); ?> --> + + <?php comments_template( '', true ); ?> + + <?php endwhile; // end of the loop. ?> + + </div><!-- #content --> + </div><!-- #primary --> +<?php get_footer(); ?>
\ No newline at end of file diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css b/plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css new file mode 100644 index 00000000..b2839d74 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css @@ -0,0 +1,574 @@ +/* +Theme Name: Twenty Eleven + +Adding support for language written in a Right To Left (RTL) direction is easy - +it's just a matter of overwriting all the horizontal positioning attributes +of your CSS stylesheet in a separate stylesheet file named rtl.css. + +http://codex.wordpress.org/Right_to_Left_Language_Support + +*/ + +/* =Reset reset +----------------------------------------------- */ + +caption, th, td { + text-align: right; +} + +/* =Structure +----------------------------------------------- */ + +body { + direction:rtl; + unicode-bidi:embed; +} + +/* Showcase */ +.page-template-showcase-php section.recent-posts { + float: left; + margin: 0 31% 0 0; +} +.page-template-showcase-php #main .widget-area { + float: right; + margin: 0 0 0 -22.15%; +} + +/* One column */ + +.one-column article.feature-image.small .entry-summary a { + left: auto; + right: -9%; +} + +/* Simplify the pullquotes and pull styles */ +.one-column.singular .entry-meta .edit-link a { + right: 0px; + left: auto; +} +/* Make sure we have room for our comment avatars */ +.one-column .commentlist > li.comment { + margin-left: 0; + margin-right: 102px; +} +/* Make sure the logo and search form don't collide */ +.one-column #branding #searchform { + right: auto; + left: 40px; +} +/* Talking avatars take up too much room at this size */ +.one-column .commentlist > li.comment { + margin-right: 0; +} +.one-column .commentlist > li.comment .comment-meta, +.one-column .commentlist > li.comment .comment-content { + margin-right: 0; + margin-left: 85px; +} +.one-column .commentlist .avatar { + right: auto; + left: 1.625em; +} +.one-column .commentlist .children .avatar { + left: auto; + right: 2.2em; +} + +/* =Global +----------------------------------------------- */ + +/* Text elements */ +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 2.5em 1.625em 0; +} +.ltr ul, ol { + margin: 0 0 1.625em 2.5em; +} +blockquote { + font-family: Arial, sans-serif; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} + +/* Forms */ +textarea { + padding-left: 0; + padding-right: 3px; +} +input#s { + background-position: 97% 6px; + padding: 4px 28px 4px 10px; +} + +/* Assistive text */ +#access a.assistive-text:active, +#access a.assistive-text:focus { + left: auto; + right: 7.6%; +} + +/* =Header +----------------------------------------------- */ + +#site-title { + margin-right: 0; + margin-left: 270px; +} + +#site-description { + margin: 0 0 3.65625em 270px; +} + +/* =Menu +-------------------------------------------------------------- */ + +#access { + float: right; +} +#access ul { + margin: 0 -0.8125em 0 0; + padding-right: 0; +} +#access li { + float: right; +} +#access ul ul { + float: right; + left: auto; + right: 0; +} +#access ul ul ul { + left: auto; + right: 100%; +} + +/* Search Form */ +#branding #searchform { + right: auto; + left: 7.6%; + text-align: left; +} +#branding #s { + float: left; +} +#branding .only-search + #access div { + padding-right: 0; + padding-left: 205px; +} + + +/* =Content +----------------------------------------------- */ +.entry-title, +.entry-header .entry-meta { + padding-right: 0; + padding-left: 76px; +} +.entry-content td, +.comment-content td { + padding: 6px 0 6px 10px; +} +.page-link span { + margin-right: 0; + margin-left: 6px; +} +.entry-meta .edit-link a { + float: left; +} +/* Images */ + +.wp-caption .wp-caption-text, +.gallery-caption { + font-family: Arial, sans-serif; +} +.wp-caption .wp-caption-text { + padding: 10px 40px 5px 0px; +} +.wp-caption .wp-caption-text:before { + margin-right: 0; + margin-left: 5px; + left: auto; + right: 10px; +} +#content .gallery-columns-4 .gallery-item { + padding-right:0; + padding-left:2%; +} + +/* Author Info */ +.singular #author-info { + margin: 2.2em -35.4% 0 -35.6%; +} +#author-avatar { + float: right; + margin-right: 0; + margin-left: -78px; +} +#author-description { + float: right; + margin-left: 0; + margin-right: 108px; +} +/* Comments link */ +.entry-header .comments-link a { + background-image: url(images/comment-bubble-rtl.png); + right: auto; + left: 0; +} + +/* + Post Formats Headings +*/ +.singular .entry-title, +.singular .entry-header .entry-meta { + padding-left: 0; +} +.singular .entry-header .entry-meta { + left: auto; + right: 0; +} +.singular .entry-meta .edit-link a { + left: auto; + right: 50px; +} + + +/* =Gallery +----------------------------------------------- */ + +.format-gallery .gallery-thumb { + float: right; + margin: .375em 0 0 1.625em; +} + + +/* =Status +----------------------------------------------- */ + +.format-status img.avatar { + float: right; + margin: 4px 0 2px 10px; +} + + +/* =Image +----------------------------------------------- */ + +.indexed.format-image div.entry-meta { + float: right; +} +/* =error404 +---------------------- +------------------------- */ +.error404 #main .widget { + float: right; + margin-right: auto; + margin-left: 3.7%; +} +.error404 #main .widget_archive { + margin-left: 0; +} +.error404 #main .widget_tag_cloud { + margin-left: 0; +} + +/* =Showcase +----------------------------------------------- */ + +article.intro .edit-link a { + right: auto; + left: 20px; +} + +/* Featured post */ +section.featured-post { + float: right; +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + float: left; + margin: 0 0 1.625em -8.9%; + right: auto; + left: -15px; +} +article.feature-image.small { + float: right; +} +article.feature-image.small .entry-summary p a { + left:auto; + right: -23.8%; + padding: 9px 85px 9px 26px; +} + +/* Large featured post */ +section.feature-image.large .hentry { + left:auto; + right: 9%; + margin: 1.625em 0 0 9%; +} +/* Featured Slider */ +.featured-posts .showcase-heading { + padding-left: 0; + padding-right: 8.9%; +} +.featured-posts section.featured-post { + left: auto; + right: 0; +} +#content .feature-slider { + right: auto; + left: 8.9%; +} +.feature-slider li { + float: right; +} +/* Recent Posts */ +section.recent-posts .other-recent-posts a[rel="bookmark"] { + float: right; +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + padding: 0.3125em 1em 0.3125em 0; + left: 0; + text-align: left; +} + +/* =Attachments +----------------------------------------------- */ + +/* =Navigation +-------------------------------------------------------------- */ + +.nav-previous { + float: right; +} +.nav-next { + float: left; + text-align: left; +} + +/* Singular navigation */ +#nav-single { + float: left; + text-align: left; +} +#nav-single .nav-next { + padding-left: 0; + padding-right: .5em; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget ul ul { + margin-left: 0; + margin-right: 1.5em; +} + +/* Twitter */ +.widget_twitter .timesince { + margin-right: 0; + margin-left: -10px; + text-align: left; +} + +/* =Comments +----------------------------------------------- */ + +.commentlist .children li.comment { + border-left: none; + border-right: 1px solid #ddd; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.commentlist .children li.comment .comment-meta { + margin-left: 0; + margin-right: 50px; +} +.commentlist .avatar { + left: auto; + right: -102px; +} +.commentlist > li:before { + content: url(images/comment-arrow-rtl.png); + left:auto; + right: -21px; +} +.commentlist > li.pingback:before { + content: ''; +} +.commentlist .children .avatar { + left: auto; + right: 2.2em; +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor:before { + content: url(images/comment-arrow-bypostauthor-rtl.png); +} + +/* sidebar-page.php comments */ +/* Make sure we have room for our comment avatars */ +.page-template-sidebar-page-php .commentlist > li.comment, +.page-template-sidebar-page-php.commentlist .pingback { + margin-left: 0; + margin-right: 102px; +} + +/* Comment Form */ +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + left: auto; + right: 4px; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + -webkit-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); + -moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); + box-shadow: -1px 2px 2px rgba(204,204,204,0.8); +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + left: auto; + right: 75%; +} +#respond .form-submit { + float: left; +} +#respond input#submit { + left: auto; + right: 30px; + padding: 5px 22px 5px 42px; +} +#respond #cancel-comment-reply-link { + margin-left: 0; + margin-right: 10px; +} +#cancel-comment-reply-link { + right: auto; + left: 1.625em; +} + +/* =Footer +----------------------------------------------- */ + +/* Two Footer Widget Areas */ +#supplementary.two .widget-area { + float: right; + margin-right: 0; + margin-left: 3.7%; +} +#supplementary.two .widget-area + .widget-area { + margin-left: 0; +} + +/* Three Footer Widget Areas */ +#supplementary.three .widget-area { + float: right; + margin-right: 0; + margin-left: 3.7%; +} +#supplementary.three .widget-area + .widget-area + .widget-area { + margin-left: 0; +} + +/* Site Generator Line */ +#site-generator .sep { + background-position: right center; +} + + +/* =Responsive Structure +----------------------------------------------- */ + +@media (max-width: 800px) { + /* Simplify the showcase template when small feature */ + section.featured-post .attachment-small-feature, + .one-column section.featured-post .attachment-small-feature { + float: right; + } + article.feature-image.small { + float: left; + } + article.feature-image.small .entry-summary p a { + right: 0; + } + .singular .entry-meta .edit-link a { + left: auto; + right: 0px; + } + /* Make sure we have room for our comment avatars */ + .commentlist > li.comment, + .commentlist .pingback { + margin-left: 0; + margin-right: 102px; + } + /* No need to float footer widgets at this size */ + #colophon #supplementary .widget-area { + margin-left: 0; + } + /* No need to float 404 widgets at this size */ + .error404 #main .widget { + margin-left: 0; + } +} +@media (max-width: 650px) { + /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ + #site-title, + #site-description { + margin-left: 0; + } + /* Talking avatars take up too much room at this size */ + .commentlist > li.comment, + .commentlist > li.pingback { + margin-right: 0 !important; + } + .commentlist .children .avatar { + left: auto; + right: 2.2em; + } + /* Use the available space in the smaller comment form */ + #respond .comment-form-author .required, + #respond .comment-form-email .required { + left: auto; + right: 95%; + } + #content .gallery-columns-3 .gallery-item { + padding-right: 0; + padding-left:2%; + } +} +@media (max-width: 450px) { + #content .gallery-columns-2 .gallery-item { + padding-right:0; + padding-left:4%; + } +} + +/* =Print +----------------------------------------------- */ + +@media print { + #primary { + float: right; + } + /* Comments */ + .commentlist .avatar { + left: auto; + right: 2.2em; + } + .commentlist li.comment .comment-meta { + margin-left: 0; + margin-right: 50px; + } +} diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/screenshot.png b/plugins/jetpack/modules/minileven/theme/pub/minileven/screenshot.png Binary files differnew file mode 100644 index 00000000..d735057f --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/screenshot.png diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/searchform.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/searchform.php new file mode 100644 index 00000000..b4fd79aa --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/searchform.php @@ -0,0 +1,12 @@ +<?php +/** + * The template for displaying search forms in Minileven + * + * @package Minileven + */ +?> + <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> + <label for="s" class="assistive-text"><?php _e( 'Search', 'jetpack' ); ?></label> + <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'jetpack' ); ?>" /> + <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'jetpack' ); ?>" /> + </form> diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/sidebar.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/sidebar.php new file mode 100644 index 00000000..5d1a4a06 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/sidebar.php @@ -0,0 +1,12 @@ +<?php +/** + * The Sidebar containing the main widget area. + * + * @package Minileven + */ +?> + <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> + <div id="secondary" class="widget-area" role="complementary"> + <?php dynamic_sidebar( 'sidebar-1' ); ?> + </div><!-- #secondary .widget-area --> + <?php endif; ?>
\ No newline at end of file diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css b/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css new file mode 100644 index 00000000..d3727dc0 --- /dev/null +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css @@ -0,0 +1,1588 @@ +/* +Theme Name: Minileven +Theme URI: http://theme.wordpress.com +Author: Automattic +Author URI: http://theme.wordpress.com +Description: The Minileven theme is a clean, lightweight mobile experience for your blog based on Twenty Eleven. +Version: 2.0-wpcom +License: GNU General Public License +License URI: license.txt +Tags: dark, light, white, black, gray, one-column, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, full-width-template, infinite-scroll, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, blog, bright, clean, contemporary, elegant, minimal, modern, photography, simple, tumblelog +*/ + +.image-attachment .entry-caption p { + font-size: 0.769em; + letter-spacing: 0.1em; + line-height: 2.6; + margin: 0 0 2.6em; + text-transform: uppercase; +} + +/* =Webfont, thanks to FontSquirrel.com for conversion! +-------------------------------------------------------------- */ +@font-face { + font-family: 'Genericons'; + src: url('inc/fonts/genericons-regular-webfont.eot'); + src: url('inc/fonts/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), + url('inc/fonts/genericons-regular-webfont.woff') format('woff'), + url('inc/fonts/genericons-regular-webfont.ttf') format('truetype'), + url('inc/fonts/genericons-regular-webfont.svg#genericonsregular') format('svg'); + font-weight: normal; + font-style: normal; + +} + +/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html +-------------------------------------------------------------- */ + +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; +} +:focus {/* remember to define focus styles! */ + outline: 0; +} +body { + background: #fff; + line-height: 1; +} +ol, ul { + list-style: none; +} +a img { + border: 0; +} +article, aside, details, figcaption, figure, +footer, header, menu, nav, section { + display: block; +} + + +/* =Global +----------------------------------------------- */ + +body, input, textarea { + color: #404040; + font: 13px "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + line-height: 1.625; + word-wrap: break-word; +} +body { + background: #f1f1f1; + font-weight: 400; +} +#page, +#branding { + background: #fff; + -moz-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 ); + -webkit-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 ); + box-shadow: 0 1px 2px rgba( 0,0,0,0.075 ); +} + +/* Headings */ +h1,h2,h3,h4,h5,h6 { + clear: both; +} +hr { + background-color: #ccc; + border: 0; + height: 1px; + margin-bottom: 1.625em; +} + +/* Text elements */ +p { + margin-bottom: 1.0em; +} +ul, ol { + margin: 0 0 1.625em 2.5em; +} +ul { + list-style: square; +} +ol { + list-style-type: decimal; +} +ul ul, ol ol, ul ol, ol ul { + margin-bottom: 0; +} +dl { + margin: 0 1.625em; +} +dt { + font-weight: bold; +} +dd { + margin-bottom: 1.625em; +} +strong { + font-weight: bold; +} +cite, em, i { + font-style: italic; +} +blockquote { + font-style: italic; + font-weight: normal; + margin: 0; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} +blockquote cite { + color: #666; + font-size: 0.800em; + font-weight: 300; + letter-spacing: 0.05em; + text-transform: uppercase; +} +pre { + background: #f4f4f4; + font: 1em "Courier 10 Pitch", Courier, monospace; + line-height: 1.5; + margin-bottom: 1.625em; + overflow: auto; + padding: 0.75em 1.625em; +} +code, kbd { + font: 1em Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} +abbr, acronym, dfn { + border-bottom: 1px dotted #666; + cursor: help; +} +address { + display: block; + margin: 0 0 1.625em; +} +ins { + background: #fff9c0; + text-decoration: none; +} +sup, +sub { + font-size: 0.667em; + height: 0; + line-height: 1; + position: relative; + vertical-align: baseline; +} +sup { + bottom: 1ex; +} +sub { + top: .5ex; +} + +/* Forms */ +input[type=text], +input[type=email], +input[type=password], +textarea { + background: #fafafa; + -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + border: 1px solid #ddd; + color: #888; +} +input[type=text]:focus, +input[type=email]:focus, +textarea:focus { + color: #373737; +} +textarea { + padding-left: 3px; + width: 98%; +} +input[type=text], +input[type=email] { + padding: 3px; +} +input#s { + border-radius: 2px; + height: 1.692em; + line-height: 1.2; + padding: 0.4em 0.6em 0.29em; +} +input#s:focus { + padding-bottom: 0.3em; +} +input#searchsubmit { + display: none; +} +input#s:focus, +input[type=text]:focus, +input[type=email]:focus, +textarea:focus { + font-size: 1.231em; +} + +/* Links */ +a { + color: #278dbc; + text-decoration: none; +} +a:hover, +.entry-title a:hover, +.entry-meta .edit-link a:hover, +.commentlist .edit-link a:hover, +.entry-meta .comments-link a:hover { + color: #7dcae7; +} +/* Assistive text */ +.assistive-text { + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; + visibility: hidden; +} + + +/* =Structure +----------------------------------------------- */ + +#page { + margin: 0 auto; + padding: 2.5%; +} +#branding { + margin: 0.6em auto 0; + padding: 2.5% 2.5% 1.5%; +} + +#primary, +#secondary { + margin: 0 auto; + width: auto; +} +#secondary { + margin-top: 0.8em; +} + +/* Alignment */ +.aligncenter, +.alignleft, +.alignright { + clear: both; + display: block; + margin-left: auto; + margin-right: auto; +} + +/* Make sure embeds and iframes scale on smaller screens */ +embed, +iframe, +object { + width: auto; +} +.jetpack-video-wrapper { + margin-bottom: 1.0em; +} + +/* Make sure the WordPress Video Shortcode scales on smaller screens */ +video { + height: 100% !important; + max-width: 100% !important; + width: 100% !important; +} +.wp-video { + width: 100% !important; +} + + +/* =Header +----------------------------------------------- */ + +#branding .site-branding { + margin-bottom: 1.3em; +} +#site-title, +#site-description { + clear: none; +} +#site-title a { + color: #111; + font-size: 1.846em; + font-weight: bold; + line-height: 1.3; +} +#site-description { + color: #7a7a7a; + font-size: 0.923em; +} + +/* Header Image */ +#header-img { + text-align: center; +} +header img { + max-width: 100%; + height: auto; +} + + +/* =Navigation and Search Form +----------------------------------------------- */ + +.menu-search { + background: #1e8cbe; + -webkit-box-shadow: inset 0 -1px rgba(0, 86, 132, 0.8), 0 1px 3px rgba(0, 86, 132, 0.4); + -moz-box-shadow: inset 0 -1px 0 rgba(0, 86, 132, 0.8), 0 1px 3px rgba(0, 86, 132, 0.4); + box-shadow: inset 0 -1px 0 rgba(0, 86, 132, 0.8), 0 1px 3px rgba(0, 86, 132, 0.4); + clear: both; + height: 46px; + width: 100%; +} +.menu-search:after { + clear: both; + content: ""; + display: block; +} +.menu-search, +#access, +.menu-toggle, +#access .menu-label { + height: 46px; +} + +/* Small menu */ +#access { + float: left; + width: 60%; +} +.search-form { + float: right; + text-align: right; + width: 39%; +} +.menu-toggle { + cursor: pointer; +} +#access h3.toggled-on { + opacity: 0.8; +} +#access ul.nav-menu { + background: #fff; + -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1); + display: none; + position: absolute; + left: 0.5em; + top: 3em; + width: 100%; + z-index: 99999; +} +.admin-bar #access ul.nav-menu { + top: 6.6em; +} +.main-small-navigation .menu { + background: #f9f9f9; + border: 1px solid #e9e9e9; + position: absolute; + width: 100%; +} +#access ul.nav-menu:before { + color: #fff; + content: '\f500'; + display: inline-block; + font: 0.9em/1 'Genericons'; + left: 49px; + position: absolute; + top: -11px; + } +#access ul li { + border-bottom: 1px solid rgba( 0, 0, 0, 0.1 ); + padding: 1em 0.8em; +} +#access ul li:last-of-type { + border: none; +} +#access ul ul li, +#access ul ul ul li { + border: none; + padding-bottom: 0; +} +#access a { + display: block; + font-size: 1em; +} +#access ul { + display: none; + list-style: none; + margin: 0; + padding: 0.5em 0; +} +#access ul ul { + display: block; +} +#access .sub-menu { + margin: 0 0 0 15px; +} +#access .menu-toggle { + clear: none; + color: #fff; + font-size: 1.077em; + line-height: 2.5; + padding: 0.3em 0 0 0.8em; +} +#access .menu-toggle:after { + content: '\f502'; + cursor: pointer; + display: inline-block; + font: 0.7em/1 'Genericons'; + margin-left: 0.8em; + margin-top: 1.7em; + position: absolute; +} +#access .toggled-on:after { + opacity: 0.8; +} +#access ul.nav-menu.toggled-on { + display: inline-block; +} +.search-form #s { + background: #006d9d; + border: 1px solid #00587f; + border-width: 0 0 0 1px; + border-radius: 0; + color: rgba( 255, 255, 255, 0.6 ); + font-size: 1em; + height: 30px; + margin-right: 0; + padding: 0.6em; + width: 80%; +} + + +/* =Content +----------------------------------------------- */ + +.page-title { + color: #666; + font-size: 0.769em; + font-weight: 300; + letter-spacing: 0.1em; + line-height: 2.6; + margin-bottom: 1.2em; + text-transform: uppercase; +} +.page-title a { + font-size: 0.923em; + font-weight: bold; + letter-spacing: 0; + text-transform: none; +} +.hentry, +.no-results { + clear: both; + margin: 0 0 1.5em; + padding: 0 0 2em; + position: relative; +} +.hentry { + border-bottom: 1px solid #ececec; +} +.hentry:last-child, +.no-results, +body.singular .hentry { + border-bottom: none; +} +.blog .sticky .entry-header .entry-meta { + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; +} +.entry-title { + clear: both; + font-size: 1.538em; + line-height: 1.260; + word-wrap: break-word; +} +.featured-post .entry-title { + font-size: 1.077em; +} +.entry-title, +.entry-title a { + color: #333; + text-decoration: none; +} +.entry-meta { + color: #666; + clear: both; + font-size: 0.923em; + font-weight: 300; + line-height: 1.385; + overflow: hidden; + padding: 0 0 0.6em 0; +} +.entry-meta .entry-date, +.entry-meta .entry-gallery { + display: block; + float: left; +} +.entry-meta .author-link { + display: block; + margin-top: 0.7em; +} +.entry-meta .comments-link { + display: block; + float: right; +} +.entry-meta .edit-link a { + margin-right: .5em; +} +.entry-meta .edit-link a, +.commentlist .edit-link a, +.entry-meta .comments-link a, +a.comment-reply-link { + color: #464646; +} +.entry-meta .edit-link a { + float: right; + text-decoration: none; + padding: 0 0.615em; +} +.entry-meta .comments-link a:before, +.entry-meta .edit-link a:before { + display: inline-block; + -webkit-font-smoothing: antialiased; + font: normal 18px/1 'Genericons'; + margin-right: 0.1em; + vertical-align: top; +} +.entry-meta .comments-link a:before { + content: '\f300'; + font-family: Genericons; +} +.entry-meta .edit-link a:before, +.commentlist .edit-link a:before { + content: '\f411'; + font-family: Genericons; +} +.commentlist .edit-link a:before, +.entry-meta .comments-link a:before, +.entry-meta .edit-link a:before, +a.comment-reply-link:before { + color: #7bcbe4; +} +.entry-content { + font-size: 1em; + line-height: 1.538; + margin: 1.286em 0; + padding: 0; +} +.entry-content h1, +.entry-content h2, +.comment-content h1, +.comment-content h2, +.entry-content h3, +.comment-content h3 { + color: #000; + margin: 0 0 .8125em; +} +.entry-content h1, +.comment-content h1 { + font-size: 1.5em; + line-height: 2.9; +} +.entry-content h2, +.comment-content h2 { + font-size: 1.4em; + line-height: 2.6; +} +.entry-content h3, +.comment-content h3 { + font-size: 1.3em; + line-height: 2.3; +} +.entry-content table, +.comment-content table { + border-bottom: 1px solid #ddd; + margin: 0 0 1.625em; + width: 100%; +} +.entry-content th, +.comment-content th { + color: #666; + font-size: 0.769em; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6; + text-transform: uppercase; +} +.entry-content td, +.comment-content td { + border-top: 1px solid #ddd; + padding: 0.600em 1em 0.600em 0; +} +.entry-content #s { + width: 75%; +} +.comment-content ul, +.comment-content ol { + margin-bottom: 1.625em; +} +.comment-content ul ul, +.comment-content ol ol, +.comment-content ul ol, +.comment-content ol ul { + margin-bottom: 0; +} +dl.gallery-item { + margin: 0; +} +.page-link { + clear: both; + display: block; + margin: 0 0 1em; +} +.page-link a { + background: #278dbc; + color: #fff; + margin: 0; + padding: 0.1em 0.231em; + text-decoration: none; +} +.page-link span { + margin-right: 0.462em; +} + +/* Images */ +.entry-content img, +.comment-content img, +.widget img { + height: auto; + max-width: 100% !important; /* Fluid images for posts, comments, and widgets */ +} +#content .gallery-columns-3 .gallery-item img, +#content .gallery-columns-4 .gallery-item img, +#content .gallery-columns-2 .gallery-item img { + width: 100%; + height: auto; +} +img[class*="align"], +img[class*="wp-image-"], +img[class*="attachment-"] { + height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ +} +img.size-full, +img.size-large { + max-width: 100%; + width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ + height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ +} +img.size-full, +img.size-large, +img.size-medium { + display: block; + margin: 0 auto; +} +.entry-content img.wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} +img.alignleft, +img.alignright, +img.aligncenter { + margin-bottom: 1.625em; +} +p img, +.wp-caption { + margin-top: 0.4em; +} +.wp-caption { + max-width: 96%; +} +.wp-caption img { + display: block; + margin: 0 auto; + max-width: 98%; +} +.wp-caption .wp-caption-text, +.gallery-caption { + color: #999; + font-size: 0.923em; +} +.wp-caption .wp-caption-text { + margin-bottom: 0.6em; + padding: 0.833em 0 0.417em 0; + position: relative; +} +#content .gallery { + margin: 0 auto 1.625em; +} +#content .gallery a img { + border: none; +} +#content .gallery-columns-3 .gallery-item { + width: 31%; + padding-right: 2%; +} +#content .gallery-columns-4 .gallery-item { + width: 23%; + padding-right: 2%; +} +#content .gallery-columns-2 .gallery-item { + width: 45%; + padding-right: 4%; +} + + +/* Make sure embeds and iframes fit their containers */ +embed, +iframe, +object { + max-width: 100%; +} + +/* Password Protected Posts */ +.post-password-required .entry-header .comments-link { + margin: 1.625em 0 0; +} +.post-password-required input[type=password] { + margin: 0.8125em 0; +} +.post-password-required input[type=password]:focus { + background: #f7f7f7; +} + + +/* +Post Formats Headings +To hide the headings, display: none the ".entry-header .entry-format" selector, +and remove the padding rules below. +*/ +.entry-header .entry-format { + color: #666; + font-size: 0.7em; + font-weight: 300; + letter-spacing: 0.1em; + line-height: 2em; + position: absolute; + text-transform: uppercase; + top: -5px; +} +.entry-header .entry-heading .entry-title { + padding-top: 0.8em; +} +.entry-header .entry-heading { + position: relative; +} +.entry-thumbnail { + margin-bottom: 0.7em; + text-align: center; +} + +/* Singular content styles for Posts and Pages */ +.singular .hentry { + padding: 1.625em 0 0; + position: relative; +} +.page .hentry { + padding-bottom: .7em; +} +.singular .entry-meta .edit-link a { + bottom: auto; + left: 0; + position: absolute; + right: auto; + top: 40px; +} +.single-format-gallery .hentry { + margin-bottom: 0; +} +.singular #author-info { + margin: 2.2em -8.8% 0; + padding: 1.538em 8.8%; +} + + +/* =Gallery Posts +----------------------------------------------- */ + +#content .gallery { + margin-bottom: 0; +} +.format-gallery img { + margin: 0; +} +.format-gallery .gallery-large { + line-height: 1.2em; + margin: 0; + width: 100%; +} +.format-gallery .gallery-thumbs-2, + .format-gallery .gallery-thumbs-3 { + overflow: hidden; + width: 100%; +} +.format-gallery .gallery-thumbs-2 img { + margin-right: 0.3%; + max-width: 48%; +} +.format-gallery .gallery-thumbs-3 img { + float: left; + margin-left: 0.2%; + max-width: 33%; +} +.format-gallery .gallery-large, +.format-gallery .gallery-thumbs-2 img, + .format-gallery .gallery-thumbs-3 img { + display: inline-block; +} +.format-gallery .gallery-thumbs-3 .gallery-thumb-1 img { + margin: 0; +} +.gallery-info { + margin-top: 1.3em; +} + +/* =Quote Posts +----------------------------------------------- */ + +.format-quote blockquote { + color: #555; + font-size: 1.308em; + margin: 0; +} + +/* =error404 +----------------------------------------------- */ + +.error404 #main #searchform { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + overflow: hidden; + padding: 1.625em 8.9%; +} +.error404 #main #s { + width: 95%; +} +.error404 .widgettitle { + font-size: 0.769em; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} + + +/* =Attachments +----------------------------------------------- */ + +.image-attachment div.attachment { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + overflow: hidden; + padding: 1.625em 1.625em 0; + text-align: center; +} +.image-attachment div.attachment img { + display: block; + height: auto; + margin: 0 auto 1.625em; + max-width: 100%; +} +.image-attachment div.attachment a img { + border-color: #f9f9f9; +} +.image-attachment div.attachment a:focus img, +.image-attachment div.attachment a:hover img, +.image-attachment div.attachment a:active img { + border-color: #ddd; + background: #fff; +} + + +/* =Navigation +-------------------------------------------------------------- */ + +#content nav { + clear: both; +} +#nav-below, +#nav-single { + margin: 0 auto 1.9em; + overflow: hidden; + width: 100%; +} +.nav-previous { + float: left; + width: 48%; +} +.nav-next { + float: right; + width: 46%; +} +#nav-single { + display: block; + position: static; +} +#nav-single .nav-previous { + margin-left: 0; + width: 50%; +} +#nav-single .nav-next { + margin-right: 0; + width: 49%; +} +.nav-previous a, +.nav-next a { + background: #278dbc; + color: #fff; + display: block; + font-size: 1.231em; + padding: 1em 0; + text-align: center; + width: 100%; +} +#content nav .meta-nav { + font-weight: normal; +} +#jp-post-flair { + margin: 1em auto !important; +} + + + +/* =Widget Area & Widgets +----------------------------------------------- */ + +.widget-area { + background: #f9f9f9; + border-top: 1px solid #ddd; + color: #666; + font-size: 0.923em; + padding: .6em 0.8em; + -moz-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 ); + -webkit-box-shadow: 0 1px 2px rgba( 0,0,0,0.075 ); + box-shadow: 0 1px 2px rgba( 0,0,0,0.075 ); +} +.widget { + border-bottom: 1px solid #ddd; + clear: both; + margin: 0; + overflow: hidden; + padding: 1em 0; +} +.widget:last-of-type { + border: 0; +} +.widget-title { + color: #666; + font-size: 1.2em; + font-weight: bold; + line-height: 2em; + margin-bottom: 0.5em; +} +.widget-title a { + color: #666; +} +.widget ul { + list-style: none; + margin-bottom: 0; + margin-left: 0; +} +.widget ul ul { + margin-left: 1.5em; +} +.widget ul li { + color: #777; +} +.widget a { + font-weight: normal; + text-decoration: none; +} +.widget a:hover, +.widget a:focus, +.widget a:active { + text-decoration: underline; +} + +/* Search Widget */ +.widget_search #s { + width: 77%; +} +.widget_search #searchsubmit { + background: #ddd; + border: 1px solid #ccc; + -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + color: #888; + line-height: 2.083em; + position: relative; + top: -2px; +} +.widget_search #searchsubmit:active { + background: #278dbc; + border-color: #0861a5; + -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + color: #bfddf3; +} + +/* Twitter */ +.tweets { + margin-left: 0; +} +.widget_twitter li { + list-style-type: none; + margin-bottom: 1.167em; +} +.widget_twitter .timesince { + font-size: 0.917em; + font-weight: normal; + text-align: right; +} + +/* RSS-Related Widgets */ +.widget_rss img { + display: inline-block; + margin: 0; + vertical-align: middle; +} +.widget_rss .rss-date { + font-size: 90%; +} +.widget_rss_links img, +.widget_rss_links a:hover img, +.widget_rss_links a:focus img, +.widget_rss_links a:active img { + background: transparent; + border: none; + padding: 0; +} + +/* Calendar Widget */ +.widget_calendar #wp-calendar { + color: #555; + width: 95%; + text-align: center; +} +.widget_calendar #wp-calendar caption, +.widget_calendar #wp-calendar td, +.widget_calendar #wp-calendar th { + text-align: center; +} +.widget_calendar #wp-calendar caption { + font-size: 11px; + font-weight: 500; + padding: 5px 0 3px 0; + text-transform: uppercase; +} +.widget_calendar #wp-calendar th { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + font-weight: bold; +} +.widget_calendar #wp-calendar tfoot td { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + +/* Recent Comments */ +.widget_recent_comments td.recentcommentstexttop, +.widget_recent_comments td.recentcommentstextend { + vertical-align: top; +} + +/* Authors Widget */ +.widget_authors ul { + margin-left: 0; +} +.widget_authors li { + background: none !important; + overflow: hidden; +} +.widget_authors ul ul li { + overflow: hidden; +} +.widget_authors img { + float: left; + padding-right: 0.833em; + vertical-align: text-top; +} + +/*Flickr Widget */ +.widget_flickr #flickr_badge_wrapper { + background-color: transparent; + border: none; +} +#flickr_badge_uber_wrapper a:hover, +#flickr_badge_uber_wrapper a:link, +#flickr_badge_uber_wrapper a:active, +#flickr_badge_uber_wrapper a:visited { + color: #278dbc !important; +} + + +/* =Comments +----------------------------------------------- */ + +#comments { + margin-top: 1.5em; +} +#comments-title { + color: #000; + font-size: 1.154em; + font-weight: bold; + line-height: 1em; + padding: 1em 0; +} +#comment-nav-below { + overflow: hidden; +} +.nopassword, +.nocomments { + color: #aaa; + font-size: 1.846em; + font-weight: 100; + margin: 2em 0; + text-align: center; +} +.commentlist { + list-style: none; + margin: 2em auto; + width: 100%; +} +.commentlist > li.comment { + border: 1px solid rgba(0, 0, 0, 0.1); + border-width: 1px 0 0; + clear: both; + margin: 0 -2.5% 0.5em; + overflow: hidden; + padding: .8em; + position: relative; +} +.commentlist > li.comment, +.commentlist .pingback { + width: auto; +} + +/* Reblogs */ +.commentlist > li.reblog { + border: 1px solid #eee; + -moz-border-radius: 3px; + border-radius: 3px; + margin: 0 0 1.625em; + padding: 1.625em; + position: relative; +} +.commentlist .reblog .comment-meta { + display: none; +} +.commentlist .reblog p:first-child { + color: #999; + font-size: 1em; +} +.commentlist .reblog p:first-child a { + font-weight: bold; +} +.commentlist .pingback { + border-top: 1px solid rgba( 0, 0, 0, 0.1 ); + margin: 0 -2.5% 0.5em; +} +.commentlist .pingback p { + color: #c0c0c0; + margin-bottom: 0; + padding: 0.8em; +} +.commentlist .children { + list-style: none; + margin: 0; +} +.commentlist .children li.comment { + background: #f9f9f9; + border-top: 1px solid rgba( 0, 0, 0, 0.1 ); + clear: both; + margin: 1.625em 0 0; + overflow: hidden; + padding: 1.625em 1.625em 0.5em; + position: relative; +} +.comment-meta .fn { + font-style: normal; +} +.comment-meta, +.comment-content { + margin-left: 4em; +} +.comment-meta { + font-size: 0.923em; +} +.comment-content { + margin-top: 1em; +} +.commentlist .children li.comment .comment-meta { + line-height: 1.625; + margin-left: 3.462em; +} +.commentlist .children li.comment .comment-content { + margin: 1em 0 0 3.1em; +} +.comment-meta a:focus, +.comment-meta a:active, +.comment-meta a:hover { +} +.commentlist .avatar { + background: transparent; + display: block; + padding: 0; + position: absolute; + left: 13px; + top: 13px; +} +.commentlist .children .avatar { + background: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + left: 2.2em; + padding: 0; + position: absolute; + top: 2.2em; +} +.comment-actions { + float: right; + font-weight: 300; + margin-bottom: 1em; +} +a.comment-reply-link:before { + content: '\f412'; + display: inline-block; + -webkit-font-smoothing: antialiased; + font: normal 13px/1 'Genericons'; + margin: 0.2em 0.1em 0 0; + vertical-align: top; +} +a.comment-reply-link { + display: inline-block; + font-size: 0.923em; + padding: 0 0.615em; + text-decoration: none; +} +a.comment-reply-link > span { + display: inline-block; + position: relative; + top: -1px; +} + +/* Comment Form */ +#respond { + margin: 0 auto 1.625em; + width: auto; +} +#respond input[type="text"], +#respond textarea { + background: #fff; + position: relative; + padding: 0.615em; +} +#respond .comment-form-author, +#respond .comment-form-email, +#respond .comment-form-url, +#respond .comment-form-comment { + position: relative; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + display: inline-block; + font-size: 1.077em; + padding: 0.154em 0 0; + position: relative; +} +#respond textarea { + resize: vertical; + width: 95%; +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + color: #bd3500; + font-size: 1.692em; + font-weight: bold; + left: 95%; + position: absolute; + top: 45px; + z-index: 1; +} +#respond .comment-notes, +#respond .logged-in-as { + font-size: 0.8em; + color: #666; +} +#respond .logged-in-as { + margin-top: 1em; +} +#respond p { + margin: 0.769em 0 0; +} +#respond .form-submit { + margin: 0; +} +#respond input#submit { + background-color: #2ea2cc; + background-image: -moz-linear-gradient(top, #278dbc 0%, #0074a2 100%); + background-image: -webkit-linear-gradient(top, #278dbc 0%,#0074a2 100%); + background-image: -ms-linear-gradient(top, #278dbc 0%,#0074a2 100%); + background-image: -o-linear-gradient(top, #278dbc 0%,#0074a2 100%); + background-image: linear-gradient(top, #278dbc 0%,#0074a2 100%); + + -moz-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); + -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); + -o-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); + -ms-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); + box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); + border: none; + -moz-border-radius: 2px 0 0 0; + -webkit-border-radius: 2px 0 0 0; + -o-border-radius: 2px 0 0 0; + -ms-border-radius: 2px 0 0 0; + border-radius: 2px; + color: rgba( 255, 255, 255, 0.9 ); + cursor: pointer; + font-size: 1em; + margin: 0.462em 0; + padding: 1em; + left: 30px; + text-shadow: 0 -1px 0 rgba(0,116,162,0.8); +} +#respond input#submit:hover { + color: #fff; + text-shadow: 0 -1px 0 rgb(0,116,162); + + background-image: -moz-linear-gradient(top, #2ea2cc 0%, #0074a2 100%); + background-image: -webkit-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); + background-image: -o-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); + background-image: -ms-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); + background-image: linear-gradient(top, #2ea2cc 0%,#0074a2 100%); + + -moz-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7); + -webkit-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7); + -o-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7); + -ms-box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7); + box-shadow: inset 0 1px 0 #2ea2cc, inset 0 2px 0 rgba(120,200,230,0.7); +} +#respond input#submit:active { + color:rgba(255,255,255,.9); + background-image: -moz-linear-gradient(top, #278dbc 0%, #0074a2 100%); + background-image: -webkit-linear-gradient(top, #278dbc 0%,#0074a2 100%); + background-image: -o-linear-gradient(top, #278dbc 0%,#0074a2 100%); + background-image: -ms-linear-gradient(top, #278dbc 0%,#0074a2 100%); + background-image: linear-gradient(top, #278dbc 0%,#0074a2 100%); + + -moz-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc; + -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc; + -o-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc; + -ms-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc; + box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #278dbc; +} +.commentlist #respond { + margin: 1.625em 0 0; + width: auto; +} +#respond .comment-subscription-form { + margin: 6px 0; +} +#reply-title { + font-size: 1.5em; +} +.comment #reply-title { + margin-top: 1em; +} +#cancel-comment-reply-link { + color: #bd3500; + display: block; + font-size: 0.6em; + font-weight: 300; + line-height: 2.2; + margin-top: 0.4em; + text-decoration: none; +} +#respond label { + line-height: 2.2; +} +#respond input[type=text] { + display: block; + height: 1.846em; + width: 95%; +} +#respond p { + font-size: 0.923em; +} +p.comment-form-comment { + margin: 0; +} +.form-allowed-tags { + display: none; +} + + +/* =Footer +----------------------------------------------- */ + +#colophon { + background: #f1f1f1; + clear: both; + margin-bottom: -2em; + padding-bottom: 1em; +} + +/* Site Generator Line */ +#site-generator { + border-top: 1px solid #ddd; + font-size: 0.923em; + line-height: 2.2; + padding: 2.2em 0.5em; + text-align: center; +} +#site-generator a { + color: #278dbc; +} +#site-generator .sep { + color: transparent; + display: inline-block; + height: 16px; + line-height: 1.231; + margin: 0 0.538em; + text-indent: 40px; /* Push the separator just out of the way */ + width: 3.077em; +} + + +/* =WP.com +----------------------------------------------- */ + +.entry-content .twitter-tweet-rendered { + max-width: 100% !important; /* Override the Twitter embed fixed width */ +} +.video-player { + max-width: 100% !important; +} +.videopress-placeholder, +.video-player img { + max-width: 100% !important; + height: auto !important; +} +.syntaxhighlighter { + overflow: auto; +} +.single #content #wp-likebox, +.page #content #wp-likebox { + display: block; +} +#wpl-mustlogin { + width: 240px !important; + margin-left: -60px !important; +} +img.latex { + display: inline; +} + +/* WP.com comment form */ +#comments #respond { + max-width: 75%; + margin: 0 auto 15px; +} +.content #comments #respond, +#comments .commentlist #respond { + max-width: 100%; +} +#respond textarea { + text-indent: 0; +} +.singular #content .wpl-likebox { + width: 100%; +} +#comments #respond { + max-width: 100%; +} +#wpstats { + display: block; + margin: -1.8em auto 0; +} +#wpstats2 { + display: none; +} + +/* Adjust the width of Crowdsignal polls */ +.PDS_Poll .pds-box, +.CSS_Poll .css-box { + width: 99% !important; +} + +/* Infinite Scroll */ +.infinite-wrap { + border-top: 1px solid #ececec; + padding-top: 1.5em !important; +} +.infinite-scroll .hentry:last-of-type, +.infinite-scroll .hentry.last-before-infinite { + margin-bottom: 0; +} +.infinite-scroll #content { + padding-bottom: 0.1em; +} +#infinite-handle span:before { + display: none; +} +#infinite-handle span { + background: #278dbc; + border-radius: 2px; + border: none; + color: #fff; + cursor: pointer; + font-size: 14px; + font-weight: 400; + padding: 6px 26px; + text-align: center; +} +#infinite-handle span:hover { + background: #7dcae7; +} + +/* Remove margins and padding on outer containers for super-tiny screens */ +@media only screen and (min-device-width: 100px) and (max-device-width: 300px) { + #wrapper { + margin: 0; + padding: 0; + } + #access { + padding: 0.385em 0; + } + #page, + .widget-area, + #main, + #branding { + width: 100%; + margin: 0; + } + .widget-area { + padding: 0.417em; + } +}
\ No newline at end of file |