Increase sidebar author avatar size to enhance visibility and remove social networks section for a cleaner layout
This commit is contained in:
1 parent
f82ed4619f
commit
ebcf4bb3e0
2 files changed
+2
-12
No files matched your search
+2
-2
@@ -1002,8 +1002,8 @@ img.nav-svg-icon {
|
||||
}
|
||||
|
||||
.sidebar-author-avatar {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
|
||||
@@ -24,16 +24,6 @@
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php $networks = Theme::socialNetworks(); ?>
|
||||
<?php if (!empty($networks)) : ?>
|
||||
<div class="sidebar-author-social">
|
||||
<?php foreach ($networks as $key => $label) : ?>
|
||||
<a href="<?php echo $site->{$key}(); ?>" target="_blank" rel="noopener" title="<?php echo htmlspecialchars($label, ENT_QUOTES, 'UTF-8') ?>">
|
||||
<img class="sidebar-social-icon" src="<?php echo DOMAIN_THEME . 'img/' . $key . '.svg' ?>" alt="<?php echo htmlspecialchars($label, ENT_QUOTES, 'UTF-8') ?>" />
|
||||
</a>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user