From 92c46fc2304bfce550579bd342e530a9dce53399 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 14 Sep 2024 17:15:54 +0000 Subject: [PATCH] icona gitea (#228) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit รจ una porcata provvisoria, nell'attesa che l'icona entri a far parte del set di fontawesome Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/228 Co-authored-by: paspo Co-committed-by: paspo --- assets/sass/custom.scss | 26 +++++++++++++++++++++++++- config.yml | 6 +++--- static/images/gitea_logo.svg | 1 + static/images/mattermost_logo.svg | 4 ++++ 4 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 static/images/gitea_logo.svg create mode 100644 static/images/mattermost_logo.svg diff --git a/assets/sass/custom.scss b/assets/sass/custom.scss index 4218f9b..bfe9385 100644 --- a/assets/sass/custom.scss +++ b/assets/sass/custom.scss @@ -176,4 +176,28 @@ div.highlight pre code > span::before { article header div.license { font-size: 1rem; -} \ No newline at end of file +} + +.icon.brands.fa-gitea { + height: 38px; + width: 64px; + position: relative; + top: 4px; + display: inline-block; + background-size: 64px 38px; + background-position: center; + background-repeat: no-repeat; + background-image: url("images/gitea_logo.svg"); +} + +.icon.brands.fa-mattermost { + height: 40px; + width: 40px; + position: relative; + top: 4px; + display: inline-block; + background-size: 40px 40px; + background-position: center; + background-repeat: no-repeat; + background-image: url("images/mattermost_logo.svg"); +} diff --git a/config.yml b/config.yml index 7e1b87d..2e1b11c 100644 --- a/config.yml +++ b/config.yml @@ -14,8 +14,8 @@ params: description: Bergamo Linux Users Group social: - title: Mattermost - icon: fa-comments - pack: solid + icon: fa-mattermost + pack: brands url: https://chat.libreschool.org - title: e-mail icon: fa-envelope @@ -38,7 +38,7 @@ params: pack: brands url: https://www.linkedin.com/groups/154561/ - title: Gitea - icon: fa-git-alt + icon: fa-gitea pack: brands url: https://git.libreschool.org/BgLUG - title: YouTube diff --git a/static/images/gitea_logo.svg b/static/images/gitea_logo.svg new file mode 100644 index 0000000..29b2f9c --- /dev/null +++ b/static/images/gitea_logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/mattermost_logo.svg b/static/images/mattermost_logo.svg new file mode 100644 index 0000000..9eb7ee0 --- /dev/null +++ b/static/images/mattermost_logo.svg @@ -0,0 +1,4 @@ + + mattermost + + \ No newline at end of file