From ca2a0b3190465206c83c1305120f6943c81e9cc8 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Sat, 21 Jun 2025 18:11:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20A=C3=B1ade=20icono=20para=20enla?= =?UTF-8?q?zar=20a=20SoloGit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../themes/enfold-cille/functions.php | 20 ++++++++++--------- www/wp-content/themes/enfold-cille/style.css | 13 ++++++------ 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/www/wp-content/themes/enfold-cille/functions.php b/www/wp-content/themes/enfold-cille/functions.php index c6ed314..149c8f1 100644 --- a/www/wp-content/themes/enfold-cille/functions.php +++ b/www/wp-content/themes/enfold-cille/functions.php @@ -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; } diff --git a/www/wp-content/themes/enfold-cille/style.css b/www/wp-content/themes/enfold-cille/style.css index d451dc7..298506f 100644 --- a/www/wp-content/themes/enfold-cille/style.css +++ b/www/wp-content/themes/enfold-cille/style.css @@ -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; }