├── screenshot.png ├── languages ├── default.mo ├── ru_RU.mo ├── default.po └── ru_RU.po ├── sidebar.php ├── js ├── keyboard-image-navigation.js ├── small-menu.js └── html5.js ├── footer.php ├── searchform.php ├── content-page.php ├── page.php ├── single.php ├── search.php ├── readme.txt ├── no-results.php ├── index.php ├── 404.php ├── header.php ├── content-single.php ├── content.php ├── inc ├── custom-header.php └── template-tags.php ├── comments.php ├── archive.php ├── functions.php ├── image.php ├── editor-style.css ├── rtl └── style-rtl.css └── style.css /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovshenin/publish/HEAD/screenshot.png -------------------------------------------------------------------------------- /languages/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovshenin/publish/HEAD/languages/default.mo -------------------------------------------------------------------------------- /languages/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kovshenin/publish/HEAD/languages/ru_RU.mo -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | 9 | 13 | -------------------------------------------------------------------------------- /js/keyboard-image-navigation.js: -------------------------------------------------------------------------------- 1 | jQuery( document ).ready( function( $ ) { 2 | $( document ).keydown( function( e ) { 3 | var url = false; 4 | if ( e.which == 37 ) { // Left arrow key code 5 | url = $( '.previous-image a' ).attr( 'href' ); 6 | } 7 | else if ( e.which == 39 ) { // Right arrow key code 8 | url = $( '.entry-attachment a' ).attr( 'href' ); 9 | } 10 | if ( url && ( !$( 'textarea, input' ).is( ':focus' ) ) ) { 11 | window.location = url; 12 | } 13 | } ); 14 | } ); -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /searchform.php: -------------------------------------------------------------------------------- 1 | 9 | 14 | -------------------------------------------------------------------------------- /content-page.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 |
12 |

13 |
14 | 15 |
16 | 17 | '' ) ); ?> 18 |
19 | 20 | ', '' ); ?> 21 |
22 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 25 | 26 | 27 | 28 |
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /search.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 |
13 | 14 | 15 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | Publish is a clean minimal theme which puts you and your content on stage. Ideal for single-author blogs. 2 | 3 | Version history: 4 | 5 | 1.2.4 6 | 7 | * Fixed post formats appending to menus bug 8 | * Added hidpi screenshot 9 | * Support header images prior to 3.4 10 | * Other minor bug fixes and enhancements 11 | 12 | 1.2.3 13 | 14 | * A whole lot of changes from @obenland 15 | * A lot of code cleanups, up to date with the latest _s 16 | * Added support for custom headers (with fallback to Gravatar) 17 | 18 | 1.2.2 19 | 20 | * No more hovercards on the logo 21 | * Respect width/height attributes for images in the content area 22 | 23 | 1.2.1 24 | 25 | * Better wp_title usage 26 | * Fixed undefined notice and minor action vs filter issue 27 | 28 | 1.2 29 | 30 | * Added support for Jetpack's infinite scroll 31 | * Footer credits via an action 32 | * Minor h2/h3 bump 33 | * Undefined notice fix 34 | 35 | 1.1 36 | 37 | * Total revamp, with underscores 38 | * Version in @since blocks remained 1.0 39 | 40 | 1.0 41 | 42 | * Back when Publish was not yet Publish but some random theme used on a random blog 43 | * There weren't any version numbers, only commits 44 | -------------------------------------------------------------------------------- /no-results.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 |

15 |
16 | 17 |
18 | 19 | 20 |

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

21 | 22 | 23 | 24 |

25 | 26 | 27 | 28 | 29 |

30 | 31 | 32 | 33 |
34 |
35 | -------------------------------------------------------------------------------- /js/small-menu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Handles toggling the main navigation menu for small screens. 3 | */ 4 | jQuery( document ).ready( function( $ ) { 5 | var $masthead = $( '#masthead' ), 6 | timeout = false; 7 | 8 | $.fn.smallMenu = function() { 9 | $masthead.find( '.site-navigation' ).removeClass( 'main-navigation' ).addClass( 'main-small-navigation' ); 10 | $masthead.find( '.site-navigation h1' ).removeClass( 'assistive-text' ).addClass( 'menu-toggle' ); 11 | 12 | $( '.menu-toggle' ).unbind( 'click' ).click( function() { 13 | $masthead.find( '.menu' ).toggle(); 14 | $( this ).toggleClass( 'toggled-on' ); 15 | } ); 16 | }; 17 | 18 | // Check viewport width on first load. 19 | if ( $( window ).width() < 600 ) 20 | $.fn.smallMenu(); 21 | 22 | // Check viewport width when user resizes the browser window. 23 | $( window ).resize( function() { 24 | var browserWidth = $( window ).width(); 25 | 26 | if ( false !== timeout ) 27 | clearTimeout( timeout ); 28 | 29 | timeout = setTimeout( function() { 30 | if ( browserWidth < 600 ) { 31 | $.fn.smallMenu(); 32 | } else { 33 | $masthead.find( '.site-navigation' ).removeClass( 'main-small-navigation' ).addClass( 'main-navigation' ); 34 | $masthead.find( '.site-navigation h1' ).removeClass( 'menu-toggle' ).addClass( 'assistive-text' ); 35 | $masthead.find( '.menu' ).removeAttr( 'style' ); 36 | } 37 | }, 200 ); 38 | } ); 39 | } ); -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
44 |
45 | 46 | 47 | -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 |
13 | 14 |
15 |
16 |

17 |
18 | 19 |
20 |

21 | 22 | 23 | 24 | 25 | 26 |
27 |

28 |
    29 | 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> 30 |
31 |
32 | 33 | ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'publish' ), convert_smilies( ':)' ) ) . '

'; 36 | the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$archive_content" ); 37 | ?> 38 | 39 | 40 | 41 |
42 |
43 | 44 |
45 |
46 | 47 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | section and everything up till
6 | * 7 | * @package Publish 8 | * @since Publish 1.0 9 | */ 10 | ?> 11 | > 12 | 13 | 14 | 15 | <?php wp_title( '-', true, 'right' ); ?> 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | > 26 |
27 | 47 | 48 |
-------------------------------------------------------------------------------- /content-single.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
> 9 |
10 |

11 |
12 | 13 |
14 | 15 | '' ) ); ?> 16 |
17 | 18 |
19 | 20 | permalink.', 'publish' ); 31 | } else { 32 | $meta_text = __( 'Bookmark the permalink.', 'publish' ); 33 | } 34 | 35 | } else { 36 | // But this blog has loads of categories so we should probably display them here 37 | if ( '' != $tag_list ) { 38 | $meta_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'publish' ); 39 | } else { 40 | $meta_text = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'publish' ); 41 | } 42 | 43 | } // end check for categories on this blog 44 | 45 | printf( 46 | $meta_text, 47 | $category_list, 48 | $tag_list, 49 | get_permalink(), 50 | the_title_attribute( 'echo=0' ) 51 | ); 52 | ?> 53 | 54 | ', '' ); ?> 55 |
56 |
57 | -------------------------------------------------------------------------------- /js/html5.js: -------------------------------------------------------------------------------- 1 | /*! HTML5 Shiv v3.6 stable | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ 2 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 3 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 4 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a"); 5 | var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a, 6 | b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d 7 | 8 |
> 9 |
10 |

11 |
12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 | →', 'publish' ) ); ?> 20 | '' ) ); ?> 21 |
22 | 23 | 24 |
25 | 26 | 35 | 36 | 37 | 38 | 39 | 40 | 45 | | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | | 54 | 55 | 56 | 57 | | ', '' ); ?> 58 |
59 |
60 | -------------------------------------------------------------------------------- /inc/custom-header.php: -------------------------------------------------------------------------------- 1 | publish_get_default_header_image(), 24 | 'width' => 100, 25 | 'height' => 100, 26 | 'flex-width' => true, 27 | 'flex-height' => true, 28 | 'header-text' => false, 29 | 'default-text-color' => '', 30 | 'wp-head-callback' => '', 31 | 'admin-head-callback' => '', 32 | 'admin-preview-callback' => '', 33 | ); 34 | 35 | $args = apply_filters( 'publish_custom_header_args', $args ); 36 | 37 | if ( function_exists( 'wp_get_theme' ) ) { 38 | add_theme_support( 'custom-header', $args ); 39 | } else { 40 | // Compat: Versions of WordPress prior to 3.4. 41 | define( 'HEADER_TEXTCOLOR', $args['default-text-color'] ); 42 | define( 'HEADER_IMAGE', $args['default-image'] ); 43 | define( 'HEADER_IMAGE_WIDTH', $args['width'] ); 44 | define( 'HEADER_IMAGE_HEIGHT', $args['height'] ); 45 | add_custom_image_header( $args['wp-head-callback'], $args['admin-head-callback'], $args['admin-preview-callback'] ); 46 | } 47 | } 48 | add_action( 'after_setup_theme', 'publish_custom_header_setup' ); 49 | 50 | /** 51 | * A default header image 52 | * 53 | * Use the admin email's gravatar as the default header image. 54 | * 55 | * @since Publish 1.2.3 56 | */ 57 | function publish_get_default_header_image() { 58 | 59 | // Get default from Discussion Settings. 60 | $default = get_option( 'avatar_default', 'mystery' ); // Mystery man default 61 | if ( 'mystery' == $default ) 62 | $default = 'mm'; 63 | elseif ( 'gravatar_default' == $default ) 64 | $default = ''; 65 | 66 | $url = ( is_ssl() ) ? 'https://secure.gravatar.com' : 'http://gravatar.com'; 67 | $url .= sprintf( '/avatar/%s/', md5( get_option( 'admin_email' ) ) ); 68 | $url = add_query_arg( array( 69 | 's' => 100, 70 | 'd' => urlencode( $default ), 71 | ), $url ); 72 | 73 | return esc_url_raw( $url ); 74 | } // publish_get_default_header_image -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | 22 | 23 |
24 | 25 | 26 | 27 | 28 |

29 | ' . get_the_title() . '' ); 32 | ?> 33 |

34 | 35 | 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 36 | 41 | 42 | 43 |
    44 | 'publish_comment' ) ); 52 | ?> 53 |
54 | 55 | 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 56 | 61 | 62 | 63 | 64 | 65 | 69 |

70 | 71 | 72 | 73 | 74 |
75 | -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 |
15 | 16 | 17 | 18 |
' ); 61 | 62 | } elseif ( is_tag() ) { 63 | // show an optional tag description 64 | $tag_description = tag_description(); 65 | if ( ! empty( $tag_description ) ) 66 | echo apply_filters( 'tag_archive_meta', '
' . $tag_description . '
' ); 67 | } 68 | ?> 69 | 70 | 71 | 72 | 73 | 74 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 |
93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | __( 'Primary Menu', 'publish' ), 60 | ) ); 61 | 62 | /** 63 | * Add support for the Aside Post Formats 64 | */ 65 | add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'chat', 'image', 'video' ) ); 66 | 67 | /** 68 | * Add support for Infinite Scroll 69 | * @since Publish 1.2 70 | */ 71 | add_theme_support( 'infinite-scroll', array( 72 | 'footer' => 'page', 73 | ) ); 74 | } 75 | endif; // publish_setup 76 | add_action( 'after_setup_theme', 'publish_setup' ); 77 | 78 | /** 79 | * Register widgetized area and update sidebar with default widgets 80 | * 81 | * @since Publish 1.0 82 | */ 83 | function publish_widgets_init() { 84 | register_sidebar( array( 85 | 'name' => __( 'Sidebar', 'publish' ), 86 | 'id' => 'sidebar-1', 87 | 'before_widget' => '', 89 | 'before_title' => '

', 90 | 'after_title' => '

', 91 | ) ); 92 | } 93 | add_action( 'widgets_init', 'publish_widgets_init' ); 94 | 95 | /** 96 | * Enqueue scripts and styles 97 | */ 98 | function publish_scripts() { 99 | global $post; 100 | 101 | wp_enqueue_style( 'publish-style', get_stylesheet_uri() ); 102 | 103 | wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206', true ); 104 | 105 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 106 | wp_enqueue_script( 'comment-reply' ); 107 | } 108 | 109 | if ( is_singular() && wp_attachment_is_image( $post->ID ) ) { 110 | wp_enqueue_script( 'keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20120202' ); 111 | } 112 | } 113 | add_action( 'wp_enqueue_scripts', 'publish_scripts' ); 114 | 115 | /** 116 | * Echoes the theme's footer credits 117 | * 118 | * @since Publish 1.2 119 | */ 120 | function publish_footer_credits() { 121 | echo publish_get_footer_credits(); 122 | } 123 | add_action( 'publish_credits', 'publish_footer_credits' ); 124 | 125 | /** 126 | * Returns the theme's footer credits 127 | * 128 | * @return string 129 | * 130 | * @since Publish 1.2 131 | */ 132 | function publish_get_footer_credits( $credits = '' ) { 133 | return sprintf( 134 | '%1$s %2$s', 135 | '' . __( 'Proudly powered by WordPress', 'publish' ) . '', 136 | sprintf( __( 'Theme: %1$s by %2$s.', 'publish' ), 'Publish', 'Konstantin Kovshenin' ) 137 | ); 138 | } 139 | add_filter( 'infinite_scroll_credit', 'publish_get_footer_credits' ); 140 | 141 | /** 142 | * Prepends the post format name to post titles on single view 143 | * 144 | * @param string $title 145 | * @return string 146 | * 147 | * @since Publish 1.2-wpcom 148 | */ 149 | function publish_post_format_title( $title, $post_id = false ) { 150 | if ( ! $post_id ) 151 | return $title; 152 | 153 | $post = get_post( $post_id ); 154 | 155 | // Prevent prefixes on menus and other areas that use the_title filter. 156 | if ( ! $post || $post->post_type != 'post' ) 157 | return $title; 158 | 159 | if ( is_single() && (bool) get_post_format( $post ) ) 160 | $title = sprintf( '%1$s: %2$s', get_post_format_string( get_post_format( $post ) ), $title ); 161 | 162 | return $title; 163 | } 164 | add_filter( 'the_title', 'publish_post_format_title', 10, 2 ); 165 | 166 | /** 167 | * Implement the Custom Header feature 168 | */ 169 | require( get_template_directory() . '/inc/custom-header.php' ); 170 | -------------------------------------------------------------------------------- /image.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 |
> 18 |
19 |

20 | 21 | 36 | 37 | 41 |
42 | 43 |
44 | 45 |
46 |
47 | $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); 53 | foreach ( $attachments as $k => $attachment ) { 54 | if ( $attachment->ID == $post->ID ) 55 | break; 56 | } 57 | $k++; 58 | // If there is more than 1 attachment in a gallery 59 | if ( count( $attachments ) > 1 ) { 60 | if ( isset( $attachments[ $k ] ) ) 61 | // get the URL of the next image attachment 62 | $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); 63 | else 64 | // or get the URL of the first image attachment 65 | $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); 66 | } else { 67 | // or, if there's only 1 image, get the URL of the image 68 | $next_attachment_url = wp_get_attachment_url(); 69 | } 70 | ?> 71 | 72 | ID, $attachment_size ); 75 | ?> 76 |
77 | 78 | post_excerpt ) ) : ?> 79 |
80 | 81 |
82 | 83 |
84 | 85 | 86 | '' ) ); ?> 87 | 88 |
89 | 90 |
91 | 92 | Post a comment or leave a trackback: Trackback URL.', 'publish' ), get_trackback_url() ); ?> 93 | 94 | Trackback URL.', 'publish' ), get_trackback_url() ); ?> 95 | 96 | post a comment.', 'publish' ); ?> 97 | 98 | 99 | 100 | ', '' ); ?> 101 |
102 |
103 | 104 | 105 | 106 | 107 | 108 |
109 |
110 | 111 | -------------------------------------------------------------------------------- /editor-style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Publish 3 | Description: Used to style the TinyMCE editor. 4 | */ 5 | 6 | html .mceContentBody { 7 | max-width: 525px; 8 | } 9 | 10 | body { 11 | font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; 12 | font-weight: 300; 13 | line-height: 1.6; 14 | color: #222; 15 | } 16 | 17 | /* Headings */ 18 | h1,h2,h3,h4,h5,h6 { 19 | clear: both; 20 | } 21 | h1, 22 | h2 { 23 | color: #000; 24 | font-size: 15px; 25 | font-weight: bold; 26 | margin: 0 0 .8125em; 27 | } 28 | h3 { 29 | font-size: 10px; 30 | letter-spacing: 0.1em; 31 | line-height: 2.6em; 32 | text-transform: uppercase; 33 | } 34 | h4, h5, h6 { 35 | font-size: 14px; 36 | margin: 0; 37 | } 38 | hr { 39 | background-color: #ccc; 40 | border: 0; 41 | height: 1px; 42 | margin-bottom: 1.625em; 43 | } 44 | 45 | /* Text elements */ 46 | p, ul, ol, dl { 47 | font-weight: 300; 48 | } 49 | p { 50 | margin-bottom: 1.625em; 51 | } 52 | ul, ol { 53 | margin: 0 0 1.625em 2.5em; 54 | padding: 0; 55 | } 56 | ul { 57 | list-style: square; 58 | } 59 | ol { 60 | list-style-type: decimal; 61 | } 62 | ol ol { 63 | list-style: upper-alpha; 64 | } 65 | ol ol ol { 66 | list-style: lower-roman; 67 | } 68 | ol ol ol ol { 69 | list-style: lower-alpha; 70 | } 71 | ul ul, ol ol, ul ol, ol ul { 72 | margin-bottom: 0; 73 | } 74 | dl { 75 | margin: 0 1.625em; 76 | } 77 | dt { 78 | font-size: 15px; 79 | font-weight: bold; 80 | } 81 | dd { 82 | margin: 0 0 1.625em; 83 | } 84 | strong { 85 | font-weight: bold; 86 | } 87 | cite, em, i { 88 | font-style: italic; 89 | } 90 | cite { 91 | border: none; 92 | } 93 | big { 94 | font-size: 131.25%; 95 | } 96 | .mceContentBody blockquote, 97 | .mceContentBody blockquote p { 98 | font-family: Georgia, "Bitstream Charter", serif !important; 99 | font-style: italic !important; 100 | font-weight: normal; 101 | margin: 0 3em; 102 | } 103 | .mceContentBody blockquote em, 104 | .mceContentBody blockquote i, 105 | .mceContentBody blockquote cite { 106 | font-style: normal; 107 | } 108 | .mceContentBody blockquote cite { 109 | color: #666; 110 | font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; 111 | font-weight: 300; 112 | letter-spacing: 0.05em; 113 | text-transform: uppercase; 114 | } 115 | pre { 116 | background: #F2F7F9; 117 | font: 12px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 118 | line-height: 1.6; 119 | margin-bottom: 1.6em; 120 | padding: 1.6em; 121 | } 122 | code, kbd, samp, var { 123 | font: 12px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 124 | } 125 | abbr, acronym, dfn { 126 | border-bottom: 1px dotted #666; 127 | cursor: help; 128 | } 129 | address { 130 | display: block; 131 | margin: 0 0 1.625em; 132 | } 133 | del { 134 | color: #333; 135 | } 136 | ins { 137 | background: #fff9c0; 138 | border: none; 139 | color: #333; 140 | text-decoration: none; 141 | } 142 | sup, 143 | sub { 144 | font-size: 10px; 145 | height: 0; 146 | line-height: 1; 147 | position: relative; 148 | vertical-align: baseline; 149 | } 150 | sup { 151 | bottom: 1ex; 152 | } 153 | sub { 154 | top: .5ex; 155 | } 156 | input[type=text], 157 | textarea { 158 | background: #fafafa; 159 | -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); 160 | -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); 161 | box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); 162 | border: 1px solid #ddd; 163 | color: #888; 164 | } 165 | input[type=text]:focus, 166 | textarea:focus { 167 | color: #333; 168 | } 169 | textarea { 170 | padding-left: 3px; 171 | width: 98%; 172 | } 173 | input[type=text] { 174 | padding: 3px; 175 | } 176 | 177 | /* Links */ 178 | a, 179 | a em, 180 | a strong { 181 | color: #26ADE4; 182 | } 183 | a:focus, 184 | a:active, 185 | a:hover { 186 | color: #1E8DAF; 187 | } 188 | 189 | /* Alignment */ 190 | .alignleft { 191 | display: inline; 192 | float: left; 193 | margin-right: 1.625em; 194 | } 195 | .alignright { 196 | display: inline; 197 | float: right; 198 | margin-left: 1.625em; 199 | } 200 | .aligncenter { 201 | clear: both; 202 | display: block; 203 | margin-left: auto; 204 | margin-right: auto; 205 | } 206 | 207 | /* Tables */ 208 | table { 209 | border: none !important; 210 | border-bottom: 1px solid #ddd !important; 211 | border-collapse: collapse; 212 | border-spacing: 0; 213 | text-align: left; 214 | margin: 0 0 1.625em; 215 | width: 100%; 216 | } 217 | tr th { 218 | border: none !important; 219 | color: #666; 220 | font-size: 10px; 221 | font-weight: 500; 222 | letter-spacing: 0.1em; 223 | line-height: 2.6em; 224 | text-transform: uppercase; 225 | } 226 | td { 227 | border: none !important; 228 | border-top: 1px solid #ddd !important; 229 | padding: 6px 10px 6px 0; 230 | } 231 | 232 | /* Images */ 233 | img[class*="wp-image-"] { 234 | height: auto; 235 | max-width: 97.5%; 236 | } 237 | img.size-full { 238 | width: auto; /* Prevent stretching of full-size images in IE8 */ 239 | } 240 | img.wp-smiley { 241 | border: none; 242 | margin-bottom: 0; 243 | margin-top: 0; 244 | padding: 0; 245 | } 246 | p img, 247 | .wp-caption { 248 | margin-top: 0.4em; 249 | } 250 | img { 251 | border: 1px solid #ddd; 252 | padding: 6px; 253 | } 254 | img.alignleft, 255 | img.alignright, 256 | img.aligncenter { 257 | margin-bottom: 1.625em; 258 | } 259 | .wp-caption { 260 | background: #eee; 261 | border: none; 262 | margin-bottom: 1.625em; 263 | max-width: 96%; 264 | padding: 9px; 265 | } 266 | .wp-caption img { 267 | display: block; 268 | margin: 5px auto 0 !important; 269 | max-width: 98%; 270 | border-color: #eee; 271 | } 272 | .wp-caption .wp-caption-text, 273 | .wp-caption-dd { 274 | color: #666; 275 | font-family: Georgia, serif !important; 276 | font-size: 12px; 277 | margin: 0 0 0.6em 0 !important; 278 | padding: 0 0 5px 40px; 279 | position: relative; 280 | text-align: left; 281 | } 282 | .wp-caption .wp-caption-text:before { 283 | color: #666; 284 | content: '\2014'; 285 | font-size: 14px; 286 | font-style: normal; 287 | font-weight: bold; 288 | margin-right: 5px; 289 | position: absolute; 290 | left: 10px; 291 | top: 7px; 292 | } 293 | a:focus img[class*="wp-image-"], 294 | a:hover img[class*="wp-image-"], 295 | a:active img[class*="wp-image-"] { 296 | background: #eee; 297 | border-color: #bbb; 298 | } 299 | .wp-caption a:focus img, 300 | .wp-caption a:active img, 301 | .wp-caption a:hover img { 302 | background: #fff; 303 | border-color: #ddd; 304 | } -------------------------------------------------------------------------------- /inc/template-tags.php: -------------------------------------------------------------------------------- 1 | post_parent ) : get_adjacent_post( false, '', true ); 23 | $next = get_adjacent_post( false, '', false ); 24 | 25 | if ( ! $next && ! $previous ) 26 | return; 27 | } 28 | 29 | // Don't print empty markup in archives if there's only one page. 30 | if ( $wp_query->max_num_pages < 2 && ( is_home() || is_archive() || is_search() ) ) 31 | return; 32 | 33 | $nav_class = 'site-navigation paging-navigation'; 34 | if ( is_single() ) 35 | $nav_class = 'site-navigation post-navigation'; 36 | 37 | ?> 38 |
', '' . _x( '←', 'Previous post link', 'publish' ) . ' %title' ); ?> 44 | %link
', '%title ' . _x( '→', 'Next post link', 'publish' ) . '' ); ?> 45 | 46 | max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?> 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | comment_type || 'trackback' == $comment->comment_type ) : ?> 74 |
  • 75 |

    76 | 77 |
  • id="li-comment-"> 78 |
    79 |
    80 |
    81 | 82 | says:', 'publish' ), sprintf( '%s', get_comment_author_link() ) ); ?> 83 |
    84 | comment_approved == '0' ) : ?> 85 | 86 |
    87 | 88 | 89 | 98 |
    99 | 100 |
    101 | 102 |
    103 | $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> 104 |
    105 |
    106 | 107 | by ', 'publish' ) . '.', 120 | esc_url( get_permalink() ), 121 | esc_attr( get_the_time() ), 122 | esc_attr( get_the_date( 'c' ) ), 123 | esc_html( get_the_date() ), 124 | esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 125 | esc_attr( sprintf( __( 'View all posts by %s', 'publish' ), get_the_author() ) ), 126 | esc_html( get_the_author() ) 127 | ); 128 | } 129 | endif; 130 | 131 | /** 132 | * Returns true if a blog has more than 1 category 133 | * 134 | * @since Publish 1.0 135 | */ 136 | function publish_categorized_blog() { 137 | if ( false === ( $all_the_cool_cats = get_transient( 'all_the_cool_cats' ) ) ) { 138 | // Create an array of all the categories that are attached to posts 139 | $all_the_cool_cats = get_categories( array( 140 | 'hide_empty' => 1, 141 | ) ); 142 | 143 | // Count the number of categories that are attached to the posts 144 | $all_the_cool_cats = count( $all_the_cool_cats ); 145 | 146 | set_transient( 'all_the_cool_cats', $all_the_cool_cats ); 147 | } 148 | 149 | if ( '1' != $all_the_cool_cats ) { 150 | // This blog has more than 1 category so publish_categorized_blog should return true 151 | return true; 152 | } else { 153 | // This blog has only 1 category so publish_categorized_blog should return false 154 | return false; 155 | } 156 | } 157 | 158 | /** 159 | * Flush out the transients used in publish_categorized_blog 160 | * 161 | * @since Publish 1.0 162 | */ 163 | function publish_category_transient_flusher() { 164 | // Like, beat it. Dig? 165 | delete_transient( 'all_the_cool_cats' ); 166 | } 167 | add_action( 'edit_category', 'publish_category_transient_flusher' ); 168 | add_action( 'save_post', 'publish_category_transient_flusher' ); 169 | 170 | /** 171 | * Filters wp_title to print a neat tag based on what is being viewed. 172 | * 173 | * @since Publish 1.2.1 174 | */ 175 | function publish_wp_title( $title, $sep ) { 176 | global $page, $paged; 177 | 178 | if ( is_feed() ) 179 | return $title; 180 | 181 | // Add the blog name 182 | $title .= get_bloginfo( 'name' ); 183 | 184 | // Add the blog description for the home/front page. 185 | $site_description = get_bloginfo( 'description', 'display' ); 186 | if ( $site_description && ( is_home() || is_front_page() ) ) 187 | $title .= " $sep $site_description"; 188 | 189 | // Add a page number if necessary: 190 | if ( $paged >= 2 || $page >= 2 ) 191 | $title .= " $sep " . sprintf( __( 'Page %s', 'publish' ), max( $paged, $page ) ); 192 | 193 | return $title; 194 | } 195 | add_filter( 'wp_title', 'publish_wp_title', 10, 2 ); -------------------------------------------------------------------------------- /languages/default.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: Publish\n" 4 | "POT-Creation-Date: 2012-11-30 17:51+0400\n" 5 | "PO-Revision-Date: 2012-11-30 17:51+0400\n" 6 | "Last-Translator: Konstantin Kovshenin <kovshenin@gmail.com>\n" 7 | "Language-Team: \n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: Poedit 1.5.4\n" 12 | "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;esc_attr_e;esc_html_e\n" 13 | "X-Poedit-Basepath: .\n" 14 | "X-Poedit-SearchPath-0: ..\n" 15 | 16 | #: ../404.php:16 17 | msgid "Oops! That page can’t be found." 18 | msgstr "" 19 | 20 | #: ../404.php:20 21 | msgid "" 22 | "It looks like nothing was found at this location. Maybe try one of the links " 23 | "below or a search?" 24 | msgstr "" 25 | 26 | #: ../404.php:27 27 | msgid "Most Used Categories" 28 | msgstr "" 29 | 30 | #: ../404.php:35 31 | #, php-format 32 | msgid "Try looking in the monthly archives. %1$s" 33 | msgstr "" 34 | 35 | #: ../archive.php:22 36 | #, php-format 37 | msgid "Category Archives: %s" 38 | msgstr "" 39 | 40 | #: ../archive.php:25 41 | #, php-format 42 | msgid "Tag Archives: %s" 43 | msgstr "" 44 | 45 | #: ../archive.php:32 46 | #, php-format 47 | msgid "Author Archives: %s" 48 | msgstr "" 49 | 50 | #: ../archive.php:41 51 | #, php-format 52 | msgid "Daily Archives: %s" 53 | msgstr "" 54 | 55 | #: ../archive.php:44 56 | #, php-format 57 | msgid "Monthly Archives: %s" 58 | msgstr "" 59 | 60 | #: ../archive.php:47 61 | #, php-format 62 | msgid "Yearly Archives: %s" 63 | msgstr "" 64 | 65 | #: ../archive.php:50 66 | msgid "Archives" 67 | msgstr "" 68 | 69 | #: ../comments.php:37 ../comments.php:57 70 | msgid "Comment navigation" 71 | msgstr "" 72 | 73 | #: ../comments.php:38 ../comments.php:58 74 | msgid "← Older Comments" 75 | msgstr "" 76 | 77 | #: ../comments.php:39 ../comments.php:59 78 | msgid "Newer Comments →" 79 | msgstr "" 80 | 81 | #: ../comments.php:69 82 | msgid "Comments are closed." 83 | msgstr "" 84 | 85 | #: ../content-page.php:17 ../content-single.php:15 ../content.php:20 86 | #: ../image.php:86 87 | msgid "Pages:" 88 | msgstr "" 89 | 90 | #: ../content-page.php:20 ../content-single.php:54 ../content.php:57 91 | #: ../image.php:34 ../image.php:100 92 | msgid "Edit" 93 | msgstr "" 94 | 95 | #: ../content-single.php:22 ../content-single.php:25 ../content.php:32 96 | #: ../content.php:42 97 | msgid ", " 98 | msgstr "" 99 | 100 | #: ../content-single.php:30 101 | #, php-format 102 | msgid "" 103 | "This entry was tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink " 104 | "to %4$s\" rel=\"bookmark\">permalink</a>." 105 | msgstr "" 106 | 107 | #: ../content-single.php:32 108 | #, php-format 109 | msgid "" 110 | "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark" 111 | "\">permalink</a>." 112 | msgstr "" 113 | 114 | #: ../content-single.php:38 115 | #, php-format 116 | msgid "" 117 | "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" " 118 | "title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 119 | msgstr "" 120 | 121 | #: ../content-single.php:40 122 | #, php-format 123 | msgid "" 124 | "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=" 125 | "\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 126 | msgstr "" 127 | 128 | #: ../content.php:10 129 | #, php-format 130 | msgid "Permalink to %s" 131 | msgstr "" 132 | 133 | #: ../content.php:19 134 | msgid "Continue reading <span class=\"meta-nav\">→</span>" 135 | msgstr "" 136 | 137 | #: ../content.php:36 138 | #, php-format 139 | msgid "Posted in %1$s" 140 | msgstr "" 141 | 142 | #: ../content.php:47 143 | #, php-format 144 | msgid "Tagged %1$s" 145 | msgstr "" 146 | 147 | #: ../content.php:54 148 | msgid "Leave a comment" 149 | msgstr "" 150 | 151 | #: ../content.php:54 152 | msgid "1 Comment" 153 | msgstr "" 154 | 155 | #: ../content.php:54 156 | msgid "% Comments" 157 | msgstr "" 158 | 159 | #: ../functions.php:59 160 | msgid "Primary Menu" 161 | msgstr "" 162 | 163 | #: ../functions.php:85 164 | msgid "Sidebar" 165 | msgstr "" 166 | 167 | #: ../functions.php:136 168 | #, php-format 169 | msgid "Theme: %1$s by %2$s." 170 | msgstr "" 171 | 172 | #: ../header.php:39 173 | msgid "Menu" 174 | msgstr "" 175 | 176 | #: ../header.php:40 177 | msgid "Skip to content" 178 | msgstr "" 179 | 180 | #: ../image.php:24 181 | #, php-format 182 | msgid "" 183 | "Published <span class=\"entry-date\"><time class=\"entry-date\" datetime=" 184 | "\"%1$s\" pubdate>%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-" 185 | "size image\">%4$s × %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s" 186 | "\" rel=\"gallery\">%7$s</a>" 187 | msgstr "" 188 | 189 | #: ../image.php:38 190 | msgid "← Previous" 191 | msgstr "" 192 | 193 | #: ../image.php:39 194 | msgid "Next →" 195 | msgstr "" 196 | 197 | #: ../image.php:92 198 | #, php-format 199 | msgid "" 200 | "<a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">Post a " 201 | "comment</a> or leave a trackback: <a class=\"trackback-link\" href=\"%s\" " 202 | "title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>." 203 | msgstr "" 204 | 205 | #: ../image.php:94 206 | #, php-format 207 | msgid "" 208 | "Comments are closed, but you can leave a trackback: <a class=\"trackback-link" 209 | "\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback" 210 | "\">Trackback URL</a>." 211 | msgstr "" 212 | 213 | #: ../image.php:96 214 | msgid "" 215 | "Trackbacks are closed, but you can <a class=\"comment-link\" href=\"#respond" 216 | "\" title=\"Post a comment\">post a comment</a>." 217 | msgstr "" 218 | 219 | #: ../image.php:98 220 | msgid "Both comments and trackbacks are currently closed." 221 | msgstr "" 222 | 223 | #: ../no-results.php:14 224 | msgid "Nothing Found" 225 | msgstr "" 226 | 227 | #: ../no-results.php:20 228 | #, php-format 229 | msgid "" 230 | "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." 231 | msgstr "" 232 | 233 | #: ../no-results.php:24 234 | msgid "" 235 | "Sorry, but nothing matched your search terms. Please try again with some " 236 | "different keywords." 237 | msgstr "" 238 | 239 | #: ../no-results.php:29 240 | msgid "" 241 | "It seems we can’t find what you’re looking for. Perhaps " 242 | "searching can help." 243 | msgstr "" 244 | 245 | #: ../search.php:17 246 | #, php-format 247 | msgid "Search Results for: %s" 248 | msgstr "" 249 | 250 | #: ../searchform.php:10 ../searchform.php:12 251 | msgid "Search" 252 | msgstr "" 253 | 254 | #: ../searchform.php:11 255 | msgid "Search …" 256 | msgstr "" 257 | 258 | #: ../inc/template-tags.php:39 259 | msgid "Post navigation" 260 | msgstr "" 261 | 262 | #: ../inc/template-tags.php:49 263 | msgid "<span class=\"meta-nav\">←</span> Older posts" 264 | msgstr "" 265 | 266 | #: ../inc/template-tags.php:53 267 | msgid "Newer posts <span class=\"meta-nav\">→</span>" 268 | msgstr "" 269 | 270 | #: ../inc/template-tags.php:75 ../inc/template-tags.php:95 271 | msgid "(Edit)" 272 | msgstr "" 273 | 274 | #: ../inc/template-tags.php:82 275 | #, php-format 276 | msgid "%s <span class=\"says\">says:</span>" 277 | msgstr "" 278 | 279 | #: ../inc/template-tags.php:85 280 | msgid "Your comment is awaiting moderation." 281 | msgstr "" 282 | 283 | #: ../inc/template-tags.php:93 284 | #, php-format 285 | msgid "%1$s at %2$s" 286 | msgstr "" 287 | 288 | #: ../inc/template-tags.php:119 289 | #, php-format 290 | msgid "" 291 | "Posted on <a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=" 292 | "\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</time></a><span class=\"byline" 293 | "\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" " 294 | "title=\"%6$s\" rel=\"author\">%7$s</a></span></span>" 295 | msgstr "" 296 | 297 | #: ../inc/template-tags.php:125 298 | #, php-format 299 | msgid "View all posts by %s" 300 | msgstr "" 301 | 302 | #: ../inc/template-tags.php:191 303 | #, php-format 304 | msgid "Page %s" 305 | msgstr "" 306 | -------------------------------------------------------------------------------- /languages/ru_RU.po: -------------------------------------------------------------------------------- 1 | # Translation of Publish in Russian 2 | # This file is distributed under the same license as the Publish package. 3 | msgid "" 4 | msgstr "" 5 | "PO-Revision-Date: 2013-03-12 09:25:27+0000\n" 6 | "MIME-Version: 1.0\n" 7 | "Content-Type: text/plain; charset=UTF-8\n" 8 | "Content-Transfer-Encoding: 8bit\n" 9 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" 10 | "X-Generator: GlotPress/0.1\n" 11 | "Project-Id-Version: Publish\n" 12 | 13 | #: ../functions.php:135 14 | msgid "http://wordpress.org/" 15 | msgstr "http://ru.wordpress.org" 16 | 17 | #: ../functions.php:135 18 | msgid "Proudly powered by WordPress" 19 | msgstr "Сайт работает на WordPress" 20 | 21 | #: ../404.php:16 22 | msgid "Oops! That page can’t be found." 23 | msgstr "Извините, страница не найдена." 24 | 25 | #: ../404.php:20 26 | msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?" 27 | msgstr "Не найдено, попробуйте следующие ссылки, или воспользуйтесь поиском." 28 | 29 | #: ../404.php:27 30 | msgid "Most Used Categories" 31 | msgstr "Популярные категории" 32 | 33 | #: ../404.php:35 34 | msgid "Try looking in the monthly archives. %1$s" 35 | msgstr "Посмотрите в архивах по месяцам. %1$s" 36 | 37 | #: ../archive.php:22 38 | msgid "Category Archives: %s" 39 | msgstr "Архивы категории: %s" 40 | 41 | #: ../archive.php:25 42 | msgid "Tag Archives: %s" 43 | msgstr "Архивы метки: %s" 44 | 45 | #: ../archive.php:32 46 | msgid "Author Archives: %s" 47 | msgstr "Архивы автора: %s" 48 | 49 | #: ../archive.php:41 50 | msgid "Daily Archives: %s" 51 | msgstr "Архивы по дням: %s" 52 | 53 | #: ../archive.php:44 54 | msgid "Monthly Archives: %s" 55 | msgstr "Архивы по месяцам: %s" 56 | 57 | #: ../archive.php:47 58 | msgid "Yearly Archives: %s" 59 | msgstr "Архивы по годам: %s" 60 | 61 | #: ../archive.php:50 62 | msgid "Archives" 63 | msgstr "Архивы" 64 | 65 | #: ../comments.php:37 ../comments.php:57 66 | msgid "Comment navigation" 67 | msgstr "Навигация по комментариям" 68 | 69 | #: ../comments.php:38 ../comments.php:58 70 | msgid "← Older Comments" 71 | msgstr "← Старые комментарии" 72 | 73 | #: ../comments.php:39 ../comments.php:59 74 | msgid "Newer Comments →" 75 | msgstr "Новые комментарии →" 76 | 77 | #: ../comments.php:69 78 | msgid "Comments are closed." 79 | msgstr "Комментарии закрыты" 80 | 81 | #: ../content-page.php:17 ../content-single.php:15 ../content.php:20 82 | #: ../image.php:86 83 | msgid "Pages:" 84 | msgstr "Страницы:" 85 | 86 | #: ../content-page.php:20 ../content-single.php:54 ../content.php:57 87 | #: ../image.php:34 ../image.php:100 88 | msgid "Edit" 89 | msgstr "Изменить" 90 | 91 | #: ../content-single.php:22 ../content-single.php:25 ../content.php:32 92 | #: ../content.php:42 93 | msgid ", " 94 | msgstr "," 95 | 96 | #: ../content-single.php:30 97 | msgid "This entry was tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 98 | msgstr "Метки: %2$s. Добавить <a href=\"%3$s\" title=\"Постояння ссылка на %4$s\" rel=\"bookmark\">постоянную ссылку</a> в закладки." 99 | 100 | #: ../content-single.php:32 101 | msgid "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 102 | msgstr "Добавить <a href=\"%3$s\" title=\"Постоянная ссылка на %4$s\" rel=\"bookmark\">постоянную ссылку</a> в закладки." 103 | 104 | #: ../content-single.php:38 105 | msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 106 | msgstr "Запись опубликована в %1$s с метками %2$s. Добавить <a href=\"%3$s\" title=\"Постоянная ссылка на %4$s\" rel=\"bookmark\">постоянную ссылку</a> в закладки." 107 | 108 | #: ../content-single.php:40 109 | msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 110 | msgstr "Запись опубликована в %1$s. Добавить <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">постоянную ссылку</a> в закладки." 111 | 112 | #: ../content.php:10 113 | msgid "Permalink to %s" 114 | msgstr "Постоянная ссылка на %s" 115 | 116 | #: ../content.php:19 117 | msgid "Continue reading <span class=\"meta-nav\">→</span>" 118 | msgstr "Читать далее <span class=\"meta-nav\">→</span>" 119 | 120 | #: ../content.php:36 121 | msgid "Posted in %1$s" 122 | msgstr "Опубликовано в %1$s" 123 | 124 | #: ../content.php:47 125 | msgid "Tagged %1$s" 126 | msgstr "Метки: %1$s" 127 | 128 | #: ../content.php:54 129 | msgid "Leave a comment" 130 | msgstr "Оставить комментарий" 131 | 132 | #: ../content.php:54 133 | msgid "1 Comment" 134 | msgstr "Один комментарий" 135 | 136 | #: ../content.php:54 137 | msgid "% Comments" 138 | msgstr "Комментариев: %" 139 | 140 | #: ../functions.php:59 141 | msgid "Primary Menu" 142 | msgstr "Основное меню" 143 | 144 | #: ../functions.php:85 145 | msgid "Sidebar" 146 | msgstr "Боковая колонка" 147 | 148 | #: ../functions.php:136 149 | msgid "Theme: %1$s by %2$s." 150 | msgstr "Тема: %1$s от %2$s." 151 | 152 | #: ../header.php:39 153 | msgid "Menu" 154 | msgstr "Меню" 155 | 156 | #: ../header.php:40 157 | msgid "Skip to content" 158 | msgstr "Перейти к основному содержанию" 159 | 160 | #: ../image.php:24 161 | msgid "Published <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\" pubdate>%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s × %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%7$s</a>" 162 | msgstr "Опубликовано <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\" pubdate>%2$s</time></span> в <a href=\"%3$s\" title=\"Ссылка на изображение\">%4$s × %5$s</a> в <a href=\"%6$s\" title=\"Вернуться к %7$s\" rel=\"gallery\">%7$s</a>" 163 | 164 | #: ../image.php:38 165 | msgid "← Previous" 166 | msgstr "← Назад" 167 | 168 | #: ../image.php:39 169 | msgid "Next →" 170 | msgstr "Далее →" 171 | 172 | #: ../image.php:92 173 | msgid "<a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">Post a comment</a> or leave a trackback: <a class=\"trackback-link\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>." 174 | msgstr "Вы можете <a class=\"comment-link\" href=\"#respond\" title=\"Оставить комментарий\">оставить комментарий</a> или уведомление: <a class=\"trackback-link\" href=\"%s\" title=\"Адрес уведомления\" rel=\"trackback\">адрес уведомления</a>." 175 | 176 | #: ../image.php:94 177 | msgid "Comments are closed, but you can leave a trackback: <a class=\"trackback-link\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>." 178 | msgstr "Комментарии ограничены, но Вы можете оставить уведомление: <a class=\"trackback-link\" href=\"%s\" title=\"Адрес уведомлений\" rel=\"trackback\">адрес уведомлений</a>." 179 | 180 | #: ../image.php:96 181 | msgid "Trackbacks are closed, but you can <a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">post a comment</a>." 182 | msgstr "Уведомления ограничены, но Вы можете <a class=\"comment-link\" href=\"#respond\" title=\"Оставить комментарий\">оставить комментарий</a>." 183 | 184 | #: ../image.php:98 185 | msgid "Both comments and trackbacks are currently closed." 186 | msgstr "Комментарии закрыты." 187 | 188 | #: ../no-results.php:14 189 | msgid "Nothing Found" 190 | msgstr "Не найдено" 191 | 192 | #: ../no-results.php:20 193 | msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." 194 | msgstr "Готовы опубликовать вашу новую запись? <a href=\"%1$s\">Начните здесь</a>." 195 | 196 | #: ../no-results.php:24 197 | msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." 198 | msgstr "Извините, ничего не найдено по вашему поисковому запросу. Попробуйте его изменить." 199 | 200 | #: ../no-results.php:29 201 | msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." 202 | msgstr "Мы не можем найти то, что вы ищите. Попробуйте воспользоваться поиском." 203 | 204 | #: ../search.php:17 205 | msgid "Search Results for: %s" 206 | msgstr "Результаты поиска: %s" 207 | 208 | #: ../searchform.php:10 ../searchform.php:12 209 | msgid "Search" 210 | msgstr "Поиск" 211 | 212 | #: ../searchform.php:11 213 | msgid "Search …" 214 | msgstr "Искать …" 215 | 216 | #: ../inc/template-tags.php:39 217 | msgid "Post navigation" 218 | msgstr "Навигация" 219 | 220 | #: ../inc/template-tags.php:49 221 | msgid "<span class=\"meta-nav\">←</span> Older posts" 222 | msgstr "<span class=\"meta-nav\">←</span> Старые записи" 223 | 224 | #: ../inc/template-tags.php:53 225 | msgid "Newer posts <span class=\"meta-nav\">→</span>" 226 | msgstr "Новые записи <span class=\"meta-nav\">→</span>" 227 | 228 | #: ../inc/template-tags.php:75 ../inc/template-tags.php:95 229 | msgid "(Edit)" 230 | msgstr "(править)" 231 | 232 | #: ../inc/template-tags.php:82 233 | msgid "%s <span class=\"says\">says:</span>" 234 | msgstr "%s <span class=\"says\">написал(а):</span>" 235 | 236 | #: ../inc/template-tags.php:85 237 | msgid "Your comment is awaiting moderation." 238 | msgstr "Ваш комментарий ожидает модерации." 239 | 240 | #: ../inc/template-tags.php:93 241 | msgid "%1$s at %2$s" 242 | msgstr "%1$s в %2$s" 243 | 244 | #: ../inc/template-tags.php:119 245 | msgid "Posted on <a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</time></a><span class=\"byline\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>" 246 | msgstr "Опубликовано <a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</time></a><span class=\"byline\"> автором <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>" 247 | 248 | #: ../inc/template-tags.php:125 249 | msgid "View all posts by %s" 250 | msgstr "Все записи автора %s" 251 | 252 | #: ../inc/template-tags.php:191 253 | msgid "Page %s" 254 | msgstr "Страница %s" -------------------------------------------------------------------------------- /rtl/style-rtl.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Publish 3 | Theme URI: http://kovshenin.com/themes/publish 4 | Author: Konstantin Kovshenin 5 | Author URI: http://kovshenin.com 6 | Description: Publish is a clean minimal theme which puts you and your content on stage. Ideal for single-author blogs. 7 | Version: 1.2-wpcom 8 | License: GNU GPLv3 9 | License URI: http://www.gnu.org/copyleft/gpl.html 10 | Tags: blog, journal, notes, clean, formal, light, minimal, modern, simple, white, blue, two-columns, left-sidebar, flexible-width, responsive-width, custom-background, custom-colors, custom-menu, editor-style, infinite-scroll, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready 11 | 12 | Based on _s: http://underscores.me 13 | 14 | Resetting and rebuilding styles have been helped along thanks to the fine work of 15 | Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html 16 | along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ 17 | and Blueprint http://www.blueprintcss.org/ 18 | */ 19 | 20 | 21 | /* =Reset 22 | -------------------------------------------------------------- */ 23 | 24 | html, body, div, span, applet, object, iframe, 25 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 26 | a, abbr, acronym, address, big, cite, code, 27 | del, dfn, em, font, ins, kbd, q, s, samp, 28 | small, strike, strong, sub, sup, tt, var, 29 | dl, dt, dd, ol, ul, li, 30 | fieldset, form, label, legend, 31 | table, caption, tbody, tfoot, thead, tr, th, td { 32 | margin: 0; 33 | padding: 0; 34 | outline: 0; 35 | border: 0; 36 | vertical-align: baseline; 37 | font-weight: inherit; 38 | font-style: inherit; 39 | font-size: 100%; 40 | font-family: inherit; 41 | } 42 | html { 43 | overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */ 44 | font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ 45 | -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ 46 | -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ 47 | } 48 | body { 49 | background: #fff; 50 | } 51 | article, 52 | aside, 53 | details, 54 | figcaption, 55 | figure, 56 | footer, 57 | header, 58 | hgroup, 59 | nav, 60 | section { 61 | display: block; 62 | } 63 | ol, ul { 64 | list-style: none; 65 | } 66 | table { 67 | border-spacing: 0; /* tables still need 'cellspacing="0"' in the markup */ 68 | border-collapse: separate; 69 | } 70 | caption, th, td { 71 | text-align: right; 72 | font-weight: normal; 73 | } 74 | blockquote:before, blockquote:after, 75 | q:before, q:after { 76 | content: ""; 77 | } 78 | blockquote, q { 79 | quotes: "" ""; 80 | } 81 | a:focus { 82 | outline: thin dotted; 83 | } 84 | a:hover, 85 | a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */ 86 | outline: 0; 87 | } 88 | a img { 89 | border: 0; 90 | } 91 | 92 | 93 | /* =Global 94 | ----------------------------------------------- */ 95 | 96 | body, 97 | button, 98 | input, 99 | select, 100 | textarea { 101 | color: #404040; 102 | font-size: 16px; 103 | font-size: 1.6rem; 104 | font-family: sans-serif; 105 | line-height: 1.5; 106 | } 107 | 108 | /* Headings */ 109 | h1,h2,h3,h4,h5,h6 { 110 | clear: both; 111 | } 112 | hr { 113 | margin-bottom: 1.5em; 114 | height: 1px; 115 | border: 0; 116 | background-color: #ccc; 117 | } 118 | 119 | /* Text elements */ 120 | p { 121 | margin-bottom: 1.5em; 122 | } 123 | ul, ol { 124 | margin: 0 3em 1.5em 0; 125 | } 126 | ul { 127 | list-style: disc; 128 | } 129 | ol { 130 | list-style: decimal; 131 | } 132 | ul ul, ol ol, ul ol, ol ul { 133 | margin-bottom: 0; 134 | margin-right: 1.5em; 135 | } 136 | dt { 137 | font-weight: bold; 138 | } 139 | dd { 140 | margin: 0 1.5em 1.5em; 141 | } 142 | b, strong { 143 | font-weight: bold; 144 | } 145 | dfn, cite, em, i { 146 | font-style: italic; 147 | } 148 | blockquote { 149 | margin: 0 1.5em; 150 | font-style: italic; 151 | font-family: Georgia, "Bitstream Charter", serif; 152 | } 153 | blockquote cite { 154 | color: #999; 155 | font-size: 13px; 156 | } 157 | blockquote cite:before { 158 | content: "\2014 \0020"; 159 | } 160 | address { 161 | margin: 0 0 1.5em; 162 | } 163 | pre { 164 | overflow: auto; 165 | margin-bottom: 1.6em; 166 | padding: 1.6em; 167 | max-width: 100%; 168 | background: #F2F7F9; 169 | font: 12px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 170 | line-height: 1.6; 171 | } 172 | code, kbd, tt, var { 173 | font: 14px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 174 | } 175 | abbr, acronym { 176 | border-bottom: 1px dotted #666; 177 | cursor: help; 178 | } 179 | mark, ins { 180 | background: #fff9c0; 181 | text-decoration: none; 182 | } 183 | sup, 184 | sub { 185 | position: relative; 186 | height: 0; 187 | vertical-align: baseline; 188 | font-size: 75%; 189 | line-height: 0; 190 | } 191 | sup { 192 | bottom: 1ex; 193 | } 194 | sub { 195 | top: .5ex; 196 | } 197 | small { 198 | font-size: 75%; 199 | } 200 | big { 201 | font-size: 125%; 202 | } 203 | figure { 204 | margin: 0; 205 | } 206 | table { 207 | margin: 0 0 1.5em; 208 | width: 100%; 209 | } 210 | th { 211 | font-weight: bold; 212 | } 213 | button, 214 | input, 215 | select, 216 | textarea { 217 | margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ 218 | vertical-align: middle; /* Improves appearance and consistency in all browsers */ 219 | font-size: 100%; /* Corrects font size not being inherited in all browsers */ 220 | } 221 | button, 222 | input { 223 | line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */ 224 | *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */ 225 | } 226 | button, 227 | html input[type="button"], 228 | input[type="reset"], 229 | input[type="submit"] { 230 | padding: 0.25em 0.5em; 231 | border: 1px solid #ccc; 232 | border-color: #ccc #ccc #bbb #ccc; 233 | border-radius: 3px; 234 | background: #fafafa; /* Old browsers */ 235 | background: -moz-linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* FF3.6+ */ 236 | background: -webkit-gradient(linear, right top, right bottom, color-stop(60%,#fafafa), color-stop(100%,#e6e6e6)); /* Chrome,Safari4+ */ 237 | background: -webkit-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* Chrome10+,Safari5.1+ */ 238 | background: -o-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* Opera 11.10+ */ 239 | background: -ms-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* IE10+ */ 240 | background: linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* W3C */ 241 | box-shadow: inset 0 2px 1px #fff; 242 | color: rgba(0,0,0,.8); 243 | text-shadow: 0 1px 0 rgba(255,255,255,.5); 244 | font-size: 12px; 245 | font-size: 1.4rem; 246 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */ 247 | cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ 248 | -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ 249 | } 250 | button:hover, 251 | html input[type="button"]:hover, 252 | input[type="reset"]:hover, 253 | input[type="submit"]:hover { 254 | border-color: #bbb #bbb #aaa #bbb; 255 | background: #f5f5f5; /* Old browsers */ 256 | background: -moz-linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* FF3.6+ */ 257 | background: -webkit-gradient(linear, right top, right bottom, color-stop(60%,#f5f5f5), color-stop(100%,#dcdcdc)); /* Chrome,Safari4+ */ 258 | background: -webkit-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* Chrome10+,Safari5.1+ */ 259 | background: -o-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* Opera 11.10+ */ 260 | background: -ms-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* IE10+ */ 261 | background: linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* W3C */ 262 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dcdcdc',GradientType=0 ); /* IE6-9 */ 263 | } 264 | button:focus, 265 | html input[type="button"]:focus, 266 | input[type="reset"]:focus, 267 | input[type="submit"]:focus, 268 | button:active, 269 | html input[type="button"]:active, 270 | input[type="reset"]:active, 271 | input[type="submit"]:active { 272 | border-color: #aaa #bbb #bbb #bbb; 273 | box-shadow: inset 0 2px 3px rgba(0,0,0,.15); 274 | box-shadow: inset 0 2px 2px rgba(0,0,0,.15); 275 | } 276 | input[type="checkbox"], 277 | input[type="radio"] { 278 | box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ 279 | padding: 0; /* Addresses excess padding in IE8/9 */ 280 | } 281 | input[type="search"] { 282 | -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ 283 | -moz-box-sizing: content-box; 284 | box-sizing: content-box; 285 | -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ 286 | } 287 | input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ 288 | -webkit-appearance: none; 289 | } 290 | button::-moz-focus-inner, 291 | input::-moz-focus-inner { 292 | padding: 0; /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ 293 | border: 0; 294 | } 295 | input[type=text], 296 | input[type=password], 297 | input[type=email], 298 | textarea { 299 | border: 1px solid #ccc; 300 | border-radius: 3px; 301 | color: #666; 302 | } 303 | input[type=text]:focus, 304 | input[type=password]:focus, 305 | input[type=email]:focus, 306 | textarea:focus { 307 | color: #111; 308 | } 309 | input[type=text], 310 | input[type=password], 311 | input[type=email] { 312 | padding: 3px; 313 | } 314 | textarea { 315 | overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ 316 | padding-right: 3px; 317 | width: 98%; 318 | vertical-align: top; /* Improves readability and alignment in all browsers */ 319 | } 320 | 321 | /* Links */ 322 | a { 323 | color: #26ADE4; 324 | } 325 | a:visited { 326 | color: #26ADE4; 327 | } 328 | a:hover, 329 | a:focus, 330 | a:active { 331 | color: #1E8DAF; 332 | } 333 | 334 | /* Alignment */ 335 | .alignleft { 336 | display: inline; 337 | float: right; 338 | margin-left: 1.5em; 339 | } 340 | .alignright { 341 | display: inline; 342 | float: left; 343 | margin-right: 1.5em; 344 | } 345 | .aligncenter { 346 | display: block; 347 | clear: both; 348 | margin: 0 auto; 349 | } 350 | 351 | img.alignleft { 352 | margin: 20px 0 20px 20px; 353 | } 354 | img.alignright { 355 | margin: 20px 20px 20px 0; 356 | } 357 | img.aligncenter { 358 | margin: 20px auto; 359 | } 360 | 361 | /* Text meant only for screen readers */ 362 | .assistive-text { 363 | position: absolute !important; 364 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 365 | clip: rect(1px, 1px, 1px, 1px); 366 | } 367 | 368 | 369 | /* =Menu 370 | ----------------------------------------------- */ 371 | 372 | .main-navigation { 373 | display: block; 374 | float: right; 375 | clear: both; 376 | width: 100%; 377 | } 378 | .main-navigation ul { 379 | margin: 0; 380 | padding-right: 0; 381 | list-style: none; 382 | } 383 | .main-navigation li { 384 | position: relative; 385 | } 386 | .main-navigation a { 387 | display: block; 388 | text-decoration: none; 389 | } 390 | .main-navigation ul ul { 391 | position: absolute; 392 | top: 1.5em; 393 | right: 0; 394 | z-index: 99999; 395 | display: none; 396 | float: right; 397 | -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); 398 | -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); 399 | box-shadow: 0 3px 3px rgba(0,0,0,0.2); 400 | } 401 | .main-navigation ul ul ul { 402 | top: 0; 403 | right: 100%; 404 | } 405 | .main-navigation ul ul a { 406 | width: 200px; 407 | } 408 | .main-navigation ul ul li { 409 | } 410 | .main-navigation li:hover > a { 411 | } 412 | .main-navigation ul ul :hover > a { 413 | } 414 | .main-navigation ul ul a:hover { 415 | } 416 | .main-navigation ul li:hover > ul { 417 | display: block; 418 | } 419 | .main-navigation li.current_page_item a, 420 | .main-navigation li.current-menu-item a { 421 | } 422 | 423 | /* Small menu */ 424 | .menu-toggle { 425 | cursor: pointer; 426 | } 427 | .main-small-navigation .menu { 428 | display: none; 429 | } 430 | 431 | 432 | /* =Content 433 | ----------------------------------------------- */ 434 | 435 | .site, 436 | .entry-content { 437 | *zoom: 1; 438 | } 439 | .site:before, 440 | .site:after, 441 | .entry-content:before, 442 | .entry-content:after { 443 | display: table; 444 | content: ""; 445 | line-height: 0; 446 | } 447 | .site:after, 448 | .entry-content:after { 449 | clear: both; 450 | } 451 | .custom-background .site { 452 | padding: 0 40px; 453 | background-color: #ffffff; 454 | } 455 | .site-main article.sticky { 456 | margin-left: -40px; 457 | margin-bottom: 1px; 458 | margin-right: -40px; 459 | padding-left: 40px; 460 | padding-right: 40px; 461 | background: #F2F7F9; 462 | } 463 | .site-main article:first-child.sticky { 464 | margin-top: 34px; 465 | } 466 | .hentry { 467 | /* margin: 0 0 1.5em; */ 468 | } 469 | .entry-meta { 470 | clear: both; 471 | } 472 | .byline { 473 | display: none; 474 | } 475 | .single .byline, 476 | .group-blog .byline { 477 | display: inline; 478 | } 479 | .entry-content, 480 | .entry-summary { 481 | margin: 1.5em 0 0; 482 | } 483 | .entry-content > .sharedaddy, 484 | .page-links { 485 | clear: both; 486 | margin: 0 0 1.5em; 487 | } 488 | 489 | .entry-content .twitter-tweet-rendered { 490 | max-width: 100% !important; 491 | } 492 | 493 | 494 | /* =Post Formats 495 | ----------------------------------------------- */ 496 | 497 | .blog .format-aside .entry-title, 498 | .archive .format-aside .entry-title, 499 | .blog .format-status .entry-title, 500 | .archive .format-status .entry-title, 501 | .blog .format-link .entry-title, 502 | .archive .format-link .entry-title, 503 | .blog .format-image .entry-title, 504 | .archive .format-image .entry-title, 505 | .blog .format-quote .entry-title, 506 | .archive .format-quote .entry-title { 507 | display: none; 508 | } 509 | 510 | .single .format-aside h1.entry-title, 511 | .single .format-quote h1.entry-title, 512 | .single .format-chat h1.entry-title, 513 | .single .format-status h1.entry-title, 514 | .single .format-image h1.entry-title, 515 | .single .format-link h1.entry-title, 516 | .single .format-gallery h1.entry-title { 517 | font-size: 13px; 518 | line-height: 21px; 519 | } 520 | 521 | .format-aside .entry-format, 522 | .format-quote .entry-format, 523 | .format-chat .entry-format, 524 | .format-status .entry-format, 525 | .format-image .entry-format, 526 | .format-link .entry-format, 527 | .format-gallery .entry-format { 528 | color: #999; 529 | font-weight: 300; 530 | } 531 | 532 | /* =Media 533 | ----------------------------------------------- */ 534 | 535 | .site-header img, 536 | .entry-content img, 537 | .comment-content img, 538 | .widget img { 539 | max-width: 100%; /* Fluid images for posts, comments, and widgets */ 540 | } 541 | .site-header img, 542 | .entry-content img, 543 | .widget img, 544 | img[class*="align"], 545 | img[class*="wp-image-"] { 546 | height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 547 | } 548 | .site-header img, 549 | .entry-content img, 550 | img.size-full { 551 | max-width: 100%; 552 | width: auto\9; /* Prevent stretching of full-size images with height and width attributes in IE8 */ 553 | } 554 | .entry-content img.wp-smiley, 555 | .comment-content img.wp-smiley { 556 | margin-top: 0; 557 | margin-bottom: 0; 558 | padding: 0; 559 | border: none; 560 | } 561 | .wp-caption { 562 | max-width: 100%; 563 | border: 1px solid #ccc; 564 | } 565 | .wp-caption.aligncenter, 566 | .wp-caption.alignleft, 567 | .wp-caption.alignright { 568 | margin-bottom: 1.5em; 569 | } 570 | .wp-caption img { 571 | display: block; 572 | margin: 1.2% auto 0; 573 | max-width: 98%; 574 | } 575 | .wp-caption-text { 576 | text-align: center; 577 | } 578 | .wp-caption .wp-caption-text { 579 | margin: 0.8075em 0; 580 | } 581 | .site-content .gallery { 582 | margin-bottom: 1.5em; 583 | } 584 | .gallery-caption { 585 | padding: 0 10px 10px 10px; 586 | color: #999; 587 | font-size: 13px; 588 | } 589 | .site-content .gallery a img { 590 | max-width: 90%; 591 | height: auto; 592 | border: none; 593 | } 594 | .site-content .gallery dd { 595 | margin: 0; 596 | } 597 | .site-content .gallery-columns-4 .gallery-item { 598 | } 599 | .site-content .gallery-columns-4 .gallery-item img { 600 | } 601 | 602 | /* Make sure embeds and iframes fit their containers */ 603 | embed, 604 | iframe, 605 | object { 606 | max-width: 100%; 607 | } 608 | 609 | 610 | /* =Navigation 611 | ----------------------------------------------- */ 612 | 613 | .site-content .site-navigation { 614 | overflow: hidden; 615 | /* margin: 0 0 1.5em; */ 616 | } 617 | .site-content .nav-previous { 618 | float: right; 619 | width: 40%; 620 | } 621 | .site-content .nav-next { 622 | float: left; 623 | width: 40%; 624 | text-align: left; 625 | } 626 | 627 | /* =Comments 628 | ----------------------------------------------- */ 629 | 630 | #comments { 631 | margin-top: 40px; 632 | margin-bottom: 30px; 633 | font-size: 14px; 634 | } 635 | 636 | #comments-template div.navigation { 637 | height: 50px; 638 | } 639 | 640 | ol.commentlist { 641 | margin-right: 60px; 642 | } 643 | 644 | ol.commentlist, 645 | ol.commentlist ul.children { 646 | list-style: none; 647 | } 648 | 649 | ul.children { 650 | margin-right: 44px; 651 | } 652 | 653 | ol.commentlist .avatar { 654 | float: right; 655 | margin-left: 6px; 656 | margin-right: -60px; 657 | width: 48px; 658 | height: 48px; 659 | border-radius: 50%; 660 | } 661 | 662 | ul.children .avatar { 663 | margin-right: -44px; 664 | width: 32px; 665 | height: 32px; 666 | } 667 | 668 | .comment-meta, 669 | .comment-meta a { 670 | color: #999; 671 | text-decoration: none; 672 | font-size: 12px; 673 | } 674 | 675 | .comment-meta { 676 | margin-top: -12px; 677 | margin-bottom: 20px; 678 | margin-right: 0px; 679 | } 680 | 681 | .comment-meta a:before { 682 | content: "\2014\a0"; 683 | } 684 | 685 | .comment .reply { 686 | display: block; 687 | } 688 | 689 | .comment .reply a { 690 | display: block; 691 | margin-top: -10px; 692 | } 693 | 694 | .comment-body:hover .reply { 695 | } 696 | 697 | .comment .reply a:hover { 698 | } 699 | 700 | .comment-body { 701 | margin-bottom: 40px; 702 | margin-right: 0px; 703 | } 704 | 705 | .comment-author { 706 | font-weight: bold; 707 | font-size: 16px; 708 | line-height: 48px; 709 | } 710 | 711 | .comment-author cite { 712 | font-style: normal; 713 | } 714 | 715 | ul.children .comment-author { 716 | margin-bottom: 10px; 717 | line-height: 32px; 718 | } 719 | 720 | .comment-author .fn a { 721 | text-decoration: none; 722 | } 723 | 724 | .comment-author .says, 725 | .pingback .says, 726 | .pingback .comment-meta, 727 | .pingback .reply { 728 | display: none; 729 | } 730 | 731 | .pingback { 732 | position: relative; 733 | } 734 | 735 | .pingback > p:before { 736 | position: absolute; 737 | right: -31px; 738 | color: #999; 739 | content: "Ping!"; 740 | font-size: 10px; 741 | -webkit-transform: rotate(-45deg); 742 | -moz-transform: rotate(-45deg); 743 | -ms-transform: rotate(-45deg); 744 | -o-transform: rotate(-45deg); 745 | } 746 | 747 | .form-allowed-tags { 748 | display: none; 749 | } 750 | 751 | /* =Widgets 752 | ----------------------------------------------- */ 753 | 754 | .widget { 755 | margin: 0 0 1.5em; 756 | } 757 | 758 | /* Search widget */ 759 | .widget_search .submit { 760 | display: none; 761 | } 762 | 763 | /* =Layout 764 | ----------------------------------------------- */ 765 | 766 | body { 767 | color: #222; 768 | font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; 769 | font-weight: 300; 770 | line-height: 1.6; 771 | } 772 | 773 | .site-logo { 774 | margin-bottom: 10px; 775 | } 776 | 777 | .site-title a { 778 | color: inherit; 779 | text-decoration: none; 780 | } 781 | 782 | .site-title { 783 | margin: 0; 784 | font-size: 18px; 785 | line-height: 1.2; 786 | } 787 | 788 | .site-description { 789 | margin: 10px 0 20px 0; 790 | color: #999; 791 | font-weight: 300; 792 | font-size: 13px; 793 | } 794 | 795 | .main-navigation ul, 796 | .widget-area ul, 797 | .widget-area ol { 798 | margin: 0; 799 | padding: 0; 800 | list-style: none; 801 | } 802 | 803 | .main-navigation li, 804 | .widget-area li { 805 | display: block; 806 | margin: 0; 807 | padding: 0; 808 | } 809 | 810 | .main-navigation a, 811 | .widget-area ul li a { 812 | padding: 2px 0px; 813 | text-decoration: none; 814 | } 815 | 816 | .blogroll li a { 817 | display: inline-block; 818 | } 819 | 820 | .widget-area .widget-title { 821 | font-size: 15px; 822 | } 823 | 824 | .site-navigation, 825 | .post-navigation { 826 | margin-top: 20px; 827 | } 828 | 829 | .infinite-scroll .site-navigation { 830 | display: none; 831 | } 832 | 833 | .infinite-scroll .main-navigation { 834 | display: block; 835 | } 836 | 837 | .infinite-loader { 838 | display: block; 839 | padding-right: 50%; 840 | } 841 | 842 | .infinite-loader .spinner { 843 | margin-right: -17px; 844 | } 845 | 846 | #infinite-handle { 847 | margin-top: 20px; 848 | } 849 | 850 | h1, 851 | h2, 852 | h3, 853 | h4, 854 | h5, 855 | h6 { 856 | margin: 20px 0; 857 | font-weight: bold; 858 | } 859 | 860 | h1 { 861 | font-size: 22px; 862 | } 863 | 864 | h2 { 865 | font-size: 18px; 866 | } 867 | 868 | h3 { 869 | font-size: 15px; 870 | } 871 | 872 | h4, 873 | h5, 874 | h6 { 875 | font-weight: 300; 876 | } 877 | 878 | .site-main article { 879 | padding: 10px 0 40px 0; 880 | border-bottom: solid 1px #ddd; 881 | } 882 | 883 | .site-main article.comment { 884 | border-bottom: none; 885 | } 886 | 887 | .entry-title a { 888 | color: inherit; 889 | text-decoration: none; 890 | } 891 | 892 | .entry-title a:hover { 893 | color: #26ADE4; 894 | } 895 | 896 | .entry-meta, 897 | .entry-meta a { 898 | color: #999; 899 | font-size: 12px; 900 | } 901 | 902 | .entry-meta a:hover { 903 | color: #26ADE4; 904 | } 905 | 906 | .site { 907 | margin: 60px auto; 908 | width: 750px; 909 | } 910 | 911 | .site-header { 912 | float: right; 913 | margin-top: 34px; 914 | margin-bottom: 40px; 915 | width: 24%; 916 | } 917 | 918 | .site-content, 919 | .site-footer { 920 | float: left; 921 | width: 70%; 922 | } 923 | 924 | .widget-area { 925 | float: right; 926 | width: 24%; /* Sidebar 1 */ 927 | clear: right; 928 | } 929 | 930 | .entry-header, 931 | .entry-content, 932 | .widget-area .widget { 933 | -webkit-hyphens: auto; 934 | -moz-hyphens: auto; 935 | hyphens: auto; 936 | word-wrap: break-word; 937 | } 938 | 939 | .widget_search input[type="text"] { /* fixes overflow issue */ 940 | width: 90%; 941 | } 942 | 943 | .site-footer { 944 | clear: both; 945 | margin-top: 40px; 946 | margin-bottom: 40px; 947 | } 948 | 949 | .site-footer, 950 | .site-footer a { 951 | color: #999; 952 | font-size: 13px; 953 | } 954 | 955 | .site-footer a:hover { 956 | color: #26ADE4; 957 | } 958 | 959 | img#wpstats { 960 | display: block; 961 | margin: 5px auto; 962 | } 963 | 964 | table td { 965 | padding: 4px 0; 966 | border-bottom: solid 1px #eee; 967 | font-weight: 300; 968 | } 969 | 970 | table th { 971 | padding: 4px 0; 972 | border-bottom: solid 1px #ccc; 973 | } 974 | 975 | /* iPads (landscape) ----------- */ 976 | @media only screen and (max-width : 900px) 977 | { 978 | /* Styles */ 979 | 980 | .site { 981 | position: relative; 982 | margin: 0 auto; 983 | padding: 40px; 984 | width: auto; 985 | } 986 | 987 | .site-header, 988 | .site-content, 989 | #colophon { 990 | width: 100%; 991 | } 992 | 993 | .site-header { 994 | margin-top: 0; 995 | } 996 | 997 | .site-title, 998 | .site-description { 999 | clear: none; 1000 | margin-right: 70px; 1001 | } 1002 | 1003 | .site-logo, 1004 | .site-logo img { 1005 | float: right; 1006 | width: 50px; 1007 | height: 50px; 1008 | } 1009 | 1010 | .main-navigation { 1011 | clear: none; 1012 | margin-right: -10px; 1013 | padding-top: 20px; 1014 | width: auto; 1015 | } 1016 | 1017 | .main-navigation li { 1018 | display: inline-block; 1019 | padding: 5px 10px; 1020 | width: auto; 1021 | } 1022 | 1023 | /* Small Navigation */ 1024 | .main-small-navigation { 1025 | position: absolute; 1026 | top: 0; 1027 | right: 0; 1028 | width: 100%; 1029 | border-bottom: solid 1px #DDD; 1030 | background: #F2F7F9; 1031 | } 1032 | 1033 | .main-small-navigation ul { 1034 | margin: 0; 1035 | padding: 0; 1036 | list-style: none; 1037 | } 1038 | 1039 | .main-small-navigation a { 1040 | display: block; 1041 | padding: 10px 40px; 1042 | border-top: solid 1px #ddd; 1043 | } 1044 | 1045 | .main-small-navigation .menu-toggle { 1046 | margin: 0; 1047 | padding: 10px 40px; 1048 | font-size: 14px; 1049 | } 1050 | 1051 | .main-small-navigation .menu-toggle:before { 1052 | margin-left: 10px; 1053 | margin-right: -20px; 1054 | content: '\2261'; 1055 | } 1056 | 1057 | .main-small-navigation .menu-toggle.toggled-on { 1058 | background: white; 1059 | } 1060 | } 1061 | 1062 | @media only screen and (max-width : 600px) { 1063 | #masthead { 1064 | margin-top: 40px; 1065 | } 1066 | } 1067 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Publish 3 | Theme URI: http://kovshenin.com/themes/publish 4 | Author: Konstantin Kovshenin 5 | Author URI: http://kovshenin.com 6 | Description: Publish is a clean minimal theme which puts you and your content on stage. Ideal for single-author blogs. 7 | Version: 1.2.4 8 | License: GNU GPLv3 9 | License URI: http://www.gnu.org/copyleft/gpl.html 10 | Tags: light, white, blue, two-columns, left-sidebar, flexible-width, custom-background, custom-colors, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready 11 | 12 | Based on _s: http://underscores.me 13 | 14 | Resetting and rebuilding styles have been helped along thanks to the fine work of 15 | Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html 16 | along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ 17 | and Blueprint http://www.blueprintcss.org/ 18 | */ 19 | 20 | 21 | /* =Reset 22 | -------------------------------------------------------------- */ 23 | 24 | html, body, div, span, applet, object, iframe, 25 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 26 | a, abbr, acronym, address, big, cite, code, 27 | del, dfn, em, font, ins, kbd, q, s, samp, 28 | small, strike, strong, sub, sup, tt, var, 29 | dl, dt, dd, ol, ul, li, 30 | fieldset, form, label, legend, 31 | table, caption, tbody, tfoot, thead, tr, th, td { 32 | margin: 0; 33 | padding: 0; 34 | outline: 0; 35 | border: 0; 36 | vertical-align: baseline; 37 | font-weight: inherit; 38 | font-style: inherit; 39 | font-size: 100%; 40 | font-family: inherit; 41 | } 42 | html { 43 | overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */ 44 | font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ 45 | -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ 46 | -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ 47 | } 48 | body { 49 | background: #fff; 50 | } 51 | article, 52 | aside, 53 | details, 54 | figcaption, 55 | figure, 56 | footer, 57 | header, 58 | hgroup, 59 | nav, 60 | section { 61 | display: block; 62 | } 63 | ol, ul { 64 | list-style: none; 65 | } 66 | table { 67 | border-spacing: 0; /* tables still need 'cellspacing="0"' in the markup */ 68 | border-collapse: separate; 69 | } 70 | caption, th, td { 71 | text-align: left; 72 | font-weight: normal; 73 | } 74 | blockquote:before, blockquote:after, 75 | q:before, q:after { 76 | content: ""; 77 | } 78 | blockquote, q { 79 | quotes: "" ""; 80 | } 81 | a:focus { 82 | outline: thin dotted; 83 | } 84 | a:hover, 85 | a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */ 86 | outline: 0; 87 | } 88 | a img { 89 | border: 0; 90 | } 91 | 92 | 93 | /* =Global 94 | ----------------------------------------------- */ 95 | 96 | body, 97 | button, 98 | input, 99 | select, 100 | textarea { 101 | color: #404040; 102 | font-size: 16px; 103 | font-size: 1.6rem; 104 | font-family: sans-serif; 105 | line-height: 1.5; 106 | } 107 | 108 | /* Headings */ 109 | h1,h2,h3,h4,h5,h6 { 110 | clear: both; 111 | } 112 | hr { 113 | margin-bottom: 1.5em; 114 | height: 1px; 115 | border: 0; 116 | background-color: #ccc; 117 | } 118 | 119 | /* Text elements */ 120 | p { 121 | margin-bottom: 1.5em; 122 | } 123 | ul, ol { 124 | margin: 0 0 1.5em 3em; 125 | } 126 | ul { 127 | list-style: disc; 128 | } 129 | ol { 130 | list-style: decimal; 131 | } 132 | li > ol, li > ul { 133 | margin-bottom: 0; 134 | margin-left: 1.5em; 135 | } 136 | dt { 137 | font-weight: bold; 138 | } 139 | dd { 140 | margin: 0 1.5em 1.5em; 141 | } 142 | b, strong { 143 | font-weight: bold; 144 | } 145 | dfn, cite, em, i { 146 | font-style: italic; 147 | } 148 | blockquote { 149 | margin: 0 1.5em; 150 | font-style: italic; 151 | font-family: Georgia, "Bitstream Charter", serif; 152 | } 153 | blockquote cite { 154 | color: #999; 155 | font-size: 13px; 156 | } 157 | blockquote cite:before { 158 | content: "\2014 \0020"; 159 | } 160 | address { 161 | margin: 0 0 1.5em; 162 | } 163 | pre { 164 | overflow: auto; 165 | margin-bottom: 1.6em; 166 | padding: 1.6em; 167 | max-width: 100%; 168 | background: #F2F7F9; 169 | font: 12px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 170 | line-height: 1.6; 171 | } 172 | code, kbd, tt, var { 173 | font: 14px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 174 | } 175 | abbr, acronym { 176 | border-bottom: 1px dotted #666; 177 | cursor: help; 178 | } 179 | mark, ins { 180 | background: #fff9c0; 181 | text-decoration: none; 182 | } 183 | sup, 184 | sub { 185 | position: relative; 186 | height: 0; 187 | vertical-align: baseline; 188 | font-size: 75%; 189 | line-height: 0; 190 | } 191 | sup { 192 | bottom: 1ex; 193 | } 194 | sub { 195 | top: .5ex; 196 | } 197 | small { 198 | font-size: 75%; 199 | } 200 | big { 201 | font-size: 125%; 202 | } 203 | figure { 204 | margin: 0; 205 | } 206 | table { 207 | margin: 0 0 1.5em; 208 | width: 100%; 209 | } 210 | th { 211 | font-weight: bold; 212 | } 213 | button, 214 | input, 215 | select, 216 | textarea { 217 | margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ 218 | vertical-align: middle; /* Improves appearance and consistency in all browsers */ 219 | font-size: 100%; /* Corrects font size not being inherited in all browsers */ 220 | } 221 | button, 222 | input { 223 | line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */ 224 | *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */ 225 | } 226 | button, 227 | html input[type="button"], 228 | input[type="reset"], 229 | input[type="submit"] { 230 | padding: 0.25em 0.5em; 231 | border: 1px solid #ccc; 232 | border-color: #ccc #ccc #bbb #ccc; 233 | border-radius: 3px; 234 | background: #fafafa; /* Old browsers */ 235 | background: -moz-linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* FF3.6+ */ 236 | background: -webkit-gradient(linear, left top, left bottom, color-stop(60%,#fafafa), color-stop(100%,#e6e6e6)); /* Chrome,Safari4+ */ 237 | background: -webkit-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* Chrome10+,Safari5.1+ */ 238 | background: -o-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* Opera 11.10+ */ 239 | background: -ms-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* IE10+ */ 240 | background: linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* W3C */ 241 | box-shadow: inset 0 2px 1px #fff; 242 | color: rgba(0,0,0,.8); 243 | text-shadow: 0 1px 0 rgba(255,255,255,.5); 244 | font-size: 12px; 245 | font-size: 1.4rem; 246 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */ 247 | cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ 248 | -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ 249 | } 250 | button:hover, 251 | html input[type="button"]:hover, 252 | input[type="reset"]:hover, 253 | input[type="submit"]:hover { 254 | border-color: #bbb #bbb #aaa #bbb; 255 | background: #f5f5f5; /* Old browsers */ 256 | background: -moz-linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* FF3.6+ */ 257 | background: -webkit-gradient(linear, left top, left bottom, color-stop(60%,#f5f5f5), color-stop(100%,#dcdcdc)); /* Chrome,Safari4+ */ 258 | background: -webkit-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* Chrome10+,Safari5.1+ */ 259 | background: -o-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* Opera 11.10+ */ 260 | background: -ms-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* IE10+ */ 261 | background: linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* W3C */ 262 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dcdcdc',GradientType=0 ); /* IE6-9 */ 263 | } 264 | button:focus, 265 | html input[type="button"]:focus, 266 | input[type="reset"]:focus, 267 | input[type="submit"]:focus, 268 | button:active, 269 | html input[type="button"]:active, 270 | input[type="reset"]:active, 271 | input[type="submit"]:active { 272 | border-color: #aaa #bbb #bbb #bbb; 273 | box-shadow: inset 0 2px 3px rgba(0,0,0,.15); 274 | box-shadow: inset 0 2px 2px rgba(0,0,0,.15); 275 | } 276 | input[type="checkbox"], 277 | input[type="radio"] { 278 | box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ 279 | padding: 0; /* Addresses excess padding in IE8/9 */ 280 | } 281 | input[type="search"] { 282 | -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ 283 | -moz-box-sizing: content-box; 284 | box-sizing: content-box; 285 | -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ 286 | } 287 | input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ 288 | -webkit-appearance: none; 289 | } 290 | button::-moz-focus-inner, 291 | input::-moz-focus-inner { 292 | padding: 0; /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ 293 | border: 0; 294 | } 295 | input[type=text], 296 | input[type=password], 297 | input[type=email], 298 | textarea { 299 | border: 1px solid #ccc; 300 | border-radius: 3px; 301 | color: #666; 302 | } 303 | input[type=text]:focus, 304 | input[type=password]:focus, 305 | input[type=email]:focus, 306 | textarea:focus { 307 | color: #111; 308 | } 309 | input[type=text], 310 | input[type=password], 311 | input[type=email] { 312 | padding: 3px; 313 | } 314 | textarea { 315 | overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ 316 | padding-left: 3px; 317 | width: 98%; 318 | vertical-align: top; /* Improves readability and alignment in all browsers */ 319 | } 320 | 321 | /* Links */ 322 | a { 323 | color: #26ADE4; 324 | } 325 | a:visited { 326 | color: #26ADE4; 327 | } 328 | a:hover, 329 | a:focus, 330 | a:active { 331 | color: #1E8AB6; 332 | } 333 | 334 | /* Alignment */ 335 | .alignleft { 336 | display: inline; 337 | float: left; 338 | margin-right: 1.5em; 339 | } 340 | .alignright { 341 | display: inline; 342 | float: right; 343 | margin-left: 1.5em; 344 | } 345 | .aligncenter { 346 | display: block; 347 | clear: both; 348 | margin: 0 auto; 349 | } 350 | 351 | img.alignleft { 352 | margin: 5px 20px 10px 0; 353 | } 354 | img.alignright { 355 | margin: 5px 0 10px 20px; 356 | } 357 | img.aligncenter { 358 | margin: 5px auto 10px; 359 | } 360 | 361 | /* Text meant only for screen readers */ 362 | .assistive-text { 363 | position: absolute !important; 364 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 365 | clip: rect(1px, 1px, 1px, 1px); 366 | } 367 | 368 | 369 | /* =Menu 370 | ----------------------------------------------- */ 371 | 372 | .main-navigation { 373 | display: block; 374 | float: left; 375 | clear: both; 376 | width: 100%; 377 | } 378 | .main-navigation ul { 379 | margin: 0; 380 | padding-left: 0; 381 | list-style: none; 382 | } 383 | .main-navigation li { 384 | position: relative; 385 | } 386 | .main-navigation a { 387 | display: block; 388 | text-decoration: none; 389 | } 390 | .main-navigation ul ul { 391 | position: absolute; 392 | top: 1.5em; 393 | left: 0; 394 | z-index: 99999; 395 | display: none; 396 | float: left; 397 | -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); 398 | -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); 399 | box-shadow: 0 3px 3px rgba(0,0,0,0.2); 400 | } 401 | .main-navigation ul ul ul { 402 | top: 0; 403 | left: 100%; 404 | } 405 | .main-navigation ul ul a { 406 | width: 200px; 407 | } 408 | .main-navigation ul ul li { 409 | } 410 | .main-navigation li:hover > a { 411 | } 412 | .main-navigation ul ul :hover > a { 413 | } 414 | .main-navigation ul ul a:hover { 415 | } 416 | .main-navigation ul li:hover > ul { 417 | display: block; 418 | } 419 | .main-navigation li.current_page_item a, 420 | .main-navigation li.current-menu-item a { 421 | } 422 | 423 | /* Small menu */ 424 | .menu-toggle { 425 | cursor: pointer; 426 | } 427 | .main-small-navigation .menu { 428 | display: none; 429 | } 430 | 431 | 432 | /* =Content 433 | ----------------------------------------------- */ 434 | 435 | .site, 436 | .entry-content { 437 | *zoom: 1; 438 | } 439 | .site:before, 440 | .site:after, 441 | .entry-content:before, 442 | .entry-content:after { 443 | display: table; 444 | content: ""; 445 | line-height: 0; 446 | } 447 | .site:after, 448 | .entry-content:after { 449 | clear: both; 450 | } 451 | .site-main article.sticky { 452 | margin-right: -40px; 453 | margin-bottom: 1px; 454 | margin-left: -40px; 455 | padding-right: 40px; 456 | padding-left: 40px; 457 | background: #F2F7F9; 458 | border: none; 459 | } 460 | .site-main article:first-child.sticky { 461 | margin-top: 34px; 462 | } 463 | .hentry { 464 | /* margin: 0 0 1.5em; */ 465 | } 466 | .entry-meta { 467 | clear: both; 468 | } 469 | .byline { 470 | display: none; 471 | } 472 | .single .byline, 473 | .group-blog .byline { 474 | display: inline; 475 | } 476 | .entry-content, 477 | .entry-summary { 478 | margin: 1.5em 0 0; 479 | } 480 | .entry-content > .sharedaddy { 481 | margin: 1.5em 0; 482 | } 483 | .page-links { 484 | clear: both; 485 | margin: 0 0 1.5em; 486 | } 487 | 488 | .entry-content .twitter-tweet-rendered { 489 | max-width: 100% !important; 490 | } 491 | 492 | /* =Post Formats 493 | ----------------------------------------------- */ 494 | 495 | .blog .format-aside .entry-title, 496 | .archive .format-aside .entry-title, 497 | .blog .format-status .entry-title, 498 | .archive .format-status .entry-title, 499 | .blog .format-link .entry-title, 500 | .archive .format-link .entry-title, 501 | .blog .format-image .entry-title, 502 | .archive .format-image .entry-title, 503 | .blog .format-quote .entry-title, 504 | .archive .format-quote .entry-title { 505 | display: none; 506 | } 507 | 508 | .single .format-aside h1.entry-title, 509 | .single .format-quote h1.entry-title, 510 | .single .format-chat h1.entry-title, 511 | .single .format-status h1.entry-title, 512 | .single .format-image h1.entry-title, 513 | .single .format-link h1.entry-title, 514 | .single .format-gallery h1.entry-title { 515 | font-size: 13px; 516 | line-height: 21px; 517 | } 518 | 519 | .format-aside .entry-format, 520 | .format-quote .entry-format, 521 | .format-chat .entry-format, 522 | .format-status .entry-format, 523 | .format-image .entry-format, 524 | .format-link .entry-format, 525 | .format-gallery .entry-format { 526 | color: #999; 527 | font-weight: 300; 528 | } 529 | 530 | /* =Media 531 | ----------------------------------------------- */ 532 | 533 | .site-header img, 534 | .entry-content img, 535 | .comment-content img, 536 | .widget img { 537 | max-width: 100%; /* Fluid images for posts, comments, and widgets */ 538 | } 539 | .site-header img, 540 | .entry-content img, 541 | .widget img, 542 | img[class*="align"], 543 | img[class*="wp-image-"] { 544 | height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 545 | } 546 | .site-header img, 547 | .entry-content img, 548 | img.size-full { 549 | max-width: 100%; 550 | } 551 | .entry-content img.wp-smiley, 552 | .comment-content img.wp-smiley { 553 | margin-top: 0; 554 | margin-bottom: 0; 555 | padding: 0; 556 | border: none; 557 | } 558 | .wp-caption { 559 | max-width: 100%; 560 | border: 1px solid #ccc; 561 | margin-bottom: 20px; 562 | } 563 | .wp-caption.aligncenter, 564 | .wp-caption.alignleft, 565 | .wp-caption.alignright { 566 | margin-bottom: 1.5em; 567 | } 568 | .wp-caption img { 569 | display: block; 570 | margin: 5px auto 0; 571 | max-width: 98%; 572 | } 573 | .wp-caption-text { 574 | text-align: center; 575 | font-style: italic; 576 | font-size: smaller; 577 | } 578 | .wp-caption .wp-caption-text { 579 | margin: 0.8075em 0; 580 | } 581 | .site-content .gallery { 582 | margin-bottom: 1.5em; 583 | } 584 | .gallery-caption { 585 | padding: 0 10px 10px 10px; 586 | color: #999; 587 | font-size: 13px; 588 | } 589 | .site-content .gallery a img { 590 | max-width: 90%; 591 | height: auto; 592 | border: none; 593 | } 594 | .site-content .gallery dd { 595 | margin: 0; 596 | } 597 | .site-content .gallery-columns-4 .gallery-item { 598 | } 599 | .site-content .gallery-columns-4 .gallery-item img { 600 | } 601 | 602 | /* Make sure embeds and iframes fit their containers */ 603 | embed, 604 | iframe, 605 | object { 606 | max-width: 100%; 607 | } 608 | 609 | 610 | /* =Navigation 611 | ----------------------------------------------- */ 612 | 613 | .site-content .site-navigation { 614 | overflow: hidden; 615 | /* margin: 0 0 1.5em; */ 616 | } 617 | .site-content .nav-previous, 618 | .site-navigation .previous-image { 619 | float: left; 620 | width: 40%; 621 | } 622 | .site-content .nav-next, 623 | .site-navigation .next-image { 624 | float: right; 625 | width: 40%; 626 | text-align: right; 627 | } 628 | 629 | /* =Comments 630 | ----------------------------------------------- */ 631 | 632 | #comments { 633 | margin-top: 40px; 634 | margin-bottom: 30px; 635 | font-size: 14px; 636 | } 637 | 638 | #comments-template div.navigation { 639 | height: 50px; 640 | } 641 | 642 | ol.commentlist { 643 | margin-left: 60px; 644 | } 645 | 646 | ol.commentlist, 647 | ol.commentlist ul.children { 648 | list-style: none; 649 | } 650 | 651 | ul.children { 652 | margin-left: 44px; 653 | } 654 | 655 | ol.commentlist .avatar { 656 | float: left; 657 | margin-right: 6px; 658 | margin-left: -60px; 659 | width: 48px; 660 | height: 48px; 661 | border-radius: 50%; 662 | } 663 | 664 | ul.children .avatar { 665 | margin-left: -44px; 666 | width: 32px; 667 | height: 32px; 668 | } 669 | 670 | .comment-meta, 671 | .comment-meta a { 672 | color: #999; 673 | text-decoration: none; 674 | font-size: 12px; 675 | } 676 | 677 | .comment-meta { 678 | margin-top: -12px; 679 | margin-bottom: 20px; 680 | margin-left: 0px; 681 | } 682 | 683 | .comment-meta a:before { 684 | content: "\2014\a0"; 685 | } 686 | 687 | .comment .reply { 688 | display: block; 689 | } 690 | 691 | .comment .reply a { 692 | display: block; 693 | margin-top: -10px; 694 | } 695 | 696 | .comment-body:hover .reply { 697 | } 698 | 699 | .comment .reply a:hover { 700 | } 701 | 702 | .comment-body { 703 | margin-bottom: 40px; 704 | margin-left: 0px; 705 | } 706 | 707 | .comment-author { 708 | font-weight: bold; 709 | font-size: 16px; 710 | line-height: 48px; 711 | } 712 | 713 | .comment-author cite { 714 | font-style: normal; 715 | } 716 | 717 | ul.children .comment-author { 718 | margin-bottom: 10px; 719 | line-height: 32px; 720 | } 721 | 722 | .comment-author .fn a { 723 | text-decoration: none; 724 | } 725 | 726 | .comment-author .says, 727 | .pingback .says, 728 | .pingback .comment-meta, 729 | .pingback .reply { 730 | display: none; 731 | } 732 | 733 | .pingback { 734 | position: relative; 735 | } 736 | 737 | .pingback > p:before { 738 | position: absolute; 739 | left: -31px; 740 | color: #999; 741 | content: "Ping!"; 742 | font-size: 10px; 743 | -webkit-transform: rotate(-45deg); 744 | -moz-transform: rotate(-45deg); 745 | -ms-transform: rotate(-45deg); 746 | -o-transform: rotate(-45deg); 747 | } 748 | 749 | .form-allowed-tags { 750 | display: none; 751 | } 752 | 753 | .bypostauthor {} 754 | 755 | /* =Widgets 756 | ----------------------------------------------- */ 757 | 758 | .widget, 759 | .widget_twitter ul li, 760 | .widget_rss ul li { 761 | margin: 0 0 1.5em; 762 | } 763 | 764 | /* Search widget */ 765 | .widget_search .submit { 766 | display: none; 767 | } 768 | 769 | .widget_rss .rss-date, 770 | .widget_rss li > cite, 771 | .widget_twitter .timesince { 772 | color: #999; 773 | display: block; 774 | font-size: 12px; 775 | } 776 | 777 | /* =Layout 778 | ----------------------------------------------- */ 779 | 780 | body { 781 | color: #222; 782 | font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; 783 | font-weight: 300; 784 | line-height: 1.6; 785 | } 786 | 787 | .site-logo img { 788 | margin-bottom: 10px; 789 | } 790 | 791 | .site-title a { 792 | color: inherit; 793 | text-decoration: none; 794 | } 795 | 796 | .site-title { 797 | margin: 0; 798 | font-size: 18px; 799 | line-height: 1.2; 800 | } 801 | 802 | .site-description { 803 | margin: 10px 0 20px 0; 804 | color: #999; 805 | font-weight: 300; 806 | font-size: 13px; 807 | } 808 | 809 | .main-navigation ul, 810 | .widget-area ul, 811 | .widget-area ol { 812 | margin: 0; 813 | padding: 0; 814 | list-style: none; 815 | } 816 | 817 | .main-navigation li, 818 | .widget-area li { 819 | display: block; 820 | margin: 0; 821 | padding: 0; 822 | } 823 | 824 | .main-navigation a, 825 | .widget-area ul li a { 826 | padding: 2px 0px; 827 | text-decoration: none; 828 | } 829 | 830 | .widget-area .widget-title { 831 | font-size: 15px; 832 | } 833 | 834 | .site-navigation, 835 | .post-navigation { 836 | margin-top: 20px; 837 | } 838 | 839 | .infinite-scroll .site-navigation { 840 | display: none; 841 | } 842 | 843 | .infinite-scroll .main-navigation, 844 | .infinite-scroll .main-small-navigation { 845 | display: block; 846 | } 847 | 848 | .infinite-loader { 849 | display: block; 850 | padding-left: 50%; 851 | } 852 | 853 | .infinite-loader .spinner { 854 | margin-left: -17px; 855 | } 856 | 857 | #infinite-handle { 858 | margin-top: 20px; 859 | text-align: center; 860 | } 861 | 862 | h1, 863 | h2, 864 | h3, 865 | h4, 866 | h5, 867 | h6 { 868 | margin: 20px 0; 869 | font-weight: bold; 870 | } 871 | 872 | h1 { 873 | font-size: 22px; 874 | } 875 | 876 | h2 { 877 | font-size: 18px; 878 | } 879 | 880 | h3 { 881 | font-size: 15px; 882 | } 883 | 884 | h4, 885 | h5, 886 | h6 { 887 | font-weight: 300; 888 | } 889 | 890 | .site-main article { 891 | padding: 10px 0 40px 0; 892 | border-bottom: solid 1px #ddd; 893 | } 894 | 895 | .site-main article.comment { 896 | border-bottom: none; 897 | } 898 | 899 | .entry-title a { 900 | color: #404040; 901 | text-decoration: none; 902 | } 903 | 904 | .entry-title a:hover { 905 | color: #26ADE4; 906 | } 907 | 908 | .entry-meta, 909 | .entry-meta a { 910 | color: #999; 911 | font-size: 12px; 912 | } 913 | 914 | .entry-meta a:hover { 915 | color: #26ADE4; 916 | } 917 | 918 | .site { 919 | background-color: #ffffff; 920 | margin: 60px auto; 921 | padding: 0 40px; 922 | width: 750px; 923 | } 924 | 925 | .site-header { 926 | float: left; 927 | margin-top: 34px; 928 | margin-bottom: 40px; 929 | width: 24%; 930 | } 931 | 932 | .site-content, 933 | .site-footer { 934 | float: right; 935 | width: 70%; 936 | } 937 | 938 | .widget-area { 939 | float: left; 940 | width: 24%; /* Sidebar 1 */ 941 | clear: left; 942 | } 943 | 944 | .site-header, 945 | .entry-header, 946 | .entry-content, 947 | .widget-area .widget, 948 | .comment { 949 | -webkit-hyphens: auto; 950 | -moz-hyphens: auto; 951 | hyphens: auto; 952 | word-wrap: break-word; 953 | } 954 | 955 | .widget_search input[type="text"] { /* fixes overflow issue */ 956 | width: 90%; 957 | } 958 | 959 | .site-footer { 960 | clear: both; 961 | margin-top: 40px; 962 | margin-bottom: 40px; 963 | } 964 | 965 | .site-footer, 966 | .site-footer a { 967 | color: #999; 968 | font-size: 13px; 969 | } 970 | 971 | .site-footer a:hover { 972 | color: #26ADE4; 973 | } 974 | 975 | img#wpstats { 976 | display: block; 977 | margin: 5px auto; 978 | } 979 | 980 | table td { 981 | padding: 4px 0; 982 | border-bottom: solid 1px #eee; 983 | font-weight: 300; 984 | } 985 | 986 | table th { 987 | padding: 4px 0; 988 | border-bottom: solid 1px #ccc; 989 | } 990 | 991 | /* iPads (landscape) ----------- */ 992 | @media only screen and (max-width : 900px) { 993 | /* Styles */ 994 | 995 | .site { 996 | position: relative; 997 | margin: 0 auto; 998 | padding: 40px; 999 | width: auto; 1000 | } 1001 | 1002 | .site-header, 1003 | .site-content, 1004 | .site-footer, 1005 | .widget-area { 1006 | width: 100%; 1007 | } 1008 | 1009 | .site-header { 1010 | margin-top: 0; 1011 | } 1012 | 1013 | .site-title, 1014 | .site-description { 1015 | clear: none; 1016 | margin-left: 70px; 1017 | } 1018 | 1019 | .site-logo, 1020 | .site-logo img { 1021 | float: left; 1022 | width: 50px; 1023 | height: auto; 1024 | } 1025 | 1026 | .main-navigation { 1027 | clear: none; 1028 | margin-left: -10px; 1029 | padding-top: 20px; 1030 | width: auto; 1031 | } 1032 | 1033 | .main-navigation li { 1034 | display: inline-block; 1035 | padding: 5px 10px; 1036 | width: auto; 1037 | } 1038 | 1039 | /* Small Navigation */ 1040 | .main-small-navigation { 1041 | position: absolute; 1042 | top: 0; 1043 | left: 0; 1044 | width: 100%; 1045 | border-bottom: solid 1px #DDD; 1046 | background: #F2F7F9; 1047 | margin-top: 0; 1048 | } 1049 | 1050 | .main-small-navigation ul { 1051 | margin: 0; 1052 | padding: 0; 1053 | list-style: none; 1054 | } 1055 | 1056 | .main-small-navigation a { 1057 | display: block; 1058 | padding: 10px 40px; 1059 | border-top: solid 1px #ddd; 1060 | } 1061 | 1062 | .main-small-navigation .menu-toggle { 1063 | margin: 0; 1064 | padding: 10px 40px; 1065 | font-size: 14px; 1066 | } 1067 | 1068 | .main-small-navigation .menu-toggle:before { 1069 | margin-right: 10px; 1070 | margin-left: -20px; 1071 | content: '\2261'; 1072 | } 1073 | 1074 | .main-small-navigation .menu-toggle.toggled-on { 1075 | background: white; 1076 | } 1077 | } 1078 | 1079 | @media only screen and (max-width : 600px) { 1080 | #masthead { 1081 | margin-top: 40px; 1082 | } 1083 | } 1084 | --------------------------------------------------------------------------------