Commit bbd38e6c authored by lucha's avatar lucha

[auto] theme: twentyten 2.6

parent bf59c76f
......@@ -27,4 +27,4 @@ get_header(); ?>
document.getElementById('s') && document.getElementById('s').focus();
</script>
<?php get_footer(); ?>
<?php get_footer(); ?>
\ No newline at end of file
......@@ -25,9 +25,8 @@ get_header(); ?>
* We reset this later so we can run the loop
* properly with a call to rewind_posts().
*/
if ( have_posts() ) {
the_post();
}
if ( have_posts() )
the_post();
?>
<h1 class="page-title">
......
......@@ -21,17 +21,15 @@ get_header(); ?>
* We reset this later so we can run the loop
* properly with a call to rewind_posts().
*/
if ( have_posts() ) {
the_post();
}
if ( have_posts() )
the_post();
?>
<h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyten' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
<?php
// If a user has filled out their description, show a bio on their entries.
if ( get_the_author_meta( 'description' ) ) :
?>
if ( get_the_author_meta( 'description' ) ) : ?>
<div id="entry-author-info">
<div id="author-avatar">
<?php
......
/*
Theme Name: Twenty Ten
Description: Used to style Gutenberg Blocks.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Block Styles
2.0 Blocks - Common Blocks
3.0 Blocks - Formatting
4.0 Blocks - Layout Elements
5.0 Blocks - Widgets
6.0 Blocks - Colors
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 General Block Styles
--------------------------------------------------------------*/
/* Captions */
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
color: #777;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
/* Alignments */
[class^="wp-block-"].alignleft,
[class^="wp-block-"] .alignleft {
margin-right: 24px;
}
[class^="wp-block-"].alignright,
[class^="wp-block-"] .alignright {
margin-left: 24px;
}
/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/
/* Paragraph */
p.has-drop-cap:not(:focus)::first-letter {
font-size: 5em;
margin-top: 0.1em;
}
/* Image */
.wp-block-image figure {
margin-bottom: 24px;
}
.wp-block-image figcaption {
margin: -7px 0 20px;;
padding: 9px 9px 1.0em;
text-align: center;
}
.wp-block-image.alignfull,
.wp-block-image.alignfull img {
margin: 0;
}
/* Gallery */
.wp-block-gallery {
margin: 0 0 24px;
}
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
left: 0;
right: 0;
width: auto;
}
/* Quotes */
.wp-block-quote:not(.is-large):not(.is-style-large) {
border: none;
padding: 0 3em;
}
.wp-block-quote cite {
color: inherit;
font-size: inherit;
font-weight: 600;
}
/* Audio */
.wp-block-audio {
margin-left: 0;
margin-right: 0;
}
.wp-block-audio audio {
display: block;
width: 100%;
}
/* File */
.rtl .wp-block-file * + .wp-block-file__button {
margin: 0 0 0 0.75em;
}
/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/
/* Code */
.wp-block-code {
background-color: transparent;
border: 0;
padding: 0;
}
/* Pullquote */
.wp-block-pullquote p {
font-size: 1.5em;
}
.wp-block-pullquote__citation,
.wp-block-pullquote cite {
color: inherit;
font-size: inherit;
font-weight: 600;
text-transform: none;
}
/* Table */
.wp-block-table td,
.wp-block-table th {
border: none;
}
.wp-block-table td {
border-top: 1px solid #e7e7e7;
}
.wp-block-table tr:nth-child(odd) td {
background: #f2f7fc;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/
/* Separator */
.wp-block-separator {
border: 0;
}
/* Media & Text */
.wp-block-media-text {
margin-bottom: 24px;
}
/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/
/* Archives, Categories & Latest Posts */
.wp-block-archives.aligncenter,
.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter {
margin-left: 20px;
text-align: center;
}
.rtl .wp-block-archives.aligncenter,
.rtl .wp-block-categories.aligncenter,
.rtl .wp-block-latest-posts.aligncenter {
margin-left: 0;
margin-right: 20px;
}
/* Latest Comments */
.wp-block-latest-comments {
margin: 0 0 24px;
}
/* Latest Posts */
.wp-block-latest-posts.is-grid {
margin-left: 0;
margin-right: 0;
}
/*--------------------------------------------------------------
6.0 Blocks - Colors
--------------------------------------------------------------*/
.has-blue-color {
color: #0066cc;
}
.has-blue-background-color {
background-color: #0066cc;
}
.has-black-color {
color: #000;
}
.has-black-background-color {
background-color: #000;
}
.has-medium-gray-color {
color: #666;
}
.has-medium-gray-background-color {
background-color: #666;
}
.has-light-gray-color {
color: #f1f1f1;
}
.has-light-gray-background-color {
background-color: #f1f1f1;
}
.has-white-color {
color: #fff;
}
.has-white-background-color {
background-color: #fff;
}
......@@ -12,16 +12,13 @@ get_header(); ?>
<div id="container">
<div id="content" role="main">
<h1 class="page-title">
<?php
<h1 class="page-title"><?php
printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?>
</h1>
?></h1>
<?php
$category_description = category_description();
if ( ! empty( $category_description ) ) {
echo '<div class="archive-meta">' . $category_description . '</div>';
}
if ( ! empty( $category_description ) )
echo '<div class="archive-meta">' . $category_description . '</div>';
/*
* Run the loop for the category page to output the posts.
......
......@@ -32,14 +32,10 @@
?>
<?php if ( have_comments() ) : ?>
<h3 id="comments-title">
<?php
printf(
_n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>'
);
?>
</h3>
<h3 id="comments-title"><?php
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
?></h3>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<div class="navigation">
......@@ -73,10 +69,9 @@
* If there are no comments and comments are closed, let's leave a little note, shall we?
* But we only want the note on posts and pages that had comments in the first place.
*/
if ( ! comments_open() && get_comments_number() ) :
?>
<p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p>
<?php endif; ?>
if ( ! comments_open() && get_comments_number() ) : ?>
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p>
<?php endif; ?>
<?php endif; // end have_comments() ?>
......
/*
Theme Name: Twenty Ten
Description: Used to style Gutenberg Blocks in the editor.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Typography
2.0 General Block Styles
3.0 Blocks - Common Blocks
4.0 Blocks - Formatting
5.0 Blocks - Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 General Typography
--------------------------------------------------------------*/
.edit-post-visual-editor .editor-block-list__block,
.edit-post-visual-editor .editor-block-list__block p,
.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
font-size: 16px;
}
.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
font-family: Georgia, "Bitstream Charter", serif;
}
.edit-post-visual-editor .editor-block-list__block .mce-content-body,
.wp-block-freeform.block-library-rich-text__tinymce p,
.wp-block-freeform.block-library-rich-text__tinymce li {
line-height: 1.5;
}
.edit-post-visual-editor .editor-block-list__block {
color: #1a1a1a;
}
.editor-post-title__block .editor-post-title__input {
color: #000;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
font-size: 21px;
font-weight: bold;
line-height: 1.3em;
}
.edit-post-visual-editor .editor-block-list__block h1 {
font-size: 32px;
}
.edit-post-visual-editor .editor-block-list__block h2 {
font-size: 24px;
}
.edit-post-visual-editor .editor-block-list__block h3 {
font-size: 19px;
}
.edit-post-visual-editor .editor-block-list__block h4 {
font-size: 16px;
}
.edit-post-visual-editor .editor-block-list__block h5 {
font-size: 13px;
}
.edit-post-visual-editor .editor-block-list__block h6 {
font-size: 11px;
}
/*--------------------------------------------------------------
2.0 General Block Styles
--------------------------------------------------------------*/
/* Main column width */
.wp-block {
max-width: 670px; /* 640px + 30px to account for padding */
}
/* Link styles */
.edit-post-visual-editor a,
.editor-block-list__block a,
.wp-block-freeform.block-library-rich-text__tinymce a {
color: #0066cc;
}
/* List styles */
.edit-post-visual-editor ul:not(.wp-block-gallery),
.editor-block-list__block ul:not(.wp-block-gallery),
.block-library-list ul,
.edit-post-visual-editor ol,
.editor-block-list__block ol,
.block-library-list ol.editor-rich-text__tinymce {
margin: 0 0 18px 1.5em;
padding: 0;
}
.edit-post-visual-editor ul:not(.wp-block-gallery),
.editor-block-list__block ul:not(.wp-block-gallery),
.block-library-list ul {
list-style: square;
}
.edit-post-visual-editor ol,
.editor-block-list__block ol,
.block-library-list ol {
list-style: decimal;
margin-left: 1.5em;
}
.edit-post-visual-editor ul:not(.wp-block-gallery) li,
.editor-block-list__block ul:not(.wp-block-gallery) li,
.edit-post-visual-editor ol li,
.editor-block-list__block ol li,
.block-library-list li {
margin-bottom: 0;
}
.edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
.editor-block-list__block ul:not(.wp-block-gallery) li > ul,
.block-library-list li > ul,
.edit-post-visual-editor li > ol,
.editor-block-list__block li > ol,
.block-library-list li > ol {
margin-bottom: 0;
}
.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
.rtl .editor-block-list__block ul:not(.wp-block-gallery),
.rtl .block-library-list ul,
.rtl .edit-post-visual-editor ol,
.rtl .editor-block-list__block ol,
.rtl .block-library-list ol {
margin-left: 0;
margin-right: 1.25em;
padding: 0;
}
/* Caption styles */
[class^="wp-block-"] figcaption {
color: #777;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
/* Code styles */
.wp-block-freeform.block-library-rich-text__tinymce code {
background: transparent;
}
/* Quote styles */
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
border: 0;
padding: 0 3em;
}
/* Table styles */
.editor-block-list__block tr th,
.editor-block-list__block tr th a {
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
/* Definition List styles */
.editor-block-list__block dd {
margin-left: 0;
margin-right: 0;
}
/*--------------------------------------------------------------
3.0 Blocks - Common Blocks
--------------------------------------------------------------*/
/* Paragraph */
p.has-drop-cap:not(:focus)::first-letter {
font-size: 5em;
margin-top: 0.1em;
}
/* Image */
.wp-block-image {
margin-bottom: 20px;
}
.wp-block-image figcaption {
display: block;
margin: -7px 0 0;
padding: 9px 9px 1.0em;
text-align: center;
}
/* Gallery */
.editor-block-list__block .wp-block-gallery {
margin: 0 0 24px;
}
/* Quote */
.wp-block-quote {
border: 0;
padding: 0 3em;
}
.wp-block-quote:not(.is-large):not(.is-style-large) {
border: 0;
padding: 0 3em;
}
.wp-block-quote .wp-block-quote__citation {
font-size: 16px;
font-weight: 600;
}
.wp-block-quote.is-large .wp-block-quote__citation,
.wp-block-quote.is-style-large .wp-block-quote__citation {
font-size: 18px;
}
/* Cover */
.wp-block-cover-image-text,
.wp-block-cover-text {
font-size: 32px;
}
/* File */
.wp-block-file .wp-block-file__textlink .editor-rich-text__tinymce {
color: #0066cc;
font-size: 16px;
text-decoration: underline;
}
/*--------------------------------------------------------------
4.0 Blocks - Formatting
--------------------------------------------------------------*/
/* Code */
.wp-block-code {
border: 0;
padding: 0;
}
/* Pullquote */
.wp-block-pullquote blockquote > .editor-rich-text p {
font-size: 1.5em;
}
.wp-block-pullquote .wp-block-pullquote__citation {
color: inherit;
font-size: inherit;
font-weight: 600;
text-transform: none;
}
/* Table */
.wp-block-table tr:nth-child(odd) td {
background: #f2f7fc;
}
.wp-block-table th .wp-block-table__cell-content {
color: #777;
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
.editor-block-list__block .wp-block-table tr td {
padding-bottom: 0;
padding-top: 0;
}
/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/
/* Latest Comments */
.editor-block-list__block .wp-block-latest-comments {
margin: 0 0 24px;
}
.rtl .edit-post-visual-editor .wp-block-latest-comments {
margin-right: 0;
}
/* Latest Posts */
.edit-post-visual-editor .editor-block-list__block .wp-block-latest-posts.is-grid {
list-style: none;
margin-left: 0;