Añade nueva página de inicio y mejoras de estilo
This commit is contained in:
parent
6f9b7ff421
commit
2394be9383
9 changed files with 357 additions and 113 deletions
|
@ -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;
|
|
@ -24,19 +24,19 @@ if( $flexible_posts->have_posts() ):
|
||||||
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
||||||
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<a href="<?php echo the_permalink(); ?>">
|
<a href="<?php echo the_permalink(); ?>">
|
||||||
<?php
|
<?php
|
||||||
if( $thumbnail == true ) {
|
if( $thumbnail == true ) {
|
||||||
// If the post has a feature image, show it
|
// If the post has a feature image, show it
|
||||||
if( has_post_thumbnail() ) {
|
if( has_post_thumbnail() ) {
|
||||||
the_post_thumbnail( $thumbsize );
|
the_post_thumbnail( $thumbsize );
|
||||||
// Else if the post has a mime type that starts with "image/" then show the image directly.
|
// 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 ) ) {
|
} elseif( 'image/' == substr( $post->post_mime_type, 0, 6 ) ) {
|
||||||
echo wp_get_attachment_image( $post->ID, $thumbsize );
|
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>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Flexible Posts Widget: Old Default widget template
|
* Flexible Posts Widget: Old Default widget template
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
*
|
||||||
* This is the ORIGINAL default template used by the plugin.
|
* 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.
|
* 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; ?>
|
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
||||||
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<?php
|
<?php
|
||||||
global $wp;
|
global $wp;
|
||||||
$permalink = get_permalink();
|
$permalink = get_permalink();
|
||||||
$current_url = home_url( add_query_arg( array(), $wp->request ) );
|
$current_url = home_url( add_query_arg( array(), $wp->request ) );
|
||||||
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
|
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
|
||||||
if( $thumbnail == true ) {
|
if( $thumbnail == true ) {
|
||||||
// If the post has a feature image, show it
|
// If the post has a feature image, show it
|
||||||
if( has_post_thumbnail() ) {
|
if( has_post_thumbnail() ) {
|
||||||
|
@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<h4 class="title"><?php the_title(); ?></h4>
|
<h4 class="title<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4>
|
||||||
<p class="meta"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
|
<p class="meta<?php if( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
@ -48,7 +48,7 @@ if( $flexible_posts->have_posts() ):
|
||||||
<div class="dpe-flexible-posts no-posts">
|
<div class="dpe-flexible-posts no-posts">
|
||||||
<p><?php _e( 'No post found', 'flexible-posts-widget' ); ?></p>
|
<p><?php _e( 'No post found', 'flexible-posts-widget' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
endif; // End have_posts()
|
endif; // End have_posts()
|
||||||
|
|
||||||
echo $after_widget;
|
echo $after_widget;
|
||||||
|
|
|
@ -24,10 +24,10 @@ if( $flexible_posts->have_posts() ):
|
||||||
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
||||||
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<?php
|
<?php
|
||||||
global $wp;
|
global $wp;
|
||||||
$permalink = get_permalink();
|
$permalink = get_permalink();
|
||||||
$current_url = home_url( add_query_arg( array(), $wp->request ) );
|
$current_url = home_url( add_query_arg( array(), $wp->request ) );
|
||||||
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
|
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
|
||||||
if( $thumbnail == true ) {
|
if( $thumbnail == true ) {
|
||||||
// If the post has a feature image, show it
|
// If the post has a feature image, show it
|
||||||
if( has_post_thumbnail() ) {
|
if( has_post_thumbnail() ) {
|
||||||
|
@ -38,8 +38,8 @@ if( $flexible_posts->have_posts() ):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<h4 class="title"><?php the_title(); ?></h4>
|
<h4 class="title<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4>
|
||||||
<p class="meta"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
|
<p class="meta<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_time('\d\e\l d \d\e F \d\e Y'); ?></p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
|
@ -24,10 +24,10 @@ if( $flexible_posts->have_posts() ):
|
||||||
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
||||||
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<?php
|
<?php
|
||||||
global $wp;
|
global $wp;
|
||||||
$permalink = get_permalink();
|
$permalink = get_permalink();
|
||||||
$current_url = home_url( add_query_arg( array(), $wp->request ) );
|
$current_url = home_url( add_query_arg( array(), $wp->request ) );
|
||||||
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
|
echo '<a href="' . $permalink . ( trim( $permalink, '/' ) == $current_url ? '" class="active">' : '">' );
|
||||||
if( $thumbnail == true ) {
|
if( $thumbnail == true ) {
|
||||||
// If the post has a feature image, show it
|
// If the post has a feature image, show it
|
||||||
if( has_post_thumbnail() ) {
|
if( has_post_thumbnail() ) {
|
||||||
|
@ -38,9 +38,9 @@ if( $flexible_posts->have_posts() ):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<h4 class="title"><?php the_title(); ?></h4>
|
<h4 class="title<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php the_title(); ?></h4>
|
||||||
<p class="meta"><?php echo 'del '; the_modified_time('d \d\e F \d\e Y'); ?></p>
|
<p class="meta<?php if ( $thumbnail ) echo ' with_thumbnail'; ?>"><?php echo 'del '; the_modified_time('d \d\e F \d\e Y'); ?></p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
</ul><!-- .dpe-flexible-posts -->
|
</ul><!-- .dpe-flexible-posts -->
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Flexible Posts Widget: Old Default widget template
|
* Flexible Posts Widget: Old Default widget template
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
*
|
||||||
* This is the ORIGINAL default template used by the plugin.
|
* 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.
|
* 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">
|
<ul class="dpe-flexible-posts">
|
||||||
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
<?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?>
|
||||||
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<?php
|
<?php
|
||||||
if ($post->post_type == 'quote') {
|
if ($post->post_type == 'quote') {
|
||||||
$quote_text = get_the_content();
|
$quote_text = get_the_content();
|
||||||
$author = wp_get_post_terms($post->ID, 'quote_author_tag', array("fields" => "all"));
|
$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>';
|
$quote_author = '<p>— <a href="/quotes/author/' . $author[0]->slug . '">' . $author[0]->name . '</a></p>';
|
||||||
} else {
|
} else {
|
||||||
$quote_text = get_the_content();
|
$quote_text = get_the_content();
|
||||||
$quote_author = get_the_title();
|
$quote_author = get_the_title();
|
||||||
$provider = wp_get_post_terms($post->ID, 'quote_provider_tag', array("fields" => "all"));
|
$provider = wp_get_post_terms($post->ID, 'quote_provider_tag', array("fields" => "all"));
|
||||||
switch ($provider[0]->name) {
|
switch ($provider[0]->name) {
|
||||||
case 'Proverbia.net':
|
case 'Proverbia.net':
|
||||||
$quote_text = mb_convert_encoding($quote_text, 'ISO-8859-15', 'UTF-8');
|
$quote_text = mb_convert_encoding($quote_text, 'ISO-8859-15', 'UTF-8');
|
||||||
$quote_author = mb_convert_encoding(substr($quote_author, 0, strpos($quote_author, ' – ')), 'ISO-8859-15', 'UTF-8');
|
$quote_author = mb_convert_encoding(substr($quote_author, 0, strpos($quote_author, ' – ')), 'ISO-8859-15', 'UTF-8');
|
||||||
$quote_provider = '<a href="http://es.proverbia.net" target="_blank">' . $provider[0]->name . '</a>';
|
$quote_provider = '<a href="http://es.proverbia.net" target="_blank">' . $provider[0]->name . '</a>';
|
||||||
break;
|
break;
|
||||||
case 'BrainyQuote':
|
case 'BrainyQuote':
|
||||||
$quote_provider = '<a href="http://www.brainyquote.com" target="_blank">' . $provider[0]->name . '</a>';
|
$quote_provider = '<a href="http://www.brainyquote.com" target="_blank">' . $provider[0]->name . '</a>';
|
||||||
break;
|
break;
|
||||||
case 'The Quotations Page':
|
case 'The Quotations Page':
|
||||||
$quote_provider = '<a href="http://www.quotationspage.com" target="_blank">' . $provider[0]->name . '</a>';
|
$quote_provider = '<a href="http://www.quotationspage.com" target="_blank">' . $provider[0]->name . '</a>';
|
||||||
}
|
}
|
||||||
$quote_text = '<p>' . trim($quote_text, '"') . '</p>';
|
$quote_text = '<p>' . trim($quote_text, '"') . '</p>';
|
||||||
$quote_author = '<p>— ' . $quote_author . ' (' . $quote_provider . ')</p>';
|
$quote_author = '<p>— ' . $quote_author . ' (' . $quote_provider . ')</p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<div class="quote-text">' . $quote_text . '</div>';
|
echo '<div class="quote-text">' . $quote_text . '</div>';
|
||||||
echo '<div class="quote-author">' . $quote_author . '</div>';
|
echo '<div class="quote-author">' . $quote_author . '</div>';
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
</ul><!-- .dpe-flexible-posts -->
|
</ul><!-- .dpe-flexible-posts -->
|
||||||
<?php
|
<?php
|
||||||
endif; // End have_posts()
|
endif; // End have_posts()
|
||||||
|
|
||||||
echo $after_widget;
|
echo $after_widget;
|
||||||
|
|
|
@ -595,3 +595,17 @@ 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( '‹', '<', $content );
|
||||||
|
$content = str_replace( '›', '>', $content );
|
||||||
|
return $content;
|
||||||
|
}
|
||||||
|
|
BIN
www/wp-content/themes/enfold-cille/images/clip.png
Normal file
BIN
www/wp-content/themes/enfold-cille/images/clip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
|
@ -93,6 +93,68 @@ ul > li > br {
|
||||||
/*
|
/*
|
||||||
* 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
#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;
|
||||||
|
@ -103,9 +165,6 @@ 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.
|
||||||
|
@ -205,7 +264,7 @@ a.avia-cookie-consent-button:hover {
|
||||||
height: 4px;
|
height: 4px;
|
||||||
}
|
}
|
||||||
#menu-item-5777,
|
#menu-item-5777,
|
||||||
#menu-item-13589 {
|
#menu-item-5544 {
|
||||||
border-top: 1px solid #556372;
|
border-top: 1px solid #556372;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -364,11 +423,32 @@ span[data-avia-tooltip] {
|
||||||
max-height: 900px;
|
max-height: 900px;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
/* 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;
|
||||||
|
}
|
||||||
/* Marcadores posts */
|
/* Marcadores posts */
|
||||||
article.category-marcadores .entry-content-wrapper div.entry-content {
|
article.category-marcadores .entry-content-wrapper div.entry-content {
|
||||||
border-left: 7px solid #3c8dbc;
|
border-left: 7px solid #ccc;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
article.category-marcadores > .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-marcadores .entry-content-wrapper p {
|
article.category-marcadores .entry-content-wrapper p {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
@ -405,7 +485,8 @@ article.type-quote .entry-content-wrapper p {
|
||||||
color: #999999 !important;
|
color: #999999 !important;
|
||||||
}
|
}
|
||||||
.quotes-after-loop h5 {
|
.quotes-after-loop h5 {
|
||||||
margin-bottom: 1em;
|
font-size: 19px;
|
||||||
|
color: #6a6e71;
|
||||||
}
|
}
|
||||||
.quotes-after-loop ul {
|
.quotes-after-loop ul {
|
||||||
margin: 0 0 1em;
|
margin: 0 0 1em;
|
||||||
|
@ -650,6 +731,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.
|
* PAGES STYLES.
|
||||||
*/
|
*/
|
||||||
|
@ -669,6 +779,52 @@ a.navitem.allDirectory:after {
|
||||||
.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: 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.
|
||||||
|
@ -750,8 +906,7 @@ ul.dpe-flexible-posts li p.meta {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
}
|
}
|
||||||
ul.dpe-flexible-posts li img + h4,
|
ul.dpe-flexible-posts .with_thumbnail {
|
||||||
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 {
|
||||||
|
@ -777,18 +932,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 li img + h4,
|
ul.dpe-flexible-posts.list-notes .with_thumbnail {
|
||||||
ul.dpe-flexible-posts.list-notes li img + h4 + p.meta {
|
|
||||||
margin-left: 80px;
|
margin-left: 80px;
|
||||||
}
|
}
|
||||||
/* Blogroll widget */
|
/* Blogroll and Archive Notes widgets */
|
||||||
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 li img + h4,
|
ul.dpe-flexible-posts.list-blogroll .with_thumbnail,
|
||||||
ul.dpe-flexible-posts.list-blogroll li img + h4 + p.meta {
|
ul.dpe-flexible-posts.list-archive-notes .with_thumbnail {
|
||||||
margin-left: 70px;
|
margin-left: 70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -862,6 +1017,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -899,7 +1055,7 @@ a.dpe-flexible-photos-link:hover {
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
.quote-author a {
|
.quote-author a {
|
||||||
color: #fff !important;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.quote-author a:hover {
|
.quote-author a:hover {
|
||||||
color: #f70a0a;
|
color: #f70a0a;
|
||||||
|
@ -942,8 +1098,7 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
* FOOTER.
|
* FOOTER.
|
||||||
*/
|
*/
|
||||||
#quotes > .container {
|
#quotes > .container {
|
||||||
padding-bottom: 50px;
|
padding-bottom: 10px;
|
||||||
background: transparent url(images/bg-footer.png) no-repeat 100% bottom;
|
|
||||||
}
|
}
|
||||||
#socket .container {
|
#socket .container {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
|
@ -979,6 +1134,12 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#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;
|
||||||
}
|
}
|
||||||
|
@ -1041,30 +1202,33 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
/*
|
/*
|
||||||
* RESPONSIVE MEDIA QUERIES.
|
* RESPONSIVE MEDIA QUERIES.
|
||||||
*/
|
*/
|
||||||
@media (min-width: 768px) and (max-width: 1399px) {
|
@media (min-width: 930px) {
|
||||||
/* Home page list notes */
|
#terminal pre {
|
||||||
#dpe_fp_widget-9 ul.list-notes > li:last-child {
|
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;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 768px) and (max-width: 1299px) {
|
@media (max-width: 989px) {
|
||||||
/* Home page list notes */
|
#featured-links {
|
||||||
#dpe_fp_widget-9 ul.list-notes > li + li + li + li {
|
margin-bottom: 0 !important;
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
/* Quotes widgets */
|
#featured-search {
|
||||||
#quotes > .container {
|
margin-top: -24px !important;
|
||||||
background-position: 92% bottom;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@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) {
|
||||||
|
@ -1081,14 +1245,9 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
ul.dpe-flexible-posts li img {
|
ul.dpe-flexible-posts li img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
ul.dpe-flexible-posts li img + h4,
|
ul.dpe-flexible-posts li .with_thumbnail {
|
||||||
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;
|
||||||
|
@ -1118,6 +1277,11 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
.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;
|
||||||
|
@ -1129,6 +1293,16 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
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%;
|
||||||
|
@ -1143,6 +1317,10 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
.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%;
|
||||||
}
|
}
|
||||||
|
/* Marcadores posts */
|
||||||
|
article.category-marcadores > .entry-content-wrapper > div.entry-content::before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 567px) {
|
@media (max-width: 567px) {
|
||||||
/* LAYOUT */
|
/* LAYOUT */
|
||||||
|
@ -1179,6 +1357,10 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
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;
|
||||||
|
@ -1273,9 +1455,6 @@ body.tax-quote_author_tag .quote-author a:hover {
|
||||||
.more-link {
|
.more-link {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
body.tax-quote_author_tag .quote-author a {
|
|
||||||
color: #ccc !important;
|
|
||||||
}
|
|
||||||
.tooltipsincontent {
|
.tooltipsincontent {
|
||||||
border-bottom: 0 !important;
|
border-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue