mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-12 16:29:44 +00:00
5b134ac767
* Fixes #357 by upgrading to fontawesome-free 6.3.0 * Replaced the existing font-awesome files with new ones * Updated references in _variables.scss ro reference theme location * Tweaked social.html to remove redundant css class * Updating netlify.toml to more modern values --------- Co-authored-by: Victoria Drake <24644237+victoriadrake@users.noreply.github.com>
30 lines
867 B
SCSS
Generated
30 lines
867 B
SCSS
Generated
/*!
|
|
* Font Awesome Free 6.3.0 by @fontawesome - https://fontawesome.com
|
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
* Copyright 2023 Fonticons, Inc.
|
|
*/
|
|
@import 'functions';
|
|
@import 'variables';
|
|
|
|
:root, :host {
|
|
--#{$fa-css-prefix}-style-family-brands: 'Font Awesome 6 Brands';
|
|
--#{$fa-css-prefix}-font-brands: normal 400 1em/1 'Font Awesome 6 Brands';
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Font Awesome 6 Brands';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: $fa-font-display;
|
|
src: url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
|
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype');
|
|
}
|
|
|
|
.fab,
|
|
.#{$fa-css-prefix}-brands {
|
|
font-weight: 400;
|
|
}
|
|
|
|
@each $name, $icon in $fa-brand-icons {
|
|
.#{$fa-css-prefix}-#{$name}:before { content: unquote("\"#{ $icon }\""); }
|
|
}
|