mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Update twentyfifteen & twentysixteen
Using the new social icon and call it using the default social() function.
This commit is contained in:
parent
81bf71c872
commit
2afc6a234c
6 changed files with 64 additions and 29 deletions
|
|
@ -892,6 +892,18 @@ a:focus {
|
|||
content: "\f220";
|
||||
}
|
||||
|
||||
.social-navigation a[href*="tiktok.com"]:before {
|
||||
content:"\f108";
|
||||
}
|
||||
|
||||
.social-navigation a[href*="linkedin.com"]:before {
|
||||
content:"\f207";
|
||||
}
|
||||
|
||||
.social-navigation a.social-logo-mastodon:before {
|
||||
content:"\f10a";
|
||||
}
|
||||
|
||||
.secondary-toggle {
|
||||
background-color: transparent;
|
||||
border: 1px solid #eaeaea;
|
||||
|
|
@ -6145,4 +6157,9 @@ ul.month {
|
|||
display:block;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.social-logo a {
|
||||
height:35px;
|
||||
width:35px;
|
||||
}
|
||||
|
|
@ -893,6 +893,18 @@ a:focus {
|
|||
content: "\f220";
|
||||
}
|
||||
|
||||
.social-navigation a[href*="tiktok.com"]:before {
|
||||
content:"\f108";
|
||||
}
|
||||
|
||||
.social-navigation a[href*="linkedin.com"]:before {
|
||||
content:"\f207";
|
||||
}
|
||||
|
||||
.social-navigation a.social-logo-mastodon:before {
|
||||
content:"\f10a";
|
||||
}
|
||||
|
||||
.secondary-toggle {
|
||||
background-color: transparent;
|
||||
border: 1px solid #eaeaea;
|
||||
|
|
@ -6152,4 +6164,9 @@ ul.month {
|
|||
display:block;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.social-logo a {
|
||||
height:35px;
|
||||
width:35px;
|
||||
}
|
||||
|
|
@ -42,34 +42,12 @@
|
|||
<aside class="widget widget_meta">
|
||||
<h2 class="widget-title"><?php echo i18n("About");?></h2>
|
||||
<p><?php echo blog_description() ?></p>
|
||||
</aside>
|
||||
<?php if(!empty(config('social.twitter')) || !empty(config('social.facebook'))):?>
|
||||
</aside>
|
||||
<nav id="social-navigation" class="social-navigation" role="navigation">
|
||||
<div class="menu-social-links-container">
|
||||
<ul id="menu-social-links" class="menu">
|
||||
<?php if(!empty(config('social.twitter'))):?>
|
||||
<li class="menu-item">
|
||||
<a href="<?php echo config('social.twitter');?>">
|
||||
<span class="screen-reader-text">Twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif;?>
|
||||
<?php if(!empty(config('social.facebook'))):?>
|
||||
<li class="menu-item">
|
||||
<a href="<?php echo config('social.facebook');?>">
|
||||
<span class="screen-reader-text">Facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif;?>
|
||||
<li class="menu-item">
|
||||
<a href="<?php echo site_url();?>feed/rss">
|
||||
<span class="screen-reader-text">RSS</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<?php echo social();?>
|
||||
</div>
|
||||
</nav>
|
||||
<?php endif;?>
|
||||
<aside class="widget search">
|
||||
<form><input type="search" name="search" class="form-control" placeholder="<?php echo i18n('Type_to_search');?>"></form>
|
||||
</aside>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue