Compare commits

...

18 commits
v1.1.0 ... main

Author SHA1 Message Date
e08ba95a38 💄 Muestra botón de scroll hacia arriba siempre 2025-06-28 07:33:38 +02:00
585a95fac3 Revierte previsualización de contenidos 2025-06-28 07:25:19 +02:00
ca2a0b3190 💄 Añade icono para enlazar a SoloGit 2025-06-21 18:11:44 +02:00
1239e8f935 🩹 Corrige la visualización de las citas 2025-06-21 10:51:03 +02:00
537e4b0b2b 💄 Recupera icono para enlazar a Mastodon 2025-03-03 16:12:31 +01:00
13d5e0581a 💄 Añade icono para enlazar a Bluesky 2024-12-16 01:22:11 +01:00
5820b34f31 💄 Añade icono para enlazar a Mastodon 2022-11-23 20:15:33 +01:00
b61354a7e2 📝 Libera la versión 1.1.1 2022-08-28 20:31:07 +02:00
01bf525ff6 Actualiza visualización de "Entradas del blog" 2022-08-28 11:32:45 +02:00
5266f4a317 Corrige la vista de las citas
Se posiciona correctamente el nombre del autor cuando la cita se muestra
en página individual. También se aumenta el contraste de color en el
listado de "Otras citas".
2022-02-06 19:23:58 +01:00
1932537e7e Actualiza estilos para las notas y los snippets
El "Archivo de notas" y los "Marcadores" se han integrado en un único
bloque llamado "Notas rápidas". Y para los snippets se han descargado
las versiones más recientes de Prismjs del plugin Highlighting Code
Block. Se ajustan los estilos para tener en cuenta estos cambios.
2022-02-06 18:47:25 +01:00
d375f803ac Retoca la versión para impresora de la página web 2021-09-09 22:56:38 +02:00
0944f895db Retoca los estilos de la página de inicio 2021-09-09 20:12:18 +02:00
d9dff1fc67 Añade estilos para aumentar texto de botones
Los botones grandes mantenían el tamaño de la fuente. Se añaden estilos
para aumentar este tamaño. También se mejora la visualización del botón
cuando se pasa el ratón por encima, porque aparecía una distorsión de un
par de píxeles justo debajo del botón.
2021-08-05 05:21:27 +02:00
461e40c45f Añade estilos a los bloques de la página de inicio
De la fila de widgets con contenidos del sitio, tres requieren un enlace
a su correspondiente página principal. Se sustituye el título de estos
bloques por botones de ancho completo que imitarán el aspecto del título
usando estos estilos.
2021-08-04 22:20:49 +02:00
2394be9383 Añade nueva página de inicio y mejoras de estilo 2021-08-03 21:05:18 +02:00
6f9b7ff421 Retoca tamaño de fuente en los enlaces al imprimir 2020-10-30 13:13:20 +01:00
0a14c61f5a Mejora la vista de impresión de enlaces e imágenes
Se destacan y se muestran los enlaces en la página, se desactivan las
animaciones para visualizar mejor los componentes que se pueden
imprimir, especialmente las imágenes, y se ajusta la página "Sobre mí".
2020-10-29 18:24:18 +01:00
13 changed files with 814 additions and 523 deletions

View file

@ -3,4 +3,6 @@
Código específico, hojas de estilo, recursos y *snippets* del **tema hijo**
basado en Enfold Theme (https://kriesi.at/themes/enfold-overview) desarrollado
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

@ -0,0 +1,51 @@
<?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

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

View file

@ -1,11 +1,11 @@
<?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
* There is a new default template (default.php) that will be
* used by default if no template was specified in a widget.
*/
@ -24,10 +24,10 @@ if( $flexible_posts->have_posts() ):
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
global $wp;
$permalink = get_permalink();
$current_url = home_url( add_query_arg( array(), $wp->request ) );
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
global $wp;
$permalink = get_permalink();
$current_url = home_url( add_query_arg( array(), $wp->request ) );
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
if( $thumbnail == true ) {
// If the post has a feature image, show it
if( has_post_thumbnail() ) {
@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ):
}
}
?>
<h4 class="title"><?php the_title(); ?></h4>
<p class="meta"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
<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; ?>
@ -48,7 +48,7 @@ if( $flexible_posts->have_posts() ):
<div class="dpe-flexible-posts no-posts">
<p><?php _e( 'No post found', 'flexible-posts-widget' ); ?></p>
</div>
<?php
<?php
endif; // End have_posts()
echo $after_widget;

