Estilos para el bloque de citas aleatorias que se muestra después de una cita
This commit is contained in:
parent
ebc7e88b8e
commit
4f0f2e39ba
2 changed files with 19 additions and 4 deletions
|
@ -591,10 +591,10 @@ register_sidebar( array(
|
||||||
'name' => 'Displayed After Loop',
|
'name' => 'Displayed After Loop',
|
||||||
'id' => 'after-loop',
|
'id' => 'after-loop',
|
||||||
'description' => '',
|
'description' => '',
|
||||||
'before_widget' => '',
|
'before_widget' => '<div class="quotes-after-loop">',
|
||||||
'after_widget' => '',
|
'after_widget' => '</div>',
|
||||||
'before_title' => '<h2>',
|
'before_title' => '<h5>',
|
||||||
'after_title' => '</h2>',
|
'after_title' => '</h5>',
|
||||||
) );
|
) );
|
||||||
add_action( 'loop_end', 'wp_content_after_loop' );
|
add_action( 'loop_end', 'wp_content_after_loop' );
|
||||||
function wp_content_after_loop( $query ) {
|
function wp_content_after_loop( $query ) {
|
||||||
|
|
|
@ -350,6 +350,21 @@ article.type-quote .entry-content-wrapper p {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
color: #999999 !important;
|
color: #999999 !important;
|
||||||
}
|
}
|
||||||
|
.quotes-after-loop h5 {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
.quotes-after-loop ul {
|
||||||
|
margin: 0 0 1em;
|
||||||
|
}
|
||||||
|
.quotes-after-loop li.quote {
|
||||||
|
margin: 1.2em 0 .6em;
|
||||||
|
}
|
||||||
|
.quotes-after-loop .quote-text p {
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
.quotes-after-loop .quote-author a {
|
||||||
|
color: #797979;
|
||||||
|
}
|
||||||
/* EXIF info */
|
/* EXIF info */
|
||||||
p.exif > span > span {
|
p.exif > span > span {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue