Improve post CSS selectors

This commit is contained in:
Tetrakern 2023-08-30 13:51:49 +02:00
parent 09c47f273b
commit 80748251a9
6 changed files with 13 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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>

View File

@ -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>

View File

@ -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; ?>

View File

@ -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;