View file

@ -24,10 +24,10 @@ if( $flexible_posts->have_posts() ):
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
global $wp;
$permalink = get_permalink();
$current_url = home_url( add_query_arg( array(), $wp->request ) );
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
global $wp;
$permalink = get_permalink();
$current_url = home_url( add_query_arg( array(), $wp->request ) );
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
if( $thumbnail == true ) {
// If the post has a feature image, show it
if( has_post_thumbnail() ) {
@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ):
}
}
?>
<h4 class="title"><?php the_title(); ?></h4>
<p class="meta"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
<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; ?>

View file

@ -24,10 +24,10 @@ if( $flexible_posts->have_posts() ):
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
global $wp;
$permalink = get_permalink();
$current_url = home_url( add_query_arg( array(), $wp->request ) );
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
global $wp;
$permalink = get_permalink();
$current_url = home_url( add_query_arg( array(), $wp->request ) );
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
if( $thumbnail == true ) {
// If the post has a feature image, show it
if( has_post_thumbnail() ) {
@ -38,9 +38,9 @@ if( $flexible_posts->have_posts() ):
}
}
?>
<h4 class="title"><?php the_title(); ?></h4>
<p class="meta"><?php echo 'del '; the_modified_time('d \d\e F \d\e Y'); ?></p>
</a>
<h4 class="title<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?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>
</a>
</li>
<?php endwhile; ?>
</ul><!-- .dpe-flexible-posts -->

View file

@ -1,11 +1,11 @@
<?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
* There is a new default template (default.php) that will be
* used by default if no template was specified in a widget.
*/
@ -23,38 +23,38 @@ if( $flexible_posts->have_posts() ):
<ul class="dpe-flexible-posts">
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ($post->post_type == 'quote') {
$quote_text = get_the_content();
$author = wp_get_post_terms($post->ID, 'quote_author_tag', array("fields" => "all"));
$quote_author = '<p>— <a href="/quotes/author/' . $author[0]->slug . '">' . $author[0]->name . '</a></p>';
} else {
$quote_text = get_the_content();
$quote_author = get_the_title();
$provider = wp_get_post_terms($post->ID, 'quote_provider_tag', array("fields" => "all"));
switch ($provider[0]->name) {
case 'Proverbia.net':
$quote_text = mb_convert_encoding($quote_text, 'ISO-8859-15', 'UTF-8');
$quote_author = mb_convert_encoding(substr($quote_author, 0, strpos($quote_author, ' &#8211; ')), 'ISO-8859-15', 'UTF-8');
$quote_provider = '<a href="http://es.proverbia.net" target="_blank">' . $provider[0]->name . '</a>';
break;
case 'BrainyQuote':
$quote_provider = '<a href="http://www.brainyquote.com" target="_blank">' . $provider[0]->name . '</a>';
break;
case 'The Quotations Page':
$quote_provider = '<a href="http://www.quotationspage.com" target="_blank">' . $provider[0]->name . '</a>';
}
$quote_text = '<p>' . trim($quote_text, '"') . '</p>';
$quote_author = '<p>— ' . $quote_author . ' (' . $quote_provider . ')</p>';
}
echo '<div class="quote-text">' . $quote_text . '</div>';
echo '<div class="quote-author">' . $quote_author . '</div>';
?>
<?php
if ($post->post_type == 'quote') {
$quote_text = get_the_content();
$author = wp_get_post_terms($post->ID, 'quote_author_tag', array("fields" => "all"));
$quote_author = '<p>— <a href="/quotes/author/' . $author[0]->slug . '">' . $author[0]->name . '</a></p>';
} else {
$quote_text = get_the_content();
$quote_author = get_the_title();
$provider = wp_get_post_terms($post->ID, 'quote_provider_tag', array("fields" => "all"));
switch ($provider[0]->name) {
case 'Proverbia.net':
$quote_text = mb_convert_encoding($quote_text, 'ISO-8859-15', 'UTF-8');
$quote_author = mb_convert_encoding(substr($quote_author, 0, strpos($quote_author, ' &#8211; ')), 'ISO-8859-15', 'UTF-8');
$quote_provider = '<a href="http://es.proverbia.net" target="_blank">' . $provider[0]->name . '</a>';
break;
case 'BrainyQuote':
$quote_provider = '<a href="http://www.brainyquote.com" target="_blank">' . $provider[0]->name . '</a>';
break;
case 'The Quotations Page':
$quote_provider = '<a href="http://www.quotationspage.com" target="_blank">' . $provider[0]->name . '</a>';
}
$quote_text = '<p>' . trim($quote_text, '"') . '</p>';
$quote_author = '<p>— ' . $quote_author . ' (' . $quote_provider . ')</p>';
}
echo '<div class="quote-text">' . $quote_text . '</div>';
echo '<div class="quote-author">' . $quote_author . '</div>';
?>
</li>
<?php endwhile; ?>
</ul><!-- .dpe-flexible-posts -->
<?php
<?php
endif; // End have_posts()
echo $after_widget;

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' );
}
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>1030x403</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>1200x470</tt>.</p>");
}
/*
@ -69,8 +69,19 @@ function fix_single_post_title( $args, $id ) {
else {
// Post categories by name:
$categories = array_values( array_column( get_the_category(), 'name' ) );
if ( in_array( $categories[0], array( 'Blog', 'Archivo de notas', 'Marcadores', 'Álbum de fotos' ) ) ) {
$args['title'] = $categories[0];
switch ($categories[0]) {
case 'Blog':
$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;
}
}
}
@ -100,19 +111,25 @@ function avia_change_tag_page_layout( $layout, $context ) {
}
/*
* Register new icons as a theme icons fot GitHub and GitLab.
* Register new icons as a theme icons.
* See https://kriesi.at/documentation/enfold/custom-social-icons/
*/
add_filter( 'avf_default_icons', 'avia_add_custom_icon', 10, 1 );
function avia_add_custom_icon( $icons ) {
$icons['github'] = array( 'font' =>'fontello', 'icon' => 'uf09b' );
$icons['gitlab'] = array( 'font' =>'fontello', 'icon' => 'uf296' );
$icons['GitHub'] = array( 'font' =>'fontello', 'icon' => 'uf09b' );
$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;
}
add_filter( 'avf_social_icons_options', 'avia_add_custom_social_icon', 10, 1 );
function avia_add_custom_social_icon( $icons ) {
$icons['GitHub'] = 'github';
$icons['GitLab'] = 'gitlab';
$icons['GitHub'] = 'GitHub';
$icons['GitLab'] = 'GitLab';
$icons['SoloGit'] = 'SoloGit';
$icons['Mastodon'] = 'Mastodon';
$icons['Bluesky'] = 'Bluesky';
return $icons;
}
@ -133,7 +150,7 @@ function avia_same_category_filter( $settings ) {
add_filter( 'get_the_terms', 'exclude_taxonomy_terms', 10, 3 );
function exclude_taxonomy_terms( $terms, $post, $taxonomy ) {
// List of taxonomy terms (slugs) to exclude:
$exclude_slugs = array( 'portada', 'pelis-y-series', 'lecturas', 'twitter', 'linkedin', 'facebook' );
$exclude_slugs = array( 'portada', 'pelis-y-series', 'lecturas' );
if ( !is_admin() ) {
foreach( $terms as $key => $term ) {
@ -158,6 +175,9 @@ function avia_change_breadcrumb( $trail, $args ) {
elseif ( is_category() ) {
$trail = array();
}
elseif ( is_tax( 'quote_author_tag' ) ) {
array_splice( $trail, 1, 0, array( '<a href="/quotes">Libro de citas</a>' ) );
}
return $trail;
}
@ -269,6 +289,14 @@ function social_post_defautl_thumbnail( $html, $post_id, $post_thumbnail_id, $si
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;
* and also add a character counter to the Excerpt box (with no limit).
@ -525,7 +553,7 @@ class enfold_post_footer_widget extends WP_Widget {
* See https://wordpress.stackexchange.com/questions/107113/output-before-and-after-the-loop
*/
register_sidebar( array(
'name' => 'Displayed After Loop',
'name' => 'Displayed After Quote',
'id' => 'after-loop',
'description' => '',
'before_widget' => '<div class="quotes-after-loop">',
@ -533,13 +561,32 @@ register_sidebar( array(
'before_title' => '<h5>',
'after_title' => '</h5>',
) );
add_action( 'loop_end', 'wp_content_after_loop' );
function wp_content_after_loop( $query ) {
if ( $query->is_main_query() && is_active_sidebar( 'after-loop' ) ) {
add_action( 'loop_end', 'wp_content_after_quote' );
function wp_content_after_quote( $query ) {
if ( ! $query->is_main_query() ) {
return;
}
if ( ! ( is_post_type_archive( 'quote' ) || is_singular( 'quote' ) ) ) {
return;
}
if ( is_active_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
* stylesheet "enfold/css/avia-snippet-widget.css" from Enfold 4.5, and removing
@ -595,3 +642,17 @@ function hide_content_antibots_shortcode( $atts, $content = null ) {
}
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.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,322 +1,5 @@
/* PrismJS 1.20.0
/* PrismJS 1.26.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 */
/**
* prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML
* 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;
}
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)}
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}

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 {
background-color: #fff;
}
body.category-archivo div.container_wrap_first > div.container:first-child {
body.category-blog div.container_wrap_first > div.container:first-child {
background: #fff url(images/notebook.jpg) repeat-y left top;
padding-left: 68px;
}
@ -90,9 +90,112 @@ ul > li > br {
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.
*/
#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 {
font-size: 18px;
color: inherit;
@ -103,9 +206,6 @@ ul > li > br {
.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;
}
#dpe_fp_widget-9 {
padding-bottom: 0;
}
/*
* Cookies advice.
@ -205,7 +305,7 @@ a.avia-cookie-consent-button:hover {
height: 4px;
}
#menu-item-5777,
#menu-item-13589 {
#menu-item-5544 {
border-top: 1px solid #556372;
}
@ -364,34 +464,71 @@ span[data-avia-tooltip] {
max-height: 900px;
width: auto;
}
/* Marcadores posts */
article.category-marcadores .entry-content-wrapper div.entry-content {
border-left: 7px solid #3c8dbc;
/* Embedded content */
.js_active .avia-iframe-wrap {
height: auto;
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;
}
article.category-marcadores .entry-content-wrapper p {
article.category-notes > .entry-content-wrapper > div.entry-content::before {
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;
line-height: 1.5em;
text-align: left;
color: #999999 !important;
}
/* 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 > span {
display: none;
}
article.type-quote .post-meta-infos > span.blog-categories {
display: block;
text-indent: -1.325em;
margin-top: 1.4em;
position: absolute;
bottom: 5em;
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 {
content: "— ";
}
article.type-quote .post-meta-infos span.blog-categories a {
font-size: 1.4em;
color: #797979;
padding-left: 4px;
padding-left: 9999px;
}
article.type-quote .entry-content-wrapper div.entry-content {
padding-left: 60px;
@ -405,7 +542,8 @@ article.type-quote .entry-content-wrapper p {
color: #999999 !important;
}
.quotes-after-loop h5 {
margin-bottom: 1em;
font-size: 19px;
color: #6a6e71;
}
.quotes-after-loop ul {
margin: 0 0 1em;
@ -487,16 +625,21 @@ li.comment {
}
#commentform p > input[type="text"] {
margin-bottom: 5px;
width: 220px !important;
}
#commentform label {
position: absolute !important;
left: 230px;
font-size: 14px;
margin-top: .2em;
/* margin-top: .2em;*/
line-height: 1.4em;
color: #777;
}
#commentform label .required {
display: inline;
}
#commentform input[type='checkbox'] {
margin-top: 1em;
margin-top: .8em;
}
#commentform p.comment-form-av-privatepolicy {
margin: 0 !important;
@ -506,6 +649,9 @@ li.comment {
margin-top: 0;
font-weight: normal;
}
#commentform p.comment-form-av-privatepolicy label {
display: inline;
}
#commentform p.comment-form-av-privatepolicy label a {
font-weight: bold;
}
@ -589,15 +735,31 @@ div.lwptoc_item > div.lwptoc_itemWrap span.lwptoc_item_label:before {
display: flex !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 {
margin-top: 0 !important;
margin-top: .5em !important;
width: 100% !important;
background: linear-gradient(to right, hsla(24, 20%, 49%, .2), #fcfcfc00) !important;
z-index: 10;
}
.hcb_wrap .undefined-numbers .line-highlight {
margin-top: 9px !important;
}
.hcb_wrap .undefined-numbers code {
padding-top: 9px !important;
padding-bottom: 9px !important;
.hcb_wrap .line-numbers .line-highlight {
margin-top: -0.5em !important;
}
/*
@ -650,6 +812,35 @@ 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.
*/
@ -661,14 +852,70 @@ a.navitem.allDirectory:after {
padding: 2px 3px;
white-space: nowrap;
}
/* Archive */
.page-id-5502 .avia-content-slider.avia-builder-el-2 .fake-thumbnail .slide-image {
display: none;
/* Entradas del blog */
.page-id-5502 .last-entries {
overflow: hidden;
}
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-meta,
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt {
.page-id-5502 .last-entries h3 {
position: absolute;
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%;
}
/* 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.
@ -750,8 +997,7 @@ ul.dpe-flexible-posts li p.meta {
text-align: left;
margin-top: 6px;
}
ul.dpe-flexible-posts li img + h4,
ul.dpe-flexible-posts li img + h4 + p.meta {
ul.dpe-flexible-posts .with_thumbnail {
margin-left: 60px;
}
ul.dpe-flexible-posts a {
@ -777,18 +1023,18 @@ ul.dpe-flexible-posts.list-notes li img {
height: 70px;
border-radius: 5px;
}
ul.dpe-flexible-posts.list-notes li img + h4,
ul.dpe-flexible-posts.list-notes li img + h4 + p.meta {
ul.dpe-flexible-posts.list-notes .with_thumbnail {
margin-left: 80px;
}
/* Blogroll widget */
ul.dpe-flexible-posts.list-blogroll li img {
/* Blogroll and Archive Notes widgets */
ul.dpe-flexible-posts.list-blogroll li img,
ul.dpe-flexible-posts.list-archive-notes li img {
width: 60px;
height: 60px;
border-radius: 30px;
}
ul.dpe-flexible-posts.list-blogroll li img + h4,
ul.dpe-flexible-posts.list-blogroll li img + h4 + p.meta {
ul.dpe-flexible-posts.list-blogroll .with_thumbnail,
ul.dpe-flexible-posts.list-archive-notes .with_thumbnail {
margin-left: 70px;
}
@ -862,6 +1108,7 @@ a.dpe-flexible-photos-link:hover {
*/
.widget_recent_comments li.recentcomments {
margin-left: 0;
padding: 6px 0;
}
/*
@ -883,10 +1130,14 @@ a.dpe-flexible-photos-link:hover {
}
.quote-text,
.quote-text p {
color: #ccc !important;
color: #919191 !important;
text-align: left;
margin: .1em 0 .4em;
}
body.home .quote-text,
body.home .quote-text p {
color: #ccc !important;
}
.quote-text p {
margin: 0 !important;
}
@ -899,29 +1150,12 @@ a.dpe-flexible-photos-link:hover {
margin-left: 8px;
}
.quote-author a {
color: #fff !important;
color: #fff;
}
.quote-author a:hover {
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.
*/
@ -942,8 +1176,7 @@ body.tax-quote_author_tag .quote-author a:hover {
* FOOTER.
*/
#quotes > .container {
padding-bottom: 50px;
background: transparent url(images/bg-footer.png) no-repeat 100% bottom;
padding-bottom: 10px;
}
#socket .container {
padding-top: 8px;
@ -975,9 +1208,24 @@ body.tax-quote_author_tag .quote-author a:hover {
transition-delay: 0s;
opacity: 1 !important;
}
#scroll-top-link.avia-svg-icon svg:first-child {
height: 35px;
margin-top: 6px;
}
#scroll-top-link:hover {
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 {
padding: 10px 0;
@ -1019,15 +1267,26 @@ body.tax-quote_author_tag .quote-author a:hover {
.av-share-box ul li a {
font-size: 18px;
}
#top #wrap_all .av-social-link-github:hover a,
#top #wrap_all .av-social-link-gitlab:hover a {
#top #wrap_all .av-social-link-Mastodon:hover a,
#top #wrap_all .av-social-link-Mastodon: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;
background-color: #bd2c00;
}
/* Search box adjustment */
#top #s,
#top #searchsubmit {
height: 44px;
height: 44px !important;
line-height: 44px;
}
#top #searchsubmit {
@ -1041,30 +1300,38 @@ body.tax-quote_author_tag .quote-author a:hover {
/*
* RESPONSIVE MEDIA QUERIES.
*/
@media (min-width: 768px) and (max-width: 1399px) {
/* Home page list notes */
#dpe_fp_widget-9 ul.list-notes > li:last-child {
@media (min-width: 930px) {
#terminal pre {
padding-left: 30px;
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;
}
}
@media (min-width: 768px) and (max-width: 1299px) {
/* Home page list notes */
#dpe_fp_widget-9 ul.list-notes > li + li + li + li {
display: none;
@media (max-width: 989px) {
#featured-links {
margin-bottom: 0 !important;
padding: 5px 4%;
}
/* Quotes widgets */
#quotes > .container {
background-position: 92% bottom;
#featured-search {
margin-top: -24px !important;
padding: 5px 4%;
}
}
@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;
#top .container .av-masonry.av-large-gap {
padding: 10px 0 0;
}
}
@media (min-width: 768px) and (max-width: 929px) {
@ -1081,14 +1348,9 @@ body.tax-quote_author_tag .quote-author a:hover {
ul.dpe-flexible-posts li img {
display: none;
}
ul.dpe-flexible-posts li img + h4,
ul.dpe-flexible-posts li img + h4 + p.meta {
ul.dpe-flexible-posts li .with_thumbnail {
margin-left: 0 !important;
}
/* Home page list notes */
#dpe_fp_widget-9 ul.list-notes > li + li + li {
display: none;
}
/* Métrica 3 widget */
#text-2 {
text-align: left;
@ -1106,7 +1368,7 @@ body.tax-quote_author_tag .quote-author a:hover {
div.container_wrap_first {
background: #fff;
}
body.category-archivo div.container_wrap_first > div.container:first-child,
body.category-blog 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 {
background: #fff;
@ -1118,6 +1380,11 @@ body.tax-quote_author_tag .quote-author a:hover {
.av_icon_active_right .social_bookmarks {
padding-left: 0;
}
/* Home page */
#keep-calm,
#keep-calm .av-rotator-text {
text-align: left !important;
}
/* Breadcrumb */
.title_container .breadcrumb {
margin-top: .7em !important;
@ -1129,6 +1396,16 @@ body.tax-quote_author_tag .quote-author a:hover {
div .avia-table td {
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 */
ul.dpe-flexible-photos li {
width: 31.3%;
@ -1143,6 +1420,10 @@ body.tax-quote_author_tag .quote-author a:hover {
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt {
font-size: 100%;
}
/* Notas rápidas posts */
article.category-notes > .entry-content-wrapper > div.entry-content::before {
display: none;
}
}
@media (max-width: 567px) {
/* LAYOUT */
@ -1179,14 +1460,24 @@ body.tax-quote_author_tag .quote-author a:hover {
background: transparent url(images/logo.png) no-repeat 0 -100px;
}
@media print {
.no-print {
display: none;
}
/* LAYOUT */
@page {
size: A4;
margin: 1.6cm 1cm;
}
* {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
html, body {
background: #fff;
-webkit-print-color-adjust: exact;
}
body {
font-size: 15px;
}
.responsive #top #wrap_all .container {
width: 100%;
@ -1199,6 +1490,8 @@ body.tax-quote_author_tag .quote-author a:hover {
.container .av-content-small.units {
width: 100%;
}
/* Hide sections */
.social_bookmarks,
#header_meta,
.av-share-box,
@ -1206,13 +1499,17 @@ body.tax-quote_author_tag .quote-author a:hover {
#legal,
.avia-cookie-consent-wrap,
.related_posts,
.tooltips_directory .navitems,
/* Comments */
.comment_meta_container,
.comment_container,
.av-buildercomment,
span.comment-container,
span.text-sep-comment,
.slide-meta-comments,
.slide-meta-del,
/* Widgets */
div.lwptoc,
.widget_search,
.widget-simpletags,
.widget_instagram-feed-widget,
@ -1222,12 +1519,17 @@ body.tax-quote_author_tag .quote-author a:hover {
.sidebar #dpe_fp_widget-21,
.sidebar #dpe_fp_widget-24,
.sidebar #dpe_fp_widget-25 {
display: none;
display: none !important;
}
/* Header */
#header_main {
/* White background */
#wrap_all, #wrapper-all, #header_main, #main, div.container_wrap_first, #socket {
background: #fff;
border-top: 0;
}
/* Header */
#header_main {
padding-bottom: 12px;
}
#header_main .logo a {
@ -1239,12 +1541,13 @@ body.tax-quote_author_tag .quote-author a:hover {
#header_main .logo a img {
display: none;
}
/* Main content */
#main, div.container_wrap_first {
background: #fff;
border-top: 0;
#top .alternate_color.title_container .main-title,
#top .alternate_color.title_container .main-title a {
color: #ff3300 !important;
}
body.category-archivo div.container_wrap_first > div.container:first-child,
body.category-blog 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 {
background: #fff;
@ -1257,15 +1560,19 @@ body.tax-quote_author_tag .quote-author a:hover {
word-break: break-all;
color: #00e;
}
.entry-content-wrapper p {
text-align: justify;
}
.blog-tags a {
color: #999 !important;
}
.more-link {
width: auto;
}
body.tax-quote_author_tag .quote-author a {
color: #ccc !important;
.tooltipsincontent {
border-bottom: 0 !important;
}
/* Sidebar */
#top #main .sidebar {
width: 100%;
@ -1274,20 +1581,117 @@ body.tax-quote_author_tag .quote-author a:hover {
.inner_sidebar{
margin-left: 0;
}
/* Footer */
#socket {
background: #fff;
border-top: 0;
}
#socket .container {
border-top: 1px solid #e1e1e1;
}
#socket .copyright {
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) {
body.home main .flex_column_table {
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

@ -0,0 +1,90 @@
<?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();