This commit is contained in:
AlxMedia 2021-09-15 12:00:24 +02:00
parent eb990a0b67
commit 90d99c7f64
4 changed files with 17 additions and 13 deletions

View file

@ -19,7 +19,7 @@
<div class="blog-card-bottom-outer">
<div class="blog-card-bottom">
<div class="blog-card-author">
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'64'); ?></a>
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></a>
</div>
<a class="blog-card-more-link" href="<?php the_permalink(); ?>"><?php esc_html_e('Read more','cardstyle'); ?> <i class="fas fa-chevron-right"></i></a>
<ul class="blog-card-meta group">

View file

@ -87,5 +87,12 @@ Sidebar images
== Changelog ==
= 1.0.1 - 2021-09-15 =
* Fixed page title spacing
* Fixed footer ads box styling
* Fixed avatar size for high res devices
* Fixed more visible search button focus state
* Fixed minor css styling issues
= 1.0.0 - 2021-09-13 =
* Initial release

View file

@ -24,10 +24,6 @@
.main-inner { display: block; }
.entry-header .entry-title { font-size: 42px; }
.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4 { font-size: 20px; }
.page-title .notebox { font-size: 16px; }
}
@ -106,7 +102,7 @@
.commentlist li ul li { padding-left: 10px; }
/* page */
.page-title { font-size: 18px; margin-bottom: 0; }
.page-title { }
.notebox { font-size: 15px; }
/* blog */
@ -160,6 +156,7 @@
.gallery-caption { display: none; }
/* base */
.page-title { padding-top: 20px; padding-bottom: 20px; margin-bottom: 0; }
.page-title h1,
.page-title h2,
.page-title h3,

View file

@ -1,7 +1,7 @@
/*
Theme Name: Cardstyle
Theme URI: http://alx.media/themes/cardstyle/
Version: 1.0.0
Version: 1.0.1
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.8
@ -593,7 +593,7 @@ box-shadow: inset 0 1px 1px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03); }
/* common : page title
/* ------------------------------------ */
.page-title { padding: 20px; border-radius: 20px; margin-bottom: 20px; }
.page-title { padding: 10px 20px; border-radius: 20px; margin-bottom: 20px; }
.page-title-inner { }
.page-title i { margin-right: 12px; }
.page-title h1,
@ -665,7 +665,7 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
#header.hide-scroll { -webkit-transform: translateY(-100%); transform: translateY(-100%); }
}
.s2 { background: #fff; border-radius: 20px 0 0 0; position: absolute; top: 0; left: 0; bottom: 0; width: 80px; z-index: 99; }
.s2 { background: #fff; border-radius: 20px 0 0 20px; position: absolute; top: 0; left: 0; bottom: 0; width: 80px; z-index: 99; }
.s2 .social-links { float: left; margin-top: 20px; width: 100%; }
.s2 .social-links li { margin: 0 auto; padding: 4px 0; width: 100%; position: relative; }
.s2 .social-links li:before { content:""; height: 1px; background: rgba(0,0,0,0.08); position: absolute; left: 30px; right: 30px; top: 0; }
@ -698,7 +698,7 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
/* header : search
/* ------------------------------------ */
.toggle-search { background: #f1f1f1; outline: none; border: 0; width: 60px; color: #333; text-align: center; font-size: 20px; line-height: 24px; cursor: pointer; border-radius: 10px; padding: 16px 0; margin: 10px; display: block; }
.toggle-search:focus { box-shadow: inset 0 0 20px rgba(0,0,0,0.06); }
.toggle-search:focus { box-shadow: inset 0 0 20px rgba(0,0,0,0.08); }
.toggle-search:hover { color: #333; }
.toggle-search.active { background: #f1f1f1; color: #333; }
.toggle-search.active i:before { content: "\f00d"; }
@ -925,10 +925,10 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
/* ------------------------------------------------------------------------- *
* Section: Footer
/* ------------------------------------------------------------------------- */
#footer { background: #fff; color: #777; position: relative; padding-bottom: 70px; }
#footer { color: #777; position: relative; padding-bottom: 70px; }
#footer .pad { padding-bottom: 20px; }
#footer-ads { background: #fff; text-align: center; padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
#footer-ads { background: #f1f1f1; text-align: center; padding: 10px 0; border-radius: 20px; margin-top: 40px; }
#footer-ads .widget { padding-bottom: 0; font-size: 0; line-height: 0; }
#footer-ads h3 { display: none; }
@ -976,7 +976,7 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
.blog-card-author { position: absolute; left: 40px; top: -40px; height: 100px; }
.blog-card-author a { background: linear-gradient(90deg, #98ca2f 0%, #1a9b41 100%); display: block; border-radius: 100%; padding: 5px; position: relative; }
.blog-card-author a:after { background: #fff; content:""; display: block; width: 82px; height: 40px; position: absolute; bottom: 0; left: -1px; }
.blog-card-author img { display: block; border-radius: 100%; border: 3px solid #fff; position: relative; z-index: 2; }
.blog-card-author img { display: block; width: 64px; height: 64px; border-radius: 100%; border: 3px solid #fff; position: relative; z-index: 2; }
.blog-card-meta { padding: 40px 40px 0; font-size: 17px; color: rgba(0,0,0,0.5); }
.single .blog-card-meta { padding-bottom: 30px; }
.blog-card-meta li { float: left; border-right: 1px solid #eee; padding-right: 20px; margin-right: 20px; margin-bottom: 4px; }