Compare commits

..

No commits in common. "main" and "v1.1.0" have entirely different histories.
main ... v1.1.0

13 changed files with 523 additions and 814 deletions

View file

@ -4,5 +4,3 @@ Código específico, hojas de estilo, recursos y *snippets* del **tema hijo**
basado en Enfold Theme (https://kriesi.at/themes/enfold-overview) desarrollado basado en Enfold Theme (https://kriesi.at/themes/enfold-overview) desarrollado
para mi sitio personal (https://manuel.cillero.es) creado con WordPress para mi sitio personal (https://manuel.cillero.es) creado con WordPress
(https://es.wordpress.org). (https://es.wordpress.org).
Versión 1.1.1

View file

@ -1,51 +0,0 @@
<?php
/**
* Flexible Posts Widget: Old Default widget template
*
* @since 1.0.0
*
* This is the ORIGINAL default template used by the plugin.
* There is a new default template (default.php) that will be
* used by default if no template was specified in a widget.
*/
// Block direct requests
if ( !defined('ABSPATH') )
die('-1');
echo $before_widget;
if ( !empty($title) )
echo $before_title . $title . $after_title;
if( $flexible_posts->have_posts() ):
?>
<ul class="dpe-flexible-posts list-archive-notes">
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<a href="<?php echo the_permalink(); ?>">
<?php
if( $thumbnail == true ) {
// If the post has a feature image, show it
if( has_post_thumbnail() ) {
the_post_thumbnail( $thumbsize );
// Else if the post has a mime type that starts with "image/" then show the image directly.
} elseif( 'image/' == substr( $post->post_mime_type, 0, 6 ) ) {
echo wp_get_attachment_image( $post->ID, $thumbsize );
}
}
?>
<h4 class="title<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4>
<p class="meta<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
</a>
</li>
<?php endwhile; ?>
</ul><!-- .dpe-flexible-posts -->
<?php else: // We have no posts ?>
<div class="dpe-flexible-posts no-posts">
<p><?php _e( 'No post found', 'flexible-posts-widget' ); ?></p>
</div>
<?php
endif; // End have_posts()
echo $after_widget;

View file

@ -35,8 +35,8 @@ if( $flexible_posts->have_posts() ):
} }
} }
?> ?>
<h4 class="title<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4> <h4 class="title"><?php the_title(); ?></h4>
<p class="meta<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php echo 'desde '; the_time('F \d\e Y'); ?></p> <p class="meta"><?php echo 'desde '; the_time('F \d\e Y'); ?></p>
</a> </a>
</li> </li>
<?php endwhile; ?> <?php endwhile; ?>

View file

@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ):
} }
} }
?> ?>
<h4 class="title<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4> <h4 class="title"><?php the_title(); ?></h4>
<p class="meta<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p> <p class="meta"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
</a> </a>
</li> </li>
<?php endwhile; ?> <?php endwhile; ?>

View file

@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ):
} }
} }
?> ?>
<h4 class="title<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4> <h4 class="title"><?php the_title(); ?></h4>
<p class="meta<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p> <p class="meta"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
</a> </a>
</li> </li>
<?php endwhile; ?> <?php endwhile; ?>

View file

@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ):
} }
} }
?> ?>
<h4 class="title<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4> <h4 class="title"><?php the_title(); ?></h4>
<p class="meta<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php echo 'del '; the_modified_time('d \d\e F \d\e Y'); ?></p> <p class="meta"><?php echo 'del '; the_modified_time('d \d\e F \d\e Y'); ?></p>
</a> </a>
</li> </li>
<?php endwhile; ?> <?php endwhile; ?>

View file

@ -16,7 +16,7 @@ function help_featured_image_metabox() {
add_meta_box( 'help-featured-image', 'Sobre la imagen destacada', 'help_featured_image_metabox_content', 'post', 'side' ); add_meta_box( 'help-featured-image', 'Sobre la imagen destacada', 'help_featured_image_metabox_content', 'post', 'side' );
} }
function help_featured_image_metabox_content() { function help_featured_image_metabox_content() {
echo("La mejor proporción para la imagen destacada es la que mantiene una relación de 2'5 a 1. Normalmente <tt>1200x470</tt>.</p>"); echo("La mejor proporción para la imagen destacada es la que mantiene una relación de 2'5 a 1. Normalmente <tt>1030x403</tt>.</p>");
} }
/* /*
@ -69,19 +69,8 @@ function fix_single_post_title( $args, $id ) {
else { else {
// Post categories by name: // Post categories by name:
$categories = array_values( array_column( get_the_category(), 'name' ) ); $categories = array_values( array_column( get_the_category(), 'name' ) );
switch ($categories[0]) { if ( in_array( $categories[0], array( 'Blog', 'Archivo de notas', 'Marcadores', 'Álbum de fotos' ) ) ) {
case 'Blog': $args['title'] = $categories[0];
$args['title'] = 'En el blog';
break;
case 'Notas rápidas':
$args['title'] = 'En mis notas';
break;
case 'Snippets':
$args['title'] = 'Picando código';
break;
case 'Álbum de fotos':
$args['title'] = 'Foto del álbum';
break;
} }
} }
} }
@ -111,25 +100,19 @@ function avia_change_tag_page_layout( $layout, $context ) {
} }
/* /*
* Register new icons as a theme icons. * Register new icons as a theme icons fot GitHub and GitLab.
* See https://kriesi.at/documentation/enfold/custom-social-icons/ * See https://kriesi.at/documentation/enfold/custom-social-icons/
*/ */
add_filter( 'avf_default_icons', 'avia_add_custom_icon', 10, 1 ); add_filter( 'avf_default_icons', 'avia_add_custom_icon', 10, 1 );
function avia_add_custom_icon( $icons ) { function avia_add_custom_icon( $icons ) {
$icons['GitHub'] = array( 'font' =>'fontello', 'icon' => 'uf09b' ); $icons['github'] = array( 'font' =>'fontello', 'icon' => 'uf09b' );
$icons['GitLab'] = array( 'font' =>'fontello', 'icon' => 'uf296' ); $icons['gitlab'] = array( 'font' =>'fontello', 'icon' => 'uf296' );
$icons['SoloGit'] = array( 'font' =>'fontello', 'icon' => 'ue806' );
$icons['Mastodon'] = array( 'font' =>'fontello', 'icon' => 'ue804' );
$icons['Bluesky'] = array( 'font' =>'fontello', 'icon' => 'ue805' );
return $icons; return $icons;
} }
add_filter( 'avf_social_icons_options', 'avia_add_custom_social_icon', 10, 1 ); add_filter( 'avf_social_icons_options', 'avia_add_custom_social_icon', 10, 1 );
function avia_add_custom_social_icon( $icons ) { function avia_add_custom_social_icon( $icons ) {
$icons['GitHub'] = 'GitHub'; $icons['GitHub'] = 'github';
$icons['GitLab'] = 'GitLab'; $icons['GitLab'] = 'gitlab';
$icons['SoloGit'] = 'SoloGit';
$icons['Mastodon'] = 'Mastodon';
$icons['Bluesky'] = 'Bluesky';
return $icons; return $icons;
} }
@ -150,7 +133,7 @@ function avia_same_category_filter( $settings ) {
add_filter( 'get_the_terms', 'exclude_taxonomy_terms', 10, 3 ); add_filter( 'get_the_terms', 'exclude_taxonomy_terms', 10, 3 );
function exclude_taxonomy_terms( $terms, $post, $taxonomy ) { function exclude_taxonomy_terms( $terms, $post, $taxonomy ) {
// List of taxonomy terms (slugs) to exclude: // List of taxonomy terms (slugs) to exclude:
$exclude_slugs = array( 'portada', 'pelis-y-series', 'lecturas' ); $exclude_slugs = array( 'portada', 'pelis-y-series', 'lecturas', 'twitter', 'linkedin', 'facebook' );
if ( !is_admin() ) { if ( !is_admin() ) {
foreach( $terms as $key => $term ) { foreach( $terms as $key => $term ) {
@ -175,9 +158,6 @@ function avia_change_breadcrumb( $trail, $args ) {
elseif ( is_category() ) { elseif ( is_category() ) {
$trail = array(); $trail = array();
} }
elseif ( is_tax( 'quote_author_tag' ) ) {
array_splice( $trail, 1, 0, array( '<a href="/quotes">Libro de citas</a>' ) );
}
return $trail; return $trail;
} }
@ -289,14 +269,6 @@ function social_post_defautl_thumbnail( $html, $post_id, $post_thumbnail_id, $si
return $html; return $html;
} */ } */
/*
* Remove provider previews.
*
add_filter( 'embed_oembed_html', 'wp_remove_oembed_providers', 10, 2 );
function wp_remove_oembed_providers( $html, $url ) {
return '<a href="' . esc_url( $url ) . '" rel="noopener noreferrer" target="_blank">' . esc_html( $url ) . '</a>';
} */
/* /*
* Add a button to display the number of characters in Title and Content editor; * Add a button to display the number of characters in Title and Content editor;
* and also add a character counter to the Excerpt box (with no limit). * and also add a character counter to the Excerpt box (with no limit).
@ -553,7 +525,7 @@ class enfold_post_footer_widget extends WP_Widget {
* See https://wordpress.stackexchange.com/questions/107113/output-before-and-after-the-loop * See https://wordpress.stackexchange.com/questions/107113/output-before-and-after-the-loop
*/ */
register_sidebar( array( register_sidebar( array(
'name' => 'Displayed After Quote', 'name' => 'Displayed After Loop',
'id' => 'after-loop', 'id' => 'after-loop',
'description' => '', 'description' => '',
'before_widget' => '<div class="quotes-after-loop">', 'before_widget' => '<div class="quotes-after-loop">',
@ -561,32 +533,13 @@ register_sidebar( array(
'before_title' => '<h5>', 'before_title' => '<h5>',
'after_title' => '</h5>', 'after_title' => '</h5>',
) ); ) );
add_action( 'loop_end', 'wp_content_after_quote' ); add_action( 'loop_end', 'wp_content_after_loop' );
function wp_content_after_quote( $query ) { function wp_content_after_loop( $query ) {
if ( ! $query->is_main_query() ) { if ( $query->is_main_query() && is_active_sidebar( 'after-loop' ) ) {
return;
}
if ( ! ( is_post_type_archive( 'quote' ) || is_singular( 'quote' ) ) ) {
return;
}
if ( is_active_sidebar( 'after-loop' ) ) {
dynamic_sidebar( 'after-loop' ); dynamic_sidebar( 'after-loop' );
} }
} }
/**
* Show all quotes by author with no pagination.
*/
add_action( 'pre_get_posts', 'wp_all_quotes_by_author' );
function wp_all_quotes_by_author( $query ) {
if ( ! $query->is_main_query() ) {
return;
}
if ( $query->is_tax( 'quote_author_tag' ) ) {
$query->set( 'posts_per_page', -1 );
}
}
/* /*
* Restore the font size in the tag cloud widget using a copy of the entire Avia * Restore the font size in the tag cloud widget using a copy of the entire Avia
* stylesheet "enfold/css/avia-snippet-widget.css" from Enfold 4.5, and removing * stylesheet "enfold/css/avia-snippet-widget.css" from Enfold 4.5, and removing
@ -642,17 +595,3 @@ function hide_content_antibots_shortcode( $atts, $content = null ) {
} }
return antispambot( $content ); return antispambot( $content );
} }
/*
* Ensure HTML code using Highlighting Code Block plugin with Enfold Theme.
* Use: [hcb_html]text or email[/hcb_html].
* See https://kriesi.at/support/topic/codeblock-within-editor-not-working-enfold-4-7-3/#post-1206456
*/
add_shortcode( 'html_tag', 'hcb_html_shortcode' );
add_shortcode( 'html_code', 'hcb_html_shortcode' );
add_shortcode( 'html_block', 'hcb_html_shortcode' );
function hcb_html_shortcode( $atts, $content = null ) {
$content = str_replace( '', '&lt;', $content );
$content = str_replace( '', '&gt;', $content );
return $content;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,5 +1,322 @@
/* PrismJS 1.26.0 /* PrismJS 1.20.0
https://prismjs.com/download.html#themes=prism-coy&languages=markup+css+clike+javascript+bash+batch+dart+diff+docker+git+json+markdown+markup-templating+perl+php+rust+sql+toml+typescript&plugins=line-highlight+line-numbers */ https://prismjs.com/download.html#themes=prism-coy&languages=markup+css+clike+javascript+bash+batch+dart+diff+docker+git+json+markdown+markup-templating+perl+php+rust+sql+toml+typescript&plugins=line-highlight+line-numbers */
code[class*=language-],pre[class*=language-]{color:#000;background:0 0;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{position:relative;margin:.5em 0;overflow:visible;padding:1px}pre[class*=language-]>code{position:relative;z-index:1;border-left:10px solid #358ccb;box-shadow:-1px 0 0 0 #358ccb,0 0 0 1px #dfdfdf;background-color:#fdfdfd;background-image:linear-gradient(transparent 50%,rgba(69,142,209,.04) 50%);background-size:3em 3em;background-origin:content-box;background-attachment:local}code[class*=language-]{max-height:inherit;height:inherit;padding:0 1em;display:block;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#fdfdfd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:1em}:not(pre)>code[class*=language-]{position:relative;padding:.2em;border-radius:.3em;color:#c92c2c;border:1px solid rgba(0,0,0,.1);display:inline;white-space:normal}pre[class*=language-]:after,pre[class*=language-]:before{content:'';display:block;position:absolute;bottom:.75em;left:.18em;width:40%;height:20%;max-height:13em;box-shadow:0 13px 8px #979797;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}pre[class*=language-]:after{right:.75em;left:auto;-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg)}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#7d8b99}.token.punctuation{color:#5f6364}.token.boolean,.token.constant,.token.deleted,.token.function-name,.token.number,.token.property,.token.symbol,.token.tag{color:#c92c2c}.token.attr-name,.token.builtin,.token.char,.token.function,.token.inserted,.token.selector,.token.string{color:#2f9c0a}.token.entity,.token.operator,.token.url,.token.variable{color:#a67f59;background:rgba(255,255,255,.5)}.token.atrule,.token.attr-value,.token.class-name,.token.keyword{color:#1990b8}.token.important,.token.regex{color:#e90}.language-css .token.string,.style .token.string{color:#a67f59;background:rgba(255,255,255,.5)}.token.important{font-weight:400}.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.7}@media screen and (max-width:767px){pre[class*=language-]:after,pre[class*=language-]:before{bottom:14px;box-shadow:none}}pre[class*=language-].line-numbers.line-numbers{padding-left:0}pre[class*=language-].line-numbers.line-numbers code{padding-left:3.8em}pre[class*=language-].line-numbers.line-numbers .line-numbers-rows{left:0}pre[class*=language-][data-line]{padding-top:0;padding-bottom:0;padding-left:0}pre[data-line] code{position:relative;padding-left:4em}pre .line-highlight{margin-top:0} /**
pre[data-line]{position:relative;padding:1em 0 1em 3em}.line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:hsla(24,20%,50%,.08);background:linear-gradient(to right,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));pointer-events:none;line-height:inherit;white-space:pre}@media print{.line-highlight{-webkit-print-color-adjust:exact;color-adjust:exact}}.line-highlight:before,.line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:hsla(24,20%,50%,.4);color:#f4f1ef;font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px #fff}.line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}.line-numbers .line-highlight:after,.line-numbers .line-highlight:before{content:none}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows>span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:rgba(128,128,128,.2)} * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML
pre[class*=language-].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows>span{display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right} * Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);
* @author Tim Shedor
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
/* Code blocks */
pre[class*="language-"] {
position: relative;
margin: .5em 0;
overflow: visible;
padding: 0;
}
pre[class*="language-"]>code {
position: relative;
border-left: 10px solid #358ccb;
box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
background-color: #fdfdfd;
background-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
background-size: 3em 3em;
background-origin: content-box;
background-attachment: local;
}
code[class*="language-"] {
max-height: inherit;
height: inherit;
padding: 0 1em;
display: block;
overflow: auto;
}
/* Margin bottom to accommodate shadow */
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background-color: #fdfdfd;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 1em;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
position: relative;
padding: .2em;
border-radius: 0.3em;
color: #c92c2c;
border: 1px solid rgba(0, 0, 0, 0.1);
display: inline;
white-space: normal;
}
pre[class*="language-"]:before,
pre[class*="language-"]:after {
content: '';
z-index: -2;
display: block;
position: absolute;
bottom: 0.75em;
left: 0.18em;
width: 40%;
height: 20%;
max-height: 13em;
box-shadow: 0px 13px 8px #979797;
-webkit-transform: rotate(-2deg);
-moz-transform: rotate(-2deg);
-ms-transform: rotate(-2deg);
-o-transform: rotate(-2deg);
transform: rotate(-2deg);
}
pre[class*="language-"]:after {
right: 0.75em;
left: auto;
-webkit-transform: rotate(2deg);
-moz-transform: rotate(2deg);
-ms-transform: rotate(2deg);
-o-transform: rotate(2deg);
transform: rotate(2deg);
}
.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #7D8B99;
}
.token.punctuation {
color: #5F6364;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.function-name,
.token.constant,
.token.symbol,
.token.deleted {
color: #c92c2c;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.function,
.token.builtin,
.token.inserted {
color: #2f9c0a;
}
.token.operator,
.token.entity,
.token.url,
.token.variable {
color: #a67f59;
background: rgba(255, 255, 255, 0.5);
}
.token.atrule,
.token.attr-value,
.token.keyword,
.token.class-name {
color: #1990b8;
}
.token.regex,
.token.important {
color: #e90;
}
.language-css .token.string,
.style .token.string {
color: #a67f59;
background: rgba(255, 255, 255, 0.5);
}
.token.important {
font-weight: normal;
}
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.namespace {
opacity: .7;
}
@media screen and (max-width: 767px) {
pre[class*="language-"]:before,
pre[class*="language-"]:after {
bottom: 14px;
box-shadow: none;
}
}
/* Plugin styles: Line Numbers */
pre[class*="language-"].line-numbers.line-numbers {
padding-left: 0;
}
pre[class*="language-"].line-numbers.line-numbers code {
padding-left: 3.8em;
}
pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {
left: 0;
}
/* Plugin styles: Line Highlight */
pre[class*="language-"][data-line] {
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
}
pre[data-line] code {
position: relative;
padding-left: 4em;
}
pre .line-highlight {
margin-top: 0;
}
pre[data-line] {
position: relative;
padding: 1em 0 1em 3em;
}
.line-highlight {
position: absolute;
left: 0;
right: 0;
padding: inherit 0;
margin-top: 1em; /* Same as .prisms padding-top */
background: hsla(24, 20%, 50%,.08);
background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
pointer-events: none;
line-height: inherit;
white-space: pre;
}
.line-highlight:before,
.line-highlight[data-end]:after {
content: attr(data-start);
position: absolute;
top: .4em;
left: .6em;
min-width: 1em;
padding: 0 .5em;
background-color: hsla(24, 20%, 50%,.4);
color: hsl(24, 20%, 95%);
font: bold 65%/1.5 sans-serif;
text-align: center;
vertical-align: .3em;
border-radius: 999px;
text-shadow: none;
box-shadow: 0 1px white;
}
.line-highlight[data-end]:after {
content: attr(data-end);
top: auto;
bottom: .4em;
}
.line-numbers .line-highlight:before,
.line-numbers .line-highlight:after {
content: none;
}
pre[id].linkable-line-numbers span.line-numbers-rows {
pointer-events: all;
}
pre[id].linkable-line-numbers span.line-numbers-rows > span:before {
cursor: pointer;
}
pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before {
background-color: rgba(128, 128, 128, .2);
}
pre[class*="language-"].line-numbers {
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}
pre[class*="language-"].line-numbers > code {
position: relative;
white-space: inherit;
}
.line-numbers .line-numbers-rows {
position: absolute;
pointer-events: none;
top: 0;
font-size: 100%;
left: -3.8em;
width: 3em; /* works for line-numbers below 1000 lines */
letter-spacing: -1px;
border-right: 1px solid #999;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.line-numbers-rows > span {
display: block;
counter-increment: linenumber;
}
.line-numbers-rows > span:before {
content: counter(linenumber);
color: #999;
display: block;
padding-right: 0.8em;
text-align: right;
}

File diff suppressed because one or more lines are too long

View file

@ -53,7 +53,7 @@ div.container_wrap_first {
div.container_wrap_first > div.container:first-child { div.container_wrap_first > div.container:first-child {
background-color: #fff; background-color: #fff;
} }
body.category-blog div.container_wrap_first > div.container:first-child { body.category-archivo div.container_wrap_first > div.container:first-child {
background: #fff url(images/notebook.jpg) repeat-y left top; background: #fff url(images/notebook.jpg) repeat-y left top;
padding-left: 68px; padding-left: 68px;
} }
@ -90,112 +90,9 @@ ul > li > br {
margin-top: 6px; margin-top: 6px;
} }
/*
* Buttons.
*/
#top .avia-button .avia_button_background {
bottom: -4px;
}
#top .avia-button.avia-size-large .avia_iconbox_title,
#top .avia-button.avia-size-large .avia_button_icon {
font-size: 120%;
}
/* /*
* Home page. * Home page.
*/ */
#terminal {
background-color: black;
background-image: radial-gradient(rgba(0, 150, 0, 0.75), black 120%);
color: white;
text-shadow: 0 0 5px #C8C8C8;
border-radius: 32px;
margin: 10px 0;
overflow: hidden;
}
#terminal pre {
background: none;
overflow: hidden;
white-space: pre-wrap;
font: 1rem Inconsolata, monospace;
border: 0;
padding: .8em 4%;
margin-bottom: 0;
}
#terminal pre::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
pointer-events: none;
}
#terminal pre a {
color: #33ff00;
}
#terminal pre a:hover {
color: #ffb000;
}
#terminal pre span {
box-shadow: .6em 0 0 #33ff00;
animation: caret .5s step-end infinite alternate;
}
@keyframes caret {
50% { box-shadow: .6em 0 0 transparent; }
}
#featured-links .av_iconlist_title a {
font-size: 125%;
font-weight: bold;
}
#featured-links .iconlist_content p {
font-size: 90%;
line-height: 1.2em;
}
#featured-links .iconlist_icon {
margin-left: 8px !important;
}
#featured-links footer.entry-footer {
padding-top: 1em;
}
.blocks-title {
margin-bottom: 14px;
}
.blocks-title a.avia-button {
border-radius: 0;
padding: 0 5px !important;
text-align: left;
}
.blocks-title a span.avia_iconbox_title {
display: block;
padding: 0 !important;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 18px;
letter-spacing: 1px;
line-height: 33px;
}
.blocks-title a span.avia_iconbox_title:after {
content: "\2197";
font-size: 1em;
line-height: 0;
position: relative;
vertical-align: super;
}
.blocks-title a span.avia_button_background {
height: 33px;
padding: 0 !important;
}
#keep-calm h2 {
font-weight: 500 !important;
line-height: 1.3em !important;
}
.av-masonry-entry .av-masonry-entry-title { .av-masonry-entry .av-masonry-entry-title {
font-size: 18px; font-size: 18px;
color: inherit; color: inherit;
@ -206,6 +103,9 @@ ul > li > br {
.av-masonry-entry.category-blog.av-masonry-item-no-image .av-inner-masonry-content { .av-masonry-entry.category-blog.av-masonry-item-no-image .av-inner-masonry-content {
background: url(images/av-masonry-item-no-image.jpg) no-repeat center center; background: url(images/av-masonry-item-no-image.jpg) no-repeat center center;
} }
#dpe_fp_widget-9 {
padding-bottom: 0;
}
/* /*
* Cookies advice. * Cookies advice.
@ -305,7 +205,7 @@ a.avia-cookie-consent-button:hover {
height: 4px; height: 4px;
} }
#menu-item-5777, #menu-item-5777,
#menu-item-5544 { #menu-item-13589 {
border-top: 1px solid #556372; border-top: 1px solid #556372;
} }
@ -464,71 +364,34 @@ span[data-avia-tooltip] {
max-height: 900px; max-height: 900px;
width: auto; width: auto;
} }
/* Embedded content */ /* Marcadores posts */
.js_active .avia-iframe-wrap { article.category-marcadores .entry-content-wrapper div.entry-content {
height: auto; border-left: 7px solid #3c8dbc;
padding-bottom: 7.25%;
}
.js_active .avia-iframe-wrap iframe {
clip: auto !important;
padding: 4%;
background-color: black;
}
/* Notas rápidas posts */
article.category-notes .entry-content-wrapper div.entry-content {
border-left: 7px solid #ccc;
padding-left: 20px; padding-left: 20px;
} }
article.category-notes > .entry-content-wrapper > div.entry-content::before { article.category-marcadores .entry-content-wrapper p {
display: block;
content: "";
width: 56px;
height: 56px;
position: absolute;
margin-top: -4px;
margin-left: -56px;
background: transparent url(images/clip.png) no-repeat 0 0;
}
article.category-notes .entry-content-wrapper p {
font-size: 1.1em; font-size: 1.1em;
line-height: 1.5em; line-height: 1.5em;
text-align: left; text-align: left;
color: #999999 !important; color: #999999 !important;
} }
/* Quotes posts */ /* Quotes posts */
article.type-quote .post-meta-infos {
position: absolute;
height: 100%;
}
article.type-quote .post-meta-infos > time, article.type-quote .post-meta-infos > time,
article.type-quote .post-meta-infos > span { article.type-quote .post-meta-infos > span {
display: none; display: none;
} }
article.type-quote .post-meta-infos > span.blog-categories { article.type-quote .post-meta-infos > span.blog-categories {
display: block; display: block;
position: absolute; text-indent: -1.325em;
bottom: 5em; margin-top: 1.4em;
white-space: nowrap;
text-indent: -9999px;
} }
body.single article.type-quote .post-meta-infos > span.blog-categories {
bottom: 15em;
}
article.type-quote .post-meta-infos span.blog-categories a:before { article.type-quote .post-meta-infos span.blog-categories a:before {
content: "— "; content: "— ";
} }
article.type-quote .post-meta-infos span.blog-categories a { article.type-quote .post-meta-infos span.blog-categories a {
font-size: 1.4em; font-size: 1.4em;
color: #797979; color: #797979;
padding-left: 9999px; padding-left: 4px;
} }
article.type-quote .entry-content-wrapper div.entry-content { article.type-quote .entry-content-wrapper div.entry-content {
padding-left: 60px; padding-left: 60px;
@ -542,8 +405,7 @@ article.type-quote .entry-content-wrapper p {
color: #999999 !important; color: #999999 !important;
} }
.quotes-after-loop h5 { .quotes-after-loop h5 {
font-size: 19px; margin-bottom: 1em;
color: #6a6e71;
} }
.quotes-after-loop ul { .quotes-after-loop ul {
margin: 0 0 1em; margin: 0 0 1em;
@ -625,21 +487,16 @@ li.comment {
} }
#commentform p > input[type="text"] { #commentform p > input[type="text"] {
margin-bottom: 5px; margin-bottom: 5px;
width: 220px !important;
} }
#commentform label { #commentform label {
position: absolute !important;
left: 230px; left: 230px;
font-size: 14px; font-size: 14px;
/* margin-top: .2em;*/ margin-top: .2em;
line-height: 1.4em; line-height: 1.4em;
color: #777; color: #777;
} }
#commentform label .required {
display: inline;
}
#commentform input[type='checkbox'] { #commentform input[type='checkbox'] {
margin-top: .8em; margin-top: 1em;
} }
#commentform p.comment-form-av-privatepolicy { #commentform p.comment-form-av-privatepolicy {
margin: 0 !important; margin: 0 !important;
@ -649,9 +506,6 @@ li.comment {
margin-top: 0; margin-top: 0;
font-weight: normal; font-weight: normal;
} }
#commentform p.comment-form-av-privatepolicy label {
display: inline;
}
#commentform p.comment-form-av-privatepolicy label a { #commentform p.comment-form-av-privatepolicy label a {
font-weight: bold; font-weight: bold;
} }
@ -735,31 +589,15 @@ div.lwptoc_item > div.lwptoc_itemWrap span.lwptoc_item_label:before {
display: flex !important; display: flex !important;
margin: 0 !important; margin: 0 !important;
} }
.hcb_wrap.hcb_wrap pre {
padding: 0 !important;
}
.hcb_wrap.hcb_wrap code {
border-radius: 0;
border: 1px solid #e1e1e1 !important;
border-left: 10px solid #358ccb !important;
background-color: rgb(252, 252, 252) !important;
padding: .5em 1.5em !important;
}
.hcb_wrap .line-numbers .line-numbers-rows {
padding: .5em 0 !important;
top: 0 !important;
}
.hcb_wrap .line-numbers code {
padding-left: 3.8em !important;
}
.hcb_wrap .line-highlight { .hcb_wrap .line-highlight {
margin-top: .5em !important; margin-top: 0 !important;
width: 100% !important;
background: linear-gradient(to right, hsla(24, 20%, 49%, .2), #fcfcfc00) !important;
z-index: 10;
} }
.hcb_wrap .line-numbers .line-highlight { .hcb_wrap .undefined-numbers .line-highlight {
margin-top: -0.5em !important; margin-top: 9px !important;
}
.hcb_wrap .undefined-numbers code {
padding-top: 9px !important;
padding-bottom: 9px !important;
} }
/* /*
@ -812,35 +650,6 @@ a.navitem.allDirectory:after {
} }
} }
/*
* Indicate External Links PLUGIN.
*/
.extlink sup {
line-height: .8em;
}
.av-icon-char.extlink sup,
.quote-author .extlink sup,
.social_bookmarks .extlink sup {
display: none;
}
/*
* TABLEON PLUGIN.
*/
.tableon-data-table input[type="search"] {
margin-bottom: 7px !important;
}
.tableon-data-table input[data-key="post_title"] {
margin-bottom: 14px !important;
}
.tableon-data-table select {
padding: 0 6px !important;
margin-bottom: 7px !important;
}
select.table23-per-page-selector {
width: 80px !important;
}
/* /*
* PAGES STYLES. * PAGES STYLES.
*/ */
@ -852,70 +661,14 @@ select.table23-per-page-selector {
padding: 2px 3px; padding: 2px 3px;
white-space: nowrap; white-space: nowrap;
} }
/* Entradas del blog */ /* Archive */
.page-id-5502 .last-entries { .page-id-5502 .avia-content-slider.avia-builder-el-2 .fake-thumbnail .slide-image {
overflow: hidden; display: none;
} }
.page-id-5502 .last-entries h3 { .page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-meta,
position: absolute; .page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt {
top: -15px;
font-size: 2.92rem;
white-space: nowrap;
}
.page-id-5502 .avia-builder-el-4 .fake-thumbnail .slide-image,
.page-id-5502 .avia-builder-el-4 .fake-thumbnail .fallback-post-type-icon {
background-color: #f0f0f0;
}
.page-id-5502 .avia-builder-el-4 .slide-meta,
.page-id-5502 .avia-builder-el-4 .slide-entry-excerpt {
font-size: 75%; font-size: 75%;
} }
/* HTML > Etiquetas HTML */
.toggle_doctag {
margin: 0 0 90px;
}
/* HTML > Soporte por navegador */
.html-browser-support {
border-bottom: 1px solid #e1e1e1;
}
.html-browser-support td {
padding: 3px 2px;
text-align: center;
}
.html-browser-support thead td {
padding: 5px 2px;
}
.html-browser-support thead td.letter {
vertical-align: middle;
font-size: 120%;
font-weight: bold;
width: 8em;
}
.html-browser-support tbody tr > td:first-child {
text-align: left;
white-space: nowrap;
}
.html-browser-support tr.html-tag > td + td {
background-color: #ecffdd;
}
.html-browser-support tr.html-tag td {
border-top: 1px solid #e1e1e1;
}
.html-browser-support tr.html-attr td {
border-bottom-width: 0;
}
.html-browser-support tr.html-attr > td:first-child {
padding-left: 1.5em;
}
.html-browser-support tr.html-attr > td > code {
border: 0;
background-color: transparent;
padding: 0;
}
.html-browser-support tr.html-attr > td + td {
color: #999;
font-size: 94%;
}
/* /*
* WIDGETS. * WIDGETS.
@ -997,7 +750,8 @@ ul.dpe-flexible-posts li p.meta {
text-align: left; text-align: left;
margin-top: 6px; margin-top: 6px;
} }
ul.dpe-flexible-posts .with_thumbnail { ul.dpe-flexible-posts li img + h4,
ul.dpe-flexible-posts li img + h4 + p.meta {
margin-left: 60px; margin-left: 60px;
} }
ul.dpe-flexible-posts a { ul.dpe-flexible-posts a {
@ -1023,18 +777,18 @@ ul.dpe-flexible-posts.list-notes li img {
height: 70px; height: 70px;
border-radius: 5px; border-radius: 5px;
} }
ul.dpe-flexible-posts.list-notes .with_thumbnail { ul.dpe-flexible-posts.list-notes li img + h4,
ul.dpe-flexible-posts.list-notes li img + h4 + p.meta {
margin-left: 80px; margin-left: 80px;
} }
/* Blogroll and Archive Notes widgets */ /* Blogroll widget */
ul.dpe-flexible-posts.list-blogroll li img, ul.dpe-flexible-posts.list-blogroll li img {
ul.dpe-flexible-posts.list-archive-notes li img {
width: 60px; width: 60px;
height: 60px; height: 60px;
border-radius: 30px; border-radius: 30px;
} }
ul.dpe-flexible-posts.list-blogroll .with_thumbnail, ul.dpe-flexible-posts.list-blogroll li img + h4,
ul.dpe-flexible-posts.list-archive-notes .with_thumbnail { ul.dpe-flexible-posts.list-blogroll li img + h4 + p.meta {
margin-left: 70px; margin-left: 70px;
} }
@ -1108,7 +862,6 @@ a.dpe-flexible-photos-link:hover {
*/ */
.widget_recent_comments li.recentcomments { .widget_recent_comments li.recentcomments {
margin-left: 0; margin-left: 0;
padding: 6px 0;
} }
/* /*
@ -1130,14 +883,10 @@ a.dpe-flexible-photos-link:hover {
} }
.quote-text, .quote-text,
.quote-text p { .quote-text p {
color: #919191 !important; color: #ccc !important;
text-align: left; text-align: left;
margin: .1em 0 .4em; margin: .1em 0 .4em;
} }
body.home .quote-text,
body.home .quote-text p {
color: #ccc !important;
}
.quote-text p { .quote-text p {
margin: 0 !important; margin: 0 !important;
} }
@ -1150,12 +899,29 @@ body.home .quote-text p {
margin-left: 8px; margin-left: 8px;
} }
.quote-author a { .quote-author a {
color: #fff; color: #fff !important;
} }
.quote-author a:hover { .quote-author a:hover {
color: #f70a0a; color: #f70a0a;
} }
body.tax-quote_author_tag .quote-text,
body.tax-quote_author_tag .quote-text p {
color: #999;
margin-top: 1.4em;
margin-left: 1.2em;
}
body.tax-quote_author_tag .quote-author p {
margin-left: 2.8em;
}
body.tax-quote_author_tag .quote-author a {
color: #ccc;
font-weight: 400;
}
body.tax-quote_author_tag .quote-author a:hover {
color: #f70a0a;
}
/* /*
* Métrica 3 widget. * Métrica 3 widget.
*/ */
@ -1176,7 +942,8 @@ body.home .quote-text p {
* FOOTER. * FOOTER.
*/ */
#quotes > .container { #quotes > .container {
padding-bottom: 10px; padding-bottom: 50px;
background: transparent url(images/bg-footer.png) no-repeat 100% bottom;
} }
#socket .container { #socket .container {
padding-top: 8px; padding-top: 8px;
@ -1208,24 +975,9 @@ body.home .quote-text p {
transition-delay: 0s; transition-delay: 0s;
opacity: 1 !important; opacity: 1 !important;
} }
#scroll-top-link.avia-svg-icon svg:first-child {
height: 35px;
margin-top: 6px;
}
#scroll-top-link:hover { #scroll-top-link:hover {
background-color: #000; background-color: #000;
} }
@media only screen and (max-width: 767px) {
.responsive #scroll-top-link {
display: block;
}
}
#top .av_inherit_color a {
text-decoration: none;
border-bottom: 1px solid white;
border-bottom-color: inherit;
}
#top .pagination { #top .pagination {
padding: 10px 0; padding: 10px 0;
@ -1267,26 +1019,15 @@ body.home .quote-text p {
.av-share-box ul li a { .av-share-box ul li a {
font-size: 18px; font-size: 18px;
} }
#top #wrap_all .av-social-link-Mastodon:hover a, #top #wrap_all .av-social-link-github:hover a,
#top #wrap_all .av-social-link-Mastodon:hover a { #top #wrap_all .av-social-link-gitlab:hover a {
color: #fff;
background-color: #563acc;
}
#top #wrap_all .av-social-link-Bluesky:hover a,
#top #wrap_all .av-social-link-Bluesky:hover a {
color: #fff;
background-color: #1185fe;
}
#top #wrap_all .av-social-link-GitHub:hover a,
#top #wrap_all .av-social-link-GitLab:hover a,
#top #wrap_all .av-social-link-SoloGit:hover a {
color: #fff; color: #fff;
background-color: #bd2c00; background-color: #bd2c00;
} }
/* Search box adjustment */ /* Search box adjustment */
#top #s, #top #s,
#top #searchsubmit { #top #searchsubmit {
height: 44px !important; height: 44px;
line-height: 44px; line-height: 44px;
} }
#top #searchsubmit { #top #searchsubmit {
@ -1300,38 +1041,30 @@ body.home .quote-text p {
/* /*
* RESPONSIVE MEDIA QUERIES. * RESPONSIVE MEDIA QUERIES.
*/ */
@media (min-width: 930px) { @media (min-width: 768px) and (max-width: 1399px) {
#terminal pre { /* Home page list notes */
padding-left: 30px; #dpe_fp_widget-9 ul.list-notes > li:last-child {
padding-right: 30px;
font-size: 1.3rem;
}
/* Photos widgets */
ul.dpe-flexible-photos-footer li {
margin-right: 1.5%;
}
}
@media (min-width: 930px) and (max-width: 1399px) {
#featured-links .iconlist_content p {
font-size: 80%;
}
}
@media (min-width: 989px) and (max-width: 1139px) {
#featured-links ul.avia-icon-list li + li + li + li {
display: none; display: none;
} }
} }
@media (max-width: 989px) { @media (min-width: 768px) and (max-width: 1299px) {
#featured-links { /* Home page list notes */
margin-bottom: 0 !important; #dpe_fp_widget-9 ul.list-notes > li + li + li + li {
padding: 5px 4%; display: none;
} }
#featured-search { /* Quotes widgets */
margin-top: -24px !important; #quotes > .container {
padding: 5px 4%; background-position: 92% bottom;
} }
#top .container .av-masonry.av-large-gap { }
padding: 10px 0 0; @media (min-width: 768px) and (max-width: 1099px) {
/* Home page list notes */
#dpe_fp_widget-9 ul.list-notes > li img {
display: none;
}
#dpe_fp_widget-9 ul.list-notes > li img + h4,
#dpe_fp_widget-9 ul.list-notes > li img + h4 + p.meta {
margin-left: 0 !important;
} }
} }
@media (min-width: 768px) and (max-width: 929px) { @media (min-width: 768px) and (max-width: 929px) {
@ -1348,9 +1081,14 @@ body.home .quote-text p {
ul.dpe-flexible-posts li img { ul.dpe-flexible-posts li img {
display: none; display: none;
} }
ul.dpe-flexible-posts li .with_thumbnail { ul.dpe-flexible-posts li img + h4,
ul.dpe-flexible-posts li img + h4 + p.meta {
margin-left: 0 !important; margin-left: 0 !important;
} }
/* Home page list notes */
#dpe_fp_widget-9 ul.list-notes > li + li + li {
display: none;
}
/* Métrica 3 widget */ /* Métrica 3 widget */
#text-2 { #text-2 {
text-align: left; text-align: left;
@ -1368,7 +1106,7 @@ body.home .quote-text p {
div.container_wrap_first { div.container_wrap_first {
background: #fff; background: #fff;
} }
body.category-blog div.container_wrap_first > div.container:first-child, body.category-archivo div.container_wrap_first > div.container:first-child,
body.archive.tag div.container_wrap_first > div.container:first-child, body.archive.tag div.container_wrap_first > div.container:first-child,
body.page-id-121962 div.container_wrap_first > div.container:first-child { body.page-id-121962 div.container_wrap_first > div.container:first-child {
background: #fff; background: #fff;
@ -1380,11 +1118,6 @@ body.home .quote-text p {
.av_icon_active_right .social_bookmarks { .av_icon_active_right .social_bookmarks {
padding-left: 0; padding-left: 0;
} }
/* Home page */
#keep-calm,
#keep-calm .av-rotator-text {
text-align: left !important;
}
/* Breadcrumb */ /* Breadcrumb */
.title_container .breadcrumb { .title_container .breadcrumb {
margin-top: .7em !important; margin-top: .7em !important;
@ -1396,16 +1129,6 @@ body.home .quote-text p {
div .avia-table td { div .avia-table td {
white-space: normal !important; white-space: normal !important;
} }
@media only screen and (max-width: 767px) {
.avia_scrollable_table .avia-table {
width: auto;
}
.responsive .avia_scrollable_table {
width: 100%;
overflow-x: scroll;
overflow-y: hidden;
}
}
/* Photos widget */ /* Photos widget */
ul.dpe-flexible-photos li { ul.dpe-flexible-photos li {
width: 31.3%; width: 31.3%;
@ -1420,10 +1143,6 @@ body.home .quote-text p {
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt { .page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt {
font-size: 100%; font-size: 100%;
} }
/* Notas rápidas posts */
article.category-notes > .entry-content-wrapper > div.entry-content::before {
display: none;
}
} }
@media (max-width: 567px) { @media (max-width: 567px) {
/* LAYOUT */ /* LAYOUT */
@ -1460,24 +1179,14 @@ body.home .quote-text p {
background: transparent url(images/logo.png) no-repeat 0 -100px; background: transparent url(images/logo.png) no-repeat 0 -100px;
} }
@media print { @media print {
.no-print {
display: none;
}
/* LAYOUT */ /* LAYOUT */
@page { @page {
size: A4; size: A4;
margin: 1.6cm 1cm; margin: 1.6cm 1cm;
} }
* {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
html, body { html, body {
background: #fff; background: #fff;
} -webkit-print-color-adjust: exact;
body {
font-size: 15px;
} }
.responsive #top #wrap_all .container { .responsive #top #wrap_all .container {
width: 100%; width: 100%;
@ -1490,8 +1199,6 @@ body.home .quote-text p {
.container .av-content-small.units { .container .av-content-small.units {
width: 100%; width: 100%;
} }
/* Hide sections */
.social_bookmarks, .social_bookmarks,
#header_meta, #header_meta,
.av-share-box, .av-share-box,
@ -1499,17 +1206,13 @@ body.home .quote-text p {
#legal, #legal,
.avia-cookie-consent-wrap, .avia-cookie-consent-wrap,
.related_posts, .related_posts,
.tooltips_directory .navitems,
/* Comments */ /* Comments */
.comment_meta_container, .comment_meta_container,
.comment_container, .comment_container,
.av-buildercomment, .av-buildercomment,
span.comment-container, span.comment-container,
span.text-sep-comment, span.text-sep-comment,
.slide-meta-comments,
.slide-meta-del,
/* Widgets */ /* Widgets */
div.lwptoc,
.widget_search, .widget_search,
.widget-simpletags, .widget-simpletags,
.widget_instagram-feed-widget, .widget_instagram-feed-widget,
@ -1519,17 +1222,12 @@ body.home .quote-text p {
.sidebar #dpe_fp_widget-21, .sidebar #dpe_fp_widget-21,
.sidebar #dpe_fp_widget-24, .sidebar #dpe_fp_widget-24,
.sidebar #dpe_fp_widget-25 { .sidebar #dpe_fp_widget-25 {
display: none !important; display: none;
} }
/* White background */
#wrap_all, #wrapper-all, #header_main, #main, div.container_wrap_first, #socket {
background: #fff;
border-top: 0;
}
/* Header */ /* Header */
#header_main { #header_main {
background: #fff;
border-top: 0;
padding-bottom: 12px; padding-bottom: 12px;
} }
#header_main .logo a { #header_main .logo a {
@ -1541,13 +1239,12 @@ body.home .quote-text p {
#header_main .logo a img { #header_main .logo a img {
display: none; display: none;
} }
/* Main content */ /* Main content */
#top .alternate_color.title_container .main-title, #main, div.container_wrap_first {
#top .alternate_color.title_container .main-title a { background: #fff;
color: #ff3300 !important; border-top: 0;
} }
body.category-blog div.container_wrap_first > div.container:first-child, body.category-archivo div.container_wrap_first > div.container:first-child,
body.archive.tag div.container_wrap_first > div.container:first-child, body.archive.tag div.container_wrap_first > div.container:first-child,
body.page-id-121962 div.container_wrap_first > div.container:first-child { body.page-id-121962 div.container_wrap_first > div.container:first-child {
background: #fff; background: #fff;
@ -1560,19 +1257,15 @@ body.home .quote-text p {
word-break: break-all; word-break: break-all;
color: #00e; color: #00e;
} }
.entry-content-wrapper p {
text-align: justify;
}
.blog-tags a { .blog-tags a {
color: #999 !important; color: #999 !important;
} }
.more-link { .more-link {
width: auto; width: auto;
} }
.tooltipsincontent { body.tax-quote_author_tag .quote-author a {
border-bottom: 0 !important; color: #ccc !important;
} }
/* Sidebar */ /* Sidebar */
#top #main .sidebar { #top #main .sidebar {
width: 100%; width: 100%;
@ -1581,117 +1274,20 @@ body.home .quote-text p {
.inner_sidebar{ .inner_sidebar{
margin-left: 0; margin-left: 0;
} }
/* Footer */ /* Footer */
#socket {
background: #fff;
border-top: 0;
}
#socket .container { #socket .container {
border-top: 1px solid #e1e1e1; border-top: 1px solid #e1e1e1;
} }
#socket .copyright { #socket .copyright {
color: black; color: black;
} }
/* Links */
.entry-content-wrapper a,
.entry-content-wrapper a.visited {
color: #ff3300 !important;
}
.entry-content-wrapper a[href]:after {
content: " <" attr(href) ">";
color: #3c8dbc;
font-weight: 300;
font-size: 90%;
text-transform: initial;
word-break: break-all;
}
.quote-author a,
.post-title a, .post-meta-infos a,
.entry-footer a,
.widget_enfold_post_header_widget a,
.widget_enfold_post_footer_widget a,
.entry-content-wrapper a.iconlist_icon {
text-decoration: inherit;
color: inherit !important;
}
a.no-print-link:after,
.av-masonry a:after,
.avia-image-container a:after,
.big-preview a:after,
.quote-author a:after,
a.slide-image:after,
a.lightbox-added:after,
.avia-gallery-thumb a:after,
.avia-button-wrap a:after,
.post-title a:after, .post-meta-infos a:after,
.entry-footer a:after,
.widget_enfold_post_header_widget a:after,
.widget_enfold_post_footer_widget a:after,
.entry-content-wrapper a.iconbox_icon:after,
.entry-content-wrapper a.iconlist_icon:after {
content: "" !important;
}
/* Tables */
.avia-data-table-wrap table {
width: 100%;
}
/* Page breaks */
.break-avoid,
.av-special-heading {
page-break-inside: avoid;
}
.entry-content-wrapper h1,
.entry-content-wrapper h2,
.entry-content-wrapper h3 {
page-break-after: avoid;
}
/* Disable animations */
.entry-content-wrapper * {
opacity: 100 !important;
/* CSS transitions */
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/* CSS transforms */
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/* CSS animations */
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
}
.av-caption-image-overlay-bg {
opacity: 0 !important;
}
.image-overlay,
.av-image-caption-overlay {
display: none !important;
}
/* "Sobre mí" */
.personal-card .av_font_icon {
display: block;
width: 100%;
text-align: left;
}
.personal-card a:after { font-size: 24pt; }
} }
@media print and (max-width: 767px) { @media print and (max-width: 767px) {
body.home main .flex_column_table { body.home main .flex_column_table {
display: none !important; display: none !important;
} }
} }
@media print and (max-width: 567px) {
.personal-card a:after { font-size: 12pt; } /* "Sobre mí" */
}
@media (max-width: 399px) {
.personal-card a:after { font-size: 9pt; } /* "Sobre mí" */
}

View file

@ -1,90 +0,0 @@
<?php
if( ! defined( 'ABSPATH' ) ){ die(); }
global $avia_config, $more;
/**
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();
echo avia_title( array( 'title' => avia_which_archive() ) );
do_action( 'ava_after_main_title' );
/**
* @since 5.6.7
* @param string $main_class
* @param string $context file name
* @return string
*/
$main_class = apply_filters( 'avf_custom_main_classes', 'av-main-' . basename( __FILE__, '.php' ), basename( __FILE__ ) );
?>
<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
<div class='container template-blog '>
<main class='content <?php avia_layout_class( 'content' ); ?> units <?php echo $main_class; ?>' <?php avia_markup_helper( array( 'context' => 'content' ) );?>>
<div class="category-term-description">
<?php echo term_description(); ?>
</div>
<?php
global $wp_query, $posts;
$backup_query = $wp_query;
$sorted = array( 'post' => array() );
$post_type_obj = array();
foreach( $posts as $post )
{
$sorted[ $post->post_type ][] = $post;
if( empty( $post_type_obj[ $post->post_type] ) )
{
$post_type_obj[ $post->post_type ] = get_post_type_object( $post->post_type );
}
}
$avia_config['blog_style'] = apply_filters( 'avf_blog_style', avia_get_option( 'blog_style', 'multi-big' ), 'tag' );
foreach( $sorted as $key => $post_type )
{
if( empty( $post_type ) )
{
continue;
}
$args = array_merge( $wp_query->query_vars, array( 'post_type' => $key ) );
query_posts( $args );
$more = 0;
get_template_part( 'includes/loop', 'index' );
$wp_query = $backup_query;
}
if ( is_active_sidebar( 'after-loop' ) ) :
echo '<div class="quotes-after-loop" style="margin-top: 80px;">';
dynamic_sidebar( 'after-loop' );
echo '</div>';
endif;
?>
<!--end content-->
</main>
<?php
//get the sidebar
$avia_config['currently_viewing'] = 'blog';
get_sidebar();
?>
</div><!--end container-->
</div><!-- close default .container_wrap element -->
<?php
get_footer();