💄 Añade icono para enlazar a SoloGit
This commit is contained in:
parent
1239e8f935
commit
ca2a0b3190
2 changed files with 18 additions and 15 deletions
|
@ -111,23 +111,25 @@ function avia_change_tag_page_layout( $layout, $context ) {
|
|||
}
|
||||
|
||||
/*
|
||||
* Register new icons as a theme icons fot GitHub, GitLab and Mastodon.
|
||||
* Register new icons as a theme icons.
|
||||
* See https://kriesi.at/documentation/enfold/custom-social-icons/
|
||||
*/
|
||||
add_filter( 'avf_default_icons', 'avia_add_custom_icon', 10, 1 );
|
||||
function avia_add_custom_icon( $icons ) {
|
||||
$icons['github'] = array( 'font' =>'fontello', 'icon' => 'uf09b' );
|
||||
$icons['gitlab'] = array( 'font' =>'fontello', 'icon' => 'uf296' );
|
||||
$icons['mastodon'] = array( 'font' =>'fontello', 'icon' => 'ue804' );
|
||||
$icons['bluesky'] = array( 'font' =>'fontello', 'icon' => 'ue805' );
|
||||
$icons['GitHub'] = array( 'font' =>'fontello', 'icon' => 'uf09b' );
|
||||
$icons['GitLab'] = array( 'font' =>'fontello', 'icon' => 'uf296' );
|
||||
$icons['SoloGit'] = array( 'font' =>'fontello', 'icon' => 'ue806' );
|
||||
$icons['Mastodon'] = array( 'font' =>'fontello', 'icon' => 'ue804' );
|
||||
$icons['Bluesky'] = array( 'font' =>'fontello', 'icon' => 'ue805' );
|
||||
return $icons;
|
||||
}
|
||||
add_filter( 'avf_social_icons_options', 'avia_add_custom_social_icon', 10, 1 );
|
||||
function avia_add_custom_social_icon( $icons ) {
|
||||
$icons['GitHub'] = 'github';
|
||||
$icons['GitLab'] = 'gitlab';
|
||||
$icons['Mastodon'] = 'mastodon';
|
||||
$icons['Bluesky'] = 'bluesky';
|
||||
$icons['GitHub'] = 'GitHub';
|
||||
$icons['GitLab'] = 'GitLab';
|
||||
$icons['SoloGit'] = 'SoloGit';
|
||||
$icons['Mastodon'] = 'Mastodon';
|
||||
$icons['Bluesky'] = 'Bluesky';
|
||||
return $icons;
|
||||
}
|
||||
|
||||
|
|
|
@ -1262,18 +1262,19 @@ body.home .quote-text p {
|
|||
.av-share-box ul li a {
|
||||
font-size: 18px;
|
||||
}
|
||||
#top #wrap_all .av-social-link-mastodon:hover a,
|
||||
#top #wrap_all .av-social-link-mastodon:hover a {
|
||||
#top #wrap_all .av-social-link-Mastodon:hover a,
|
||||
#top #wrap_all .av-social-link-Mastodon:hover a {
|
||||
color: #fff;
|
||||
background-color: #563acc;
|
||||
}
|
||||
#top #wrap_all .av-social-link-bluesky:hover a,
|
||||
#top #wrap_all .av-social-link-bluesky:hover a {
|
||||
#top #wrap_all .av-social-link-Bluesky:hover a,
|
||||
#top #wrap_all .av-social-link-Bluesky:hover a {
|
||||
color: #fff;
|
||||
background-color: #1185fe;
|
||||
}
|
||||
#top #wrap_all .av-social-link-github:hover a,
|
||||
#top #wrap_all .av-social-link-gitlab:hover a {
|
||||
#top #wrap_all .av-social-link-GitHub:hover a,
|
||||
#top #wrap_all .av-social-link-GitLab:hover a,
|
||||
#top #wrap_all .av-social-link-SoloGit:hover a {
|
||||
color: #fff;
|
||||
background-color: #bd2c00;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue