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 {
|
.sidebar-author-avatar {
|
||||||
width: 52px;
|
width: 80px;
|
||||||
height: 52px;
|
height: 80px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|||||||
@@ -24,16 +24,6 @@
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user