Improve post CSS selectors
This commit is contained in:
parent
09c47f273b
commit
80748251a9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -97,10 +97,10 @@ $latest_entries = fictioneer_shortcode_query( $query_args );
|
||||
|
||||
<?php if ( has_action( 'fictioneer_latest_posts_footers_left' ) || has_action( 'fictioneer_latest_posts_footers_right' ) ) : ?>
|
||||
<footer class="post__footer">
|
||||
<div class="post__footer-left">
|
||||
<div class="post__footer-box post__footer-left">
|
||||
<?php do_action( 'fictioneer_latest_posts_footers_left', get_the_ID() ); ?>
|
||||
</div>
|
||||
<div class="post__footer-right">
|
||||
<div class="post__footer-box post__footer-right">
|
||||
<?php do_action( 'fictioneer_latest_posts_footers_right', get_the_ID() ); ?>
|
||||
</div>
|
||||
</footer>
|
||||
|
@ -51,10 +51,10 @@ if (
|
||||
|
||||
<?php if ( has_action( 'fictioneer_blog_posts_footers_left' ) || has_action( 'fictioneer_blog_posts_footers_right' ) ) : ?>
|
||||
<footer class="post__footer">
|
||||
<div class="post__footer-left">
|
||||
<div class="post__footer-box post__footer-left">
|
||||
<?php do_action( 'fictioneer_blog_posts_footers_left', get_the_ID() ); ?>
|
||||
</div>
|
||||
<div class="post__footer-right">
|
||||
<div class="post__footer-box post__footer-right">
|
||||
<?php do_action( 'fictioneer_blog_posts_footers_right', get_the_ID() ); ?>
|
||||
</div>
|
||||
</footer>
|
||||
|
@ -43,8 +43,12 @@ get_header();
|
||||
|
||||
<?php if ( ! post_password_required() && ( has_action( 'fictioneer_post_footer_left' ) || has_action( 'fictioneer_post_footer_right' ) ) ) : ?>
|
||||
<footer class="post__footer">
|
||||
<div class="post__footer-left"><?php do_action( 'fictioneer_post_footer_left', get_the_ID() ); ?></div>
|
||||
<div class="post__footer-right"><?php do_action( 'fictioneer_post_footer_right', get_the_ID() ); ?></div>
|
||||
<div class="post__footer-box post__footer-left">
|
||||
<?php do_action( 'fictioneer_post_footer_left', get_the_ID() ); ?>
|
||||
</div>
|
||||
<div class="post__footer-box post__footer-right">
|
||||
<?php do_action( 'fictioneer_post_footer_right', get_the_ID() ); ?>
|
||||
</div>
|
||||
</footer>
|
||||
<?php endif; ?>
|
||||
|
||||
|
@ -34,10 +34,6 @@
|
||||
&._empty {
|
||||
text-align: center;
|
||||
color: var(--fg-900);
|
||||
|
||||
> * {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&__title:is(h1):not(:last-child) {
|
||||
@ -52,10 +48,6 @@
|
||||
font: var(--font-weight-post-meta) var(--fs-dxs)/1.7 var(--ff-note);
|
||||
margin: .75rem 0 1.5rem;
|
||||
|
||||
a {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
:is(i, .icon) {
|
||||
color: var(--fg-900);
|
||||
margin-right: .25rem;
|
||||
@ -73,7 +65,7 @@
|
||||
justify-content: space-between;
|
||||
margin-top: 2rem;
|
||||
|
||||
> div {
|
||||
&-box {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 3px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